IBM EM78P447N manual Summary of the Initialized Values for Registers, Address Name Reset Type Bit

Page 23

EM78P447N

8-Bit Microcontroller with OTP ROM

NOTE

After waking up from the SLEEP2 mode, WDT is automatically enabled. The WDT enabled/disabled operation after waking up from SLEEP2 mode should be appropriately defined in the software.

To avoid reset from occurring when the port6 status changed interrupt enters into interrupt vector or is used to wake-up the MCU, the WDT prescaler must be set above 1:1 ratio.

Table 7 The Summary of the Initialized Values for Registers

 

Address

 

Name

 

Reset Type

 

Bit 7

 

Bit 6

 

Bit 5

 

Bit 4

 

Bit 3

 

Bit 2

 

Bit 1

 

Bit 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit Name

 

C57

 

C56

 

C55

 

C54

 

C53

 

C52

 

C51

 

C50

 

 

N/A

 

IOC5

 

Type

 

A

 

B

 

A

 

B

 

A

 

B

 

A

 

B

-

 

-

-

 

-

 

 

 

 

 

Power-On

 

0

 

1

 

0

 

1

0

 

1

0

 

1

1

 

1

1

 

1

 

 

 

 

 

 

 

/RESET and WDT

 

0

 

1

 

0

 

1

0

 

1

0

 

1

1

 

1

1

 

1

 

 

 

 

 

 

 

Wake-Up from Pin

 

0

P

 

0

P

0

P

0

P

 

P

 

P

 

P

 

P

 

 

 

 

 

 

Change

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

N/A

 

IOC6

 

Bit Name

 

C67

 

C66

 

C65

 

C64

 

C63

 

C62

 

C61

 

C60

 

 

 

 

Power-On

 

 

1

 

 

1

 

 

1

 

 

1

 

1

 

1

 

1

 

1

 

 

 

 

 

 

 

/RESET and WDT

 

 

1

 

 

1

 

 

1

 

 

1

 

1

 

1

 

1

 

1

 

 

 

 

 

 

 

Wake-Up from Pin

 

 

P

 

 

P

 

 

P

 

 

P

 

P

 

P

 

P

 

P

 

 

 

 

 

 

Change

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

N/A

 

IOC7

 

Bit Name

 

C77

 

C76

 

C75

 

C74

 

C73

 

C72

 

C71

 

C70

 

 

 

 

Power-On

 

 

1

 

 

1

 

 

1

 

 

1

 

1

 

1

 

1

 

1

 

 

 

 

 

 

 

/RESET and WDT

 

 

1

 

 

1

 

 

1

 

 

1

 

1

 

1

 

1

 

1

 

 

 

 

 

 

 

Wake-Up from Pin

 

 

P

 

 

P

 

 

P

 

 

P

 

P

 

P

 

P

 

P

 

 

 

 

 

 

Change

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

N/A

 

CONT

 

Bit Name

 

/PHEN

 

/INT

 

 

TS

 

 

TE

 

PAB

 

PSR2

 

PSR1

 

PSR0

 

 

 

 

Power-On

 

 

1

 

 

0

 

 

1

 

 

1

 

1

 

1

 

1

 

1

 

 

 

 

 

 

 

/RESET and WDT

 

 

1

 

 

P

 

 

1

 

 

1

 

1

 

1

 

1

 

1

 

 

 

 

 

 

 

Wake-Up from Pin

 

 

P

 

 

P

 

 

P

 

 

P

 

P

 

P

 

P

 

P

 

 

 

 

 

 

Change

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x00

 

R0(IAR)

 

Bit Name

 

 

-

 

 

-

 

 

-

 

 

-

-

 

-

-

 

-

 

 

 

 

 

Power-On

 

 

U

 

 

U

 

 

U

 

 

U

 

U

 

U

 

U

 

U

 

 

 

 

 

 

/RESET and WDT

 

 

P

 

 

P

 

 

P

 

 

P

 

P

 

P

 

P

 

P

 

 

 

 

 

 

Wake-Up from Pin

 

 

P

 

 

P

 

 

P

 

 

P

 

P

 

P

 

P

 

P

 

 

 

 

 

 

Change

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x01

 

R1(TCC)

 

Bit Name

 

 

-

 

 

-

 

 

-

 

 

-

 

-

 

-

 

-

 

-

 

 

 

 

 

Power-On

 

 

0

 

 

0

 

 

0

 

 

0

 

0

 

0

 

0

 

0

 

 

 

 

 

 

 

/RESET and WDT

 

 

0

 

 

0

 

 

0

 

 

0

 

0

 

0

 

0

 

0

 

 

 

 

 

 

 

Wake-Up from Pin

 

 

P

 

 

P

 

 

P

 

 

P

 

P

 

P

 

P

 

P

 

 

 

 

 

 

Change

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x02

 

R2(PC)

 

Bit Name

 

 

-

 

 

-

 

 

-

 

 

-

 

-

 

-

 

-

 

-

 

 

 

 

 

Power-On

 

 

1

 

 

1

 

 

1

 

 

1

 

1

 

1

 

1

 

1

 

 

 

 

 

 

 

/RESET and WDT

 

 

1

 

 

1

 

 

1

 

 

1

 

1

 

1

 

1

 

1

 

 

 

 

 

 

 

Wake-Up from Pin

 

**0/P

 

**0/P

 

**0/P

 

**0/P

 

**0/P

 

**0/P

 

**0/P

 

**0/P

 

 

 

 

 

 

Change

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x03

 

R3(SR)

 

Bit Name

 

 

GP

 

PS1

 

PS0

 

 

T

 

P

 

Z

 

DC

 

C

 

 

 

 

Power-On

 

 

0

 

 

0

 

 

0

 

 

1

 

1

 

U

 

U

 

U

 

 

 

 

 

 

/RESET and WDT

 

 

0

 

 

0

 

 

0

 

 

t

 

t

 

P

 

P

 

P

 

 

 

 

 

 

Wake-Up from Pin

 

 

P

 

 

P

 

 

P

 

 

t

 

t

 

P

 

P

 

P

 

 

 

 

 

 

Change

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x04

 

R4(RSR)

 

Bit Name

 

RSR.1

 

RSR.0

 

 

-

 

 

-

 

-

 

-

 

-

 

-

 

 

 

 

 

Power-On

 

 

0

 

 

0

 

 

U

 

 

U

 

U

 

U

 

U

 

U

 

 

 

 

 

 

/RESET and WDT

 

 

0

 

 

0

 

 

P

 

 

P

 

P

 

P

 

P

 

P

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Product Specification (V1.1) 03.30.2005

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

19

(This specification is subject to change without further notice)

Image 23
Contents EM78P447N Elan Microelectronics Corporation Contents Specification Revision History General Description EM78P447NBWM PIN Assignment EM78P447NAS Pin Description Symbol Pin No Type FunctionEM78P447NAP and EM78P447NAM Pin Description EM78P447NCK and EN78P447NCM Pin Description Power supplyEM78P447NBP and EM78P447NBWM Pin Description EM78P447NDK and EM78P447NDM Pin Description Function Description3 R2 Program Counter & Stack Operational Registers1 R0 Indirect Addressing Register 2 R1 Time Clock /CounterFffh Call RET Retl RetiData Memory Configuration R5, R6 and R7 are I/O registers 5 R4 RAM Select Register6 R5~R7 Port 5 ~ Port7 7 R8~R1F and R20~R3E General Purpose RegisterControl Register Special Purpose Registers8 R3F Interrupt Status Register AccumulatorWDT Rate 3 IOC5 ~ IOC7 I/O Port Control RegisterIocb Wake-up Control Register for Port6 TCC RateWUE Ioce WDT Control RegisterExie Iocf Interrupt Mask RegisterTCC/WDT & Prescaler TCC and WDT Block DiagramIOD I/O PortsReset Reset and Wake-upSLEEP2 SLEEP1 Usage of Sleep1 and Sleep2 ModeSummary of the Initialized Values for Registers Address Name Reset Type BitIocb R3FISRExif Tcif WUE7 WUE6 WUE5 WUE4Events that may Affect the T and P Status Previous status before resetPrevious value before reset Status of RST, T, and P of Status RegisterInterrupt Controller Reset Block DiagramMode OscillatorOscillator Modes Fxt max.MHz Crystal Oscillator/Ceramic ResonatorsXTALSummary of Maximum Operating Speeds ConditionsLXT External RC Oscillator ModeOscillator Type Frequency Mode C1pF C2pF HXTCode Option Register Word Code Option RegisterProtect PR2~PR0 are protect bits, protect type as followingBit 12~0 Customer’s ID code Power On ConsiderationsExternal Power On Reset Circuit Customer ID Register WordResidue-Voltage Protection ResetInstruction Set Slep NOPDAA ContwRRC R Djza RDJZ R Rrca RAC Test Input/Output W aveform Timing DiagramItems Rating DC Electrical CharacteristicSymbol Parameter Condition Min Typ Max Unit Ta= 25 C, VDD= 5.0V±5%, VSS=Ta=- -40 C ~ 85 C, VDD=5V ±5%, VSS=0V AC Electrical CharacteristicSymbol Parameter Conditions Min Typ Max Unit Vih, Vil of TCC, /INT, /RESET Pin Device characteristicPort5, Port6 Port7 Voh vs. Ioh,VDD=5V Port5, Port6, and Port7 Voh vs. Ioh, VDD=3V Vol/Iol VDD=5V Vol/Iol VDD=3V Vol/Iol 100 Vol/Iol WDT Cext=100pF, Typical RC OSC Frequency Typical ICC1 and ICC2 vs. Temperature Maximum ICC1 and ICC2 vs. Temperature Typical ISB1 and ISB2 vs. Temperature Maximum ISB1 and ISB2 vs. Temperature EM78P447N HXT ImA Package Type Pin Count Package Size Lead plastic dual inline package(DIP)- 300 milLead plastic dual inline package(DIP)- 600 mil Lead plastic dual inline skinny package(DIP)- 300 mil838 27TYP EM78P447N