Ports E, F; Port E And Port F Data Direction Registers (Peddr, Pfddr) - Renesas H8S/2111B Hardware Manual

Bit single-chip microcomputer h8s family / h8s/2100 series
Table of Contents

Advertisement

7.13

Ports E, F

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: *
The program development tool (emulator) does not support this function.
7.13.1

Port E and Port F Data Direction Registers (PEDDR, PFDDR)

PEDDR and PFDDR select input or output for the pins of port E and port F on a bit-by-bit basis.
Bit
Bit Name
7
PE7DDR
6
PE6DDR
5
PE5DDR
4
PE4DDR
3
PE3DDR
2
PE2DDR
1
PE1DDR
0
PE0DDR
Bit
Bit Name
7
PF7DDR
6
PF6DDR
5
PF5DDR
4
PF4DDR
3
PF3DDR
2
PF2DDR
1
PF1DDR
0
PF0DDR
Rev. 1.00, 05/04, page 136 of 544
Initial
Value
R/W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
Initial
Value
R/W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
0
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.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hd64f2111b

Table of Contents