9.14
Port H
9.14.1
Overview
Port H is an 8-bit I/O port. Port H pins also function as motor control PWM timer output pins
(PWM1A to PWM1H).
Figure 9-13 shows the port H pin configuration.
9.14.2
Register Configuration
Table 9-30 shows the port H register configuration.
Table 9-30 Port H Registers
Name
Port H data direction register
Port H data register
Port H register
Note: * Lower 16 bits of the address.
Port H pin
PH7 (I/O) / PWM1H (output)
PH6 (I/O) / PWM1G (output)
PH5 (I/O) / PWM1F (output)
PH4 (I/O) / PWM1E (output)
Port H
PH3 (I/O) / PWM1D (output)
PH2 (I/O) / PWM1C (output)
PH1 (I/O) / PWM1B (output)
PH0 (I/O) / PWM1A (output)
Figure 9-13 Port H Pin Functions
Abbreviation
PHDDR
PHDR
PORTH
R/W
Initial Value
W
H'00
R/W
H'00
R
Undefined
Address*
H'FC20
H'FC24
H'FC28
287