參數(shù)資料
型號(hào): UPD17246MC-xxx-5A4
廠商: NEC Corp.
英文描述: 4-BIT SINGLE-CHIP MICROCONTROLLERS FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTERS
中文描述: 4位單片微控制器的小型通用兩用紅外遙控遞質(zhì)
文件頁(yè)數(shù): 32/102頁(yè)
文件大?。?/td> 461K
代理商: UPD17246MC-XXX-5A4
32
Data Sheet U15002EJ1V0DS
μ
PD17240, 17241, 17242, 17243, 17244, 17245, 17246
2.5.2
Control registers
The control registers consist of a total of 64 nibbles (64
×
4 bits) of addresses 00H to 3FH of the register file.
Of these, however, only 24 nibbles are actually used. The remaining 40 nibbles are unused registers that are
prohibited from being read or written.
When the
PEEK WR, rf
instruction is executed, the contents of the register file addressed by
rf
are read to the
window register.
When the
POKE rf, WR
instruction is executed, the contents of the window register are written to the register
file addressed by
rf
.
When using the assembler (RA17K), the macro instructions listed below, which are embedded as flag type symbol
manipulation instructions, can be used. The macro instructions allow the contents of the register file to be manipulated
in bit units.
For the configuration of the control register, refer to
Figure 12-1 Register File List
.
SETn:
CLRn:
SKTn:
SKFn:
NOTn:
INITFLG:
INITFLGX: Initializes flag
Sets flag to
1
Sets flag to
0
Skips if all flags are
1
Skips if all flags are
0
Inverts flag
Initializes flag
2.5.3
Notes on using register files
When using the register files, bear in mind the points described below. For details, refer to the
μ
PD172xx
Subseries User’s Manual (U12795E)
.
(1) When manipulating control registers (read-only and unused registers)
When manipulating the write-only (W), the read-only (R), and unused control registers by using an assembler
or in-circuit emulator, keep in mind the following points.
When device operates
Nothing changes even if data is written to a read-only register.
If an unused register is read, an undefined value is read; nothing is changed even if data is written to this
register.
Using assembler
An error occurs if an instruction is executed to read data from a write-only register.
An error occurs if an instruction is executed to write data to a read-only register.
An error also occurs if an instruction is executed to read or write an unused address.
When an in-circuit emulator (IE-17K or IE-17K-ET) is used (when an instruction is executed for patch
processing)
An undefined value is read if a write-only register is read, and an error does not occur.
Nothing changes even if data is written to a read-only register, and an error does not occur.
An undefined value is read if an unused address is read; nothing changes even if data is written to this
address. An error does not occur.
相關(guān)PDF資料
PDF描述
UPD1724x 4-BIT SINGLE-CHIP MICROCONTROLLERS FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTERS
UPD17709GC 4-BIT SINGLE-CHIP MICROCONTROLLERS WITH DEDICATED HARDWARE FOR DIGITAL TUNING SYSTEM
UPD17707GC 4-BIT SINGLE-CHIP MICROCONTROLLERS WITH DEDICATED HARDWARE FOR DIGITAL TUNING SYSTEM
UPD17704 4-BIT SINGLE-CHIP MICROCONTROLLERS WITH DEDICATED HARDWARE FOR DIGITAL TUNING SYSTEM
UPD17704GC 4-BIT SINGLE-CHIP MICROCONTROLLERS WITH DEDICATED HARDWARE FOR DIGITAL TUNING SYSTEM
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
UPD1724X 制造商:NEC 制造商全稱:NEC 功能描述:4-BIT SINGLE-CHIP MICROCONTROLLERS FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTERS
UPD17704 制造商:NEC 制造商全稱:NEC 功能描述:4-BIT SINGLE-CHIP MICROCONTROLLERS WITH DEDICATED HARDWARE FOR DIGITAL TUNING SYSTEM
UPD17704A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:UPD17704A.17705A.17707A.17708A.17709A Data Sheet | Data Sheet[10/2001]
UPD17704GC 制造商:NEC 制造商全稱:NEC 功能描述:4-BIT SINGLE-CHIP MICROCONTROLLERS WITH DEDICATED HARDWARE FOR DIGITAL TUNING SYSTEM
UPD17704GC-XXX-3B9 制造商:未知廠家 制造商全稱:未知廠家 功能描述:4-Bit Microcontroller