Rev. 1.0, 09/02, page 152 of 568
9.9 Port
D
Port D is an 8-bit I/O port that also functions as the realtime input port pins.
The realtime input port stores the pin states of port D in PDRTIDR using the
IRQ3
pin as the
trigger input. The falling, rising, or both edges of the
IRQ3
pin can be used as a trigger timing.
Port D has the following registers.
•
Port D data direction register (PDDDR)
•
Port D data register (PDDR)
•
Port D register (PORTD)
•
Port D pull-up MOS control register (PDPCR)
•
Port D realtime input data register (PDRTIDR)
9.9.1
Port D Data Direction Register (PDDDR)
PDDDR is an 8-bit write-only register, the individual bits of which specify whether the pins of
port D are used for input or output.
Bit
Bit Name
Initial Value
R/W
Description
7 PD7DDR 0
W
6 PD6DDR 0
W
5 PD5DDR 0
W
4 PD4DDR 0
W
3 PD3DDR 0
W
2 PD2DDR 0
W
1 PD1DDR 0
W
0 PD0DDR 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.
Summary of Contents for H8S/2627
Page 22: ...Rev 1 0 09 02 page xx of xxxvi Index 565 ...
Page 30: ...Rev 1 0 09 02 page xxviii of xxxiv ...
Page 36: ...Rev 1 0 09 02 page xxxiv of xxxiv Table 23 9 Flash Memory Characteristics 561 ...
Page 82: ...Rev 1 0 09 02 page 46 of 568 ...
Page 88: ...Rev 1 0 09 02 page 52 of 568 ...
Page 98: ...Rev 1 0 09 02 page 62 of 568 ...
Page 156: ...Rev 1 0 09 02 page 120 of 568 ...
Page 390: ...Rev 1 0 09 02 page 354 of 568 ...
Page 480: ...Rev 1 0 09 02 page 444 of 568 ...
Page 512: ...Rev 1 0 09 02 page 476 of 568 ...
Page 528: ...Rev 1 0 09 02 page 492 of 568 ...
Page 580: ...Rev 1 0 09 02 page 544 of 568 ...