h8s-2111b Renesas Electronics Corporation., h8s-2111b Datasheet - Page 170

no-image

h8s-2111b

Manufacturer Part Number
h8s-2111b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family / H8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
7.13
Ports E and F are two sets of 8-bit I/O ports. Port F also functions as I/O pins for TMR_X*,
TMR_Y*, TMR_A, and TMR_B. Ports E and F have the following registers.
• Port E data direction register (PEDDR)
• Port E output data register (PEODR)
• Port E input data register (PEPIN)
• Port E Nch-OD control register (PENOCR)
• Port F data direction register (PFDDR)
• Port F output data register (PFODR)
• Port F input data register (PFPIN)
• Port F Nch-OD control register (PFNOCR)
Note: *
7.13.1
PEDDR and PFDDR select input or output for the pins of port E and port F on a bit-by-bit basis.
Rev. 1.00, 05/04, page 136 of 544
Bit
7
6
5
4
3
2
1
0
Bit
7
6
5
4
3
2
1
0
Bit Name
Bit Name
PE7DDR
PE6DDR
PE5DDR
PE4DDR
PE3DDR
PE2DDR
PE1DDR
PE0DDR
PF7DDR
PF6DDR
PF5DDR
PF4DDR
PF3DDR
PF2DDR
PF1DDR
PF0DDR
Ports E, F
Port E and Port F Data Direction Registers (PEDDR, PFDDR)
The program development tool (emulator) does not support this function.
Initial
Value
0
0
0
0
0
0
0
0
Initial
Value
0
0
0
0
0
0
0
0
R/W
W
W
W
W
W
W
W
W
R/W
W
W
W
W
W
W
W
W
Description
0: Port E pin is an input pin
1: Port E pin is an output pin
PEDDR has the same address as PEPIN, and if read,
the port E pin states will be returned.
Description
0: Port F pin is an input pin
1: Port F pin is an output pin
PFDDR has the same address as PFPIN, and if read,
the port F pin states will be returned.

Related parts for h8s-2111b