P73 and P70 can be used for timer reset input (TMRI) and timer clock input (TMCI) for the 8-bit
timer, as well as for general-purpose input and output.
Table 9-13 shows how the functions of the pins of port 7 are selected.
Table 9-13 Port 7 Pin Functions
Pin Selection of Pin Functions
P7
7 / The function depends on the output enable A bit (OEA) of the FRT1 timer control
FTOA
1 register (TCR) and on the P77DDR bit as follows:
OEA 0 1
P7
7DDR0101
Pin function P7
7 input P77 output FTOA1 output
P7
6 / The function depends on the output compare B bit (OEB) of the FRT3 timer control
FTOB
3 / register (TCR) and on the P76DDR bit as follows:
FTCI
3
OEB 0 1
P7
6DDR0101
Pin function P7
6 input P76 output FTOB3 output
FTCI
3 input
P7
5 / The function depends on the output compare B bit (OEB) of the FRT2 timer control
FTOB
2 / register (TCR) and on the P75DDR bit as follows:
FTCI
2
OEB 0 1
P7
5DDR0101
Pin function P7
5 input P75 output FTOB2 output
FTCI
2 input
P7
4 / The function depends on the output compare B bit (OEB) of the FRT1 timer control
FTOB
1 / register (TCR) and on the P74DDR bit as follows:
FTCI
1
OEB 0 1
P7
4DDR0101
Pin function P7
4 input P74 output FTOB1 output
FTCI
1 input
170
Downloaded from Elcodis.com electronic components distributor