|
HD404449 Datasheet, PDF (45/123 Pages) Hitachi Semiconductor – HD404449 SERIES | |||
|
◁ |
HD404449 Series
I/O Pin Type
Circuit
Pins
Input pins
VCC
Input data
HLT
MIS3
PDR
SI1, SI2,, INT1, etc
SI1, SI2, INT1,
INT2, INT3,
EVNB, EVND
Input data
INT0 , STOPC
INT0, STOPC
Notes: 1. The MCU is reset in stop mode, and peripheral function selection is cancelled. The HLT signal
becomes low, and input/output pins enter high-impedance state.
2. The HLT signal is 1 in watch and subactive modes.
D Port (D0âD13): Consist of 12 input/output pins and 2 input pins addressed by one bit. D0âD11 are high-
current I/O pins, and D12 and D13 are input-only pins.
Pins D0âD11 are set by the SED and SEDD instructions, and reset by the RED and REDD instructions.
Output data is stored in the port data register (PDR) for each pin. All pins D0âD13 are tested by the TD and
TDD instructions.
The on/off statuses of the output buffers are controlled by D-port data control registers (DCD0âDCD2:
$02Câ$02E) that are mapped to memory addresses (figure 29).
Pins D12 and D13 are multiplexed with peripheral function pins STOPC and INT0, respectively. The
peripheral function modes of these pins are selected by bits 2 and 3 (PMRC2, PMRC3) of port mode
register C (PMRC: $025) (figure 30).
R Ports (R0 0âRC3): 52 input/output pins addressed in 4-bit units. Data is input to these ports by the LAR
and LBR instructions, and output from them by the LRA and LRB instructions. Output data is stored in the
port data register (PDR) for each pin. The on/off statuses of the output buffers of the R ports are controlled
by R-port data control registers (DCR0âDCRC: $030â$03C) that are mapped to memory addresses (figure
29).
Pins R00âR02 are multiplexed with peripheral pins INT1âINT3, respectively. The peripheral function modes
of these pins are selected by bits 0â2 (PMRB0âPMRB2) of port mode register B (PMRB: $024) (figure
31).
Pins R30âR32 are multiplexed with peripheral pins TOB, TOC, and TOD, respectively. The peripheral
function modes of these pins are selected by bits 0 and 1 (TMB20, TMB21) of timer mode register B2
(TMB2: $013), bits 0â2 (TMC20âTMC22) of timer mode register C2 (TMC2: $014), and bits 0â3
(TMD20âTMD23) of timer mode register D2 (TMD2: $015) (figures 32, 33, and 34).
Pins R33 and R40 are multiplexed with peripheral pins EVNB and EVND, respectively. The peripheral
function modes of these pins are selected by bits 0 and 1 (PMRC0, PMRC1) of port mode register C
(PMRC: $025) (figure 30).
Pins R41âR43 are multiplexed with peripheral pins SCK1, SI1, and SO1, respectively. The peripheral
function modes of these pins are selected by bit 3 (SM1A3) of serial mode register 1A (SM1A: $005), and
bits 0 and 1 (PMRA0, PMRA1) of port mode register A (PMRA: $004), as shown in figures 35 and 36.
45
|
▷ |