Rev. 1.0, 09/02, page 147 of 568
•
Port C data register (PCDR)
•
Port C register (PORTC)
•
Port C pull-up MOS control register (PCPCR)
•
Port C open-drain control register (PCODR)
9.8.1
Port C Data Direction Register (PCDDR)
PCDDR is an 8-bit write-only register, the individual bits of which specify whether the pins of
port C are used for input or output.
Bit
Bit Name
Initial Value
R/W
Description
7 PC7DDR 0
W
6 PC6DDR 0
W
5 PC5DDR 0
W
4 PC4DDR 0
W
3 PC3DDR 0
W
2 PC2DDR 0
W
1 PC1DDR 0
W
0 PC0DDR 0
W
When a pin is specified as a general purpose I/O
port, setting this bit to 1 makes the corresponding
port 1 pin an output pin. Clearing this bit to 0 makes
the pin an input pin.
9.8.2
Port C Data Register (PCDR)
PCDR is an 8-bit readable/writable register that stores output data for the port C pins.
Bit
Bit Name
Initial Value
R/W
Description
7 PC7DR 0
R/W
6 PC6DR 0
R/W
5 PC5DR 0
R/W
4 PC4DR 0
R/W
3 PC3DR 0
R/W
2 PC2DR 0
R/W
1 PC1DR 0
R/W
0 PC0DR 0
R/W
Output data for a pin is stored when the pin is
specified as a general purpose I/O port.
Содержание 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 ...