upd17240 Renesas Electronics Corporation., upd17240 Datasheet - Page 31
upd17240
Manufacturer Part Number
upd17240
Description
4-bit Single-chip Microcontrollers For Small General-purpose Infrared Remote Control Transmitters
Manufacturer
Renesas Electronics Corporation.
Datasheet
1.UPD17240.pdf
(102 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
upd17240MC
Manufacturer:
ICS
Quantity:
90
Company:
Part Number:
upd17240MC-124-5A4
Manufacturer:
NEC
Quantity:
2 500
Company:
Part Number:
upd17240MC-143-5A4-E1-A
Manufacturer:
NEC
Quantity:
1 991
Company:
Part Number:
upd17240MC-153-5A4
Manufacturer:
NEC
Quantity:
27 210
Company:
Part Number:
upd17240MC-166-5A4-E1
Manufacturer:
NEC
Quantity:
7 500
2.5
instructions of RA17K, SETn, CLRn, and INITFLG.
2.5.1
instructions.
are assigned to addresses 00H to 3FH regardless of the bank, the addresses 00H to 3FH of the general-purpose data
memory cannot be accessed when the PEEK or POKE instruction is used.
registers and 40H to 7FH of the general-purpose data memory. The register file consists of these addresses.
The register file mainly consists of registers that set the conditions of the peripheral hardware.
These registers can be controlled by the dedicated instructions PEEK and POKE, and the embedded macro
Figure 2-10 shows the configuration of the register file and how the register file is accessed by the PEEK and POKE
The control registers are controlled by using dedicated instructions PEEK and POKE. Since the control registers
The addresses that can be accessed by the PEEK and POKE instructions are addresses 00H to 3FH of the control
The control registers are assigned to addresses 80H to BFH on the IE-17K to facilitate debugging.
Figure 2-10. Register File Configuration and Register File Access with PEEK or POKE Instructions
Register File (RF)
Configuration of register file
0
1
2
3
4
5
6
7
0
1
2
3
0
µ PD17240, 17241, 17242, 17243, 17244, 17245, 17246
1
2
3
PEEK WR, SP
4
Data Sheet U15002EJ1V1DS
POKE M063, WR
5
POKE LCDMD, WR
Column address
6
Data memory
Register file
7
8
9
A
System register
Control register
B
C
D
E
F
31