參數資料
型號: UPD17225MC
廠商: NEC Corp.
元件分類: 4位微控制器
英文描述: 4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER
中文描述: 4位單片機的小型通用紅外遙控器
文件頁數: 23/84頁
文件大小: 393K
代理商: UPD17225MC
μ
PD17225, 17226, 17227, 17228
23
Data Sheet U12643EJ2V0DS00
2.5.2
Control registers
The control registers consists of a total of 64 nibbles (64 x 4 bits) of the addresses 00H-3FH of the register file.
Of these, however, only 14 nibbles are actually used. The remaining 50 nibbles are unused registers that are inhibited
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 11-1 Register File List
.
SETn
CLRn
SKTn
SKFn
NOTn
INITFLG
INITFLGX : Initalizes flag
: Sets flag to “1”
: Sets flag to “0”
: Skips if all flags are “1”
: Skips if all flags are “0”
: Complements 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
μ
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 the assembler
or in-circuit emulator, keep in mind the following points:
When device operates
Nothing changes even if data is written to the read-only register.
If the 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 instruction is excecuted to read data to the write-only register.
An error occurs if an instruction is executed to write data to the read-only register.
An error also occurs if an instruction is executed to read or write the unused address.
When an in-circuit emulator (IE-17K or IE-17K-ET) is used
(when instruction is executed for patch
processing)
An undefined value is read if the write-only register is read, and an error does not occur.
Nothing changes even if data is written to the read-only register, and an error does not occur.
An undefined value is read if the unused address is read; nothing changes even if data is written to this
address. An error does not occur.
相關PDF資料
PDF描述
UPD17226 4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER
UPD17226CT 4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER
UPD17226GT 4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER
UPD17226MC 4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER
UPD17227 4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER
相關代理商/技術參數
參數描述
UPD17225MC-XXX-5A4 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
UPD17226 制造商:NEC 制造商全稱:NEC 功能描述:4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER
UPD17226CT 制造商:NEC 制造商全稱:NEC 功能描述:4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER
UPD17226CT-XXX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:4-Bit Microcontroller
UPD17226GT 制造商:NEC 制造商全稱:NEC 功能描述:4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER