Figure 3.5.21 register for port c – Toshiba H1 SERIES TLCS-900 User Manual
Page 71
TMP92CM22
2007-02-16
92CM22-69
Port C Register
7 6 5 4 3 2 1 0
Bit symbol
PC6
PC5
PC3
PC1
PC0
Read/Write
R/W
R/W
R/W
After reset
Data from external
port (Note)
Data from
external
port (Note)
Data from external
port (Note)
Note: Output latch register is set to 1.
Port C Control Register
7 6 5 4 3 2 1 0
Bit
symbol PC6C
PC5C PC3C PC1C
PC0C
Read/Write
W
W
W
After
reset
0 0 0 0 0
Function
0: Input 1: Output
0: Input
1: Output
0: Input 1: Output
Port C Function Register
7 6 5 4 3 2 1 0
Bit
symbol PC6F
PC5F PC3F PC1F
PC0F
Read/Write
W
W
W
After
reset
0 0 1 0 0
Function
0: Port
1: INT3
TB0OUT0
0: Port
1: INT2
TA3OUT
0: Port
1: INT0
0
: Port
1: INT1
TA1OUT
0: Port
1: TA0IN
INT1, TA1OUT setting
0 1
0
Input port
Output port
1 INT1 TA1OUT
INT2, TA3OUT Setting
0 1
0
Input port
Output port
1 INT2 TA3OUT
INT3, TB0OUT0 setting
0 1
0
Input port
Output port
1 INT3
TB0OUT0
Note 1: Read-modify-write instruction is prohibited for the registers PCCR and PCFC.
Note 2: PC0/TA0IN pins do not have a register changing PORT/FUNCTION. For example, when it is used as an input
port, the input signal is inputted to 8-bit timer as the input 0.
Note 3: Can not read the output latch data when PC0, PC1, PC5, and PC6 are output mode.
Figure 3.5.21 Register for Port C
PCFC
(0033H)
PC
(0030H)
PCCR
(0032H)
PCCR
(0032H)
PCFC
(0033H)