English
Language : 

HD64F2149 Datasheet, PDF (700/1035 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
22.4.4 Pin Configuration
The flash memory is controlled by means of the pins shown in table 22.4.
Table 22.4 Flash Memory Pins
Pin Name
Reset
Mode 1
Mode 0
Port 92
Port 91
Port 90
Transmit data
Receive data
Abbreviation
RES
MD1
MD0
P92
P91
P90
TxD1
RxD1
I/O
Input
Input
Input
Input
Input
Input
Output
Input
Function
Reset
Sets MCU operating mode
Sets MCU operating mode
Sets MCU operating mode when
MD1 = MD0 = 0
Sets MCU operating mode when
MD1 = MD0 = 0
Sets MCU operating mode when
MD1 = MD0 = 0
Serial transmit data output
Serial receive data input
22.4.5 Register Configuration
The registers used to control the on-chip flash memory when enabled are shown in table 22.5.
In order for these registers to be accessed, the FLSHE bit must be set to 1 in STCR.
Table 22.5 Flash Memory Registers
Register Name
Abbreviation R/W
Initial Value Address*1
Flash memory control register 1
FLMCR1*5 R/W*3 H'80
H'FF80*2
Flash memory control register 2
FLMCR2*5 R/W*3 H'00*4
H'FF81*2
Erase block register 1
EBR1*5
—*3
H'00*4
H'FF82*2
Erase block register 2
EBR2*5
R/W*3 H'00*4
H'FF83*2
Serial/timer control register
STCR
R/W
H'00
H'FFC3
Notes: 1. Lower 16 bits of the address.
2. Flash memory registers share addresses with other registers. Register selection is
performed by the FLSHE bit in the serial/timer control register (STCR).
3. In modes in which the on-chip flash memory is disabled, a read will return H'00, and
writes are invalid.
4. When the SWE bit in FLMCR1 is not set, these registers are initialized to H'00.
5. FLMCR1, FLMCR2, EBR1, and EBR2 are 8-bit registers. Only byte accesses are valid
for these registers, the access requiring 2 states.
666