Rev. 1.0, 09/02, page 148 of 568
9.8.3
Port C Register (PORTC)
PORTC is an 8-bit read-only register that shows port C pin states.
Bit
Bit Name
Initial Value
R/W
Description
7 PC7
0
R
6 PC6
0
R
5 PC5
0
R
4 PC4
0
R
3 PC3
0
R
2 PC2
0
R
1 PC1
0
R
0 PC0
0
R
If a port C read is performed while PCDDR bits are
set to 1, the PCDR values are read. If a port C read
is performed while PCDDR bits are cleared to 0, the
pin states are read.
Note:
*
Determined by the states of pins PC7 to PC0.
9.8.4
Port C Pull-Up MOS Control Register (PCPCR)
PCPCR is an 8-bit readable/writable register that controls the on/off state of input pull-up MOS of
port C.
Bit
Bit Name
Initial Value
R/W
Description
7 PC7PCR 0
R/W
6 PC6PCR 0
R/W
5 PC5PCR 0
R/W
4 PC4PCR 0
R/W
3 PC3PCR 0
R/W
2 PC2PCR 0
R/W
1 PC1PCR 0
R/W
0 PC0PCR 0
R/W
When a pin is specified as an input port, setting the
corresponding bit to 1 turns on the input pull-up MOS
for that pin.
9.8.5
Port C Open-Drain Control Register (PCODR)
PCODR is an 8-bit readable/writable register that specifies an output type of port C.
Содержание H8S/2627
Страница 22: ...Rev 1 0 09 02 page xx of xxxvi Index 565 ...
Страница 30: ...Rev 1 0 09 02 page xxviii of xxxiv ...
Страница 36: ...Rev 1 0 09 02 page xxxiv of xxxiv Table 23 9 Flash Memory Characteristics 561 ...
Страница 82: ...Rev 1 0 09 02 page 46 of 568 ...
Страница 88: ...Rev 1 0 09 02 page 52 of 568 ...
Страница 98: ...Rev 1 0 09 02 page 62 of 568 ...
Страница 156: ...Rev 1 0 09 02 page 120 of 568 ...
Страница 390: ...Rev 1 0 09 02 page 354 of 568 ...
Страница 480: ...Rev 1 0 09 02 page 444 of 568 ...
Страница 512: ...Rev 1 0 09 02 page 476 of 568 ...
Страница 527: ...Rev 1 0 09 02 page 491 of 568 21 8 5 Writing to MSTPCR MSTPCR should only be written to by the CPU ...
Страница 528: ...Rev 1 0 09 02 page 492 of 568 ...
Страница 580: ...Rev 1 0 09 02 page 544 of 568 ...