beautypg.com

5 special function registers (sfr) – NEC PD78214 User Manual

Page 79

background image

50

µ

PD78214 Sub-Series

3.2.5 Special Function Registers (SFR)

A mode register, control register, and other registers with special functions, which are built-in hardware
peripherals, are mapped into the 256-byte space from 0FF00H to 0FFFFH.

Caution Never access an address to which no SFR is mapped in this area. If this is attempted, the

µPD78214 may enter a deadlock. To clear

the deadlock, a reset signal must be input to the device.

Table 3-4 lists the special function registers (SFR). The following column headings are used:

• Symbol : Symbol indicating the built-in SFR. This is a reserved word for NEC’s assembler (RA78K/II). For the

C compiler (CC78K/II), the #pragma sfr instruction allows this symbol to be used as an sfr variable.

• R/W

: Whether the contents of the SFR can be read or written

R/W : Read/write

R

: Read-only

W

: Write-only

• Bit unit : Number of bits that can be manipulated when the SFR is operated. The SFR that can be manipulated

in units of 16 bits can be coded in the sfrp operand or specified by an even address. The SFR that can
be manipulated in one-bit units can be coded in the bit manipulation instruction.

• At reset : Status of the register when RESET is input

This manual is related to the following products: