h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 288

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 9 I/O Ports
9.6.5
The relationship between the operating modes, register setting values, and pin functions are as
follows. In the tables, the symbol “—” stands for Don't care.
In extended mode, port 6 pins also function as the bidirectional data bus, CompactFlash
bidirectional data bus, FRT input/output pin, enhanced A/D conversion input pin, keyboard input
pin, timer connection input/output pins, or I/O port. The extended data bus width can be specified
by bits ABW and ABW256 in WSCR of BSC and bit ABWCP in BCR2. When the 16-bit bus
interface is specified, port 6 pins function as the bidirectional data bus (D7 to D0/CPD7 to CPD0).
When the 8-bit bus interface is specified, port 6 pins function as the FRT input/output pin,
enhanced A/D conversion input pin, keyboard input pin, timer connection input/output pins, or I/O
port.
In single-chip mode, port 6 pins function as the FRT input/output pin, enhanced A/D conversion
input pin, keyboard input pin, timer connection input/output pins, or external USB driver/receiver
input/output pin, or I/O port
Extended Mode with 16-Bit Data Bus Specified: Port 6 pins function as the lower 8 bits of the
data bus.
Note: When the 16-bit data bus interface is specified in extended mode, USB should not be
Extended Mode with 8-Bit Data Bus Specified:
Rev. 3.00 Jan 25, 2006 page 236 of 872
REJ09B0286-0300
P67DDR
Pin function
P67/CIN7/KIN7
The function of port 6 pins is switched as shown below according to the P67DDR bit.
When the KBADE bit in KBCOMP of the A/D converter is set to 1 while the KBCH2 to
KBCH0 bits are set to B'111, this pin can be used as the CIN7 input pin. When the KMIM7 bit
in KMIMR6 of the interrupt controller is cleared to 0, this pin can be used as the KIN7 input
pin. To use this pin as the KIN7 input pin, clear the P67DDR bit to 0.
enabled. If USB is enabled, port 6 cannot operate as a data bus.
Pin Functions
P67 input pin
0
CIN7 input pin/KIN7 input pin
P67 output pin
1

Related parts for h8s-2158