h8s-2169 Renesas Electronics Corporation., h8s-2169 Datasheet - Page 236

no-image

h8s-2169

Manufacturer Part Number
h8s-2169
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 8 I/O Ports
Modes 2 and 3 (EXPE = 0): In modes 2 and 3 (when EXPE = 0), port 1 pins function as PWM
outputs or I/O ports, and input or output can be specified on a bit-by-bit basis. When a bit in
P1DDR is set to 1, the corresponding pin functions as a PWM output or output port, and when
cleared to 0, as an input port.
The port 1 pin functions are shown in figure 8.4.
8.2.4
Port 1 has a built-in MOS input pull-up function that can be controlled by software. This MOS
input pull-up function can be used in modes 2 and 3, and can be specified as on or off on a bit-by-
bit basis.
When a P1DDR bit is cleared to 0 in mode 2 or 3, setting the corresponding P1PCR bit to 1 turns
on the MOS input pull-up for that pin.
The MOS input pull-up function is in the off state after a reset and in hardware standby mode. The
prior state is retained in software standby mode.
Table 8.3 summarizes the MOS input pull-up states.
Rev. 3.00 Jan 18, 2006 page 208 of 1044
REJ09B0280-0300
MOS Input Pull-Up Function
Port 1
Figure 8.4 Port 1 Pin Functions (Modes 2 and 3 (EXPE = 0))
P1n: Input pin when P1DDR = 0,
output pin when P1DDR = 1
and PWOERA = 0
P17 (I/O)
P16 (I/O)
P15 (I/O)
P14 (I/O)
P13 (I/O)
P12 (I/O)
P11 (I/O)
P10 (I/O)
When P1DDR = 1
and PWOERA = 1
PW7 (Output)
PW6 (Output)
PW5 (Output)
PW4 (Output)
PW3 (Output)
PW2 (Output)
PW1 (Output)
PW0 (Output)

Related parts for h8s-2169