IBM EM78P447N manual R3FISR, Exif Tcif, WUE7 WUE6 WUE5 WUE4, Iocb, ODE Wdte, Roc Wue, Ioce, Iocf

Page 24

EM78P447N

8-Bit Microcontroller with OTP ROM

Address

 

Name

 

Reset Type

 

Bit 7

 

Bit 6

 

Bit 5

 

Bit 4

 

Bit 3

 

Bit 2

 

Bit 1

 

Bit 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Wake-Up from Pin

 

P

 

P

 

P

 

P

 

P

 

P

 

P

 

P

 

 

 

 

 

Change

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x05

 

R5(P5)

 

Bit Name

 

P57

 

P56

 

P55

 

P54

 

P53

 

P52

 

P51

 

P50

 

 

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x06

 

R6(P6)

 

Bit Name

 

P67

 

P66

 

P65

 

P64

 

P63

 

P62

 

P61

 

P60

 

 

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit Name

 

P77

 

P76

 

P75

 

P74

 

P73

 

P72

 

P71

 

P70

 

0x07

 

R7(P7)

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x3F

 

R3F(ISR)

 

Bit Name

 

-

 

-

 

-

 

-

 

EXIF

 

-

 

-

 

TCIF

 

 

 

Power-On

 

U

 

U

 

U

 

U

 

0

 

U

 

U

 

0

 

 

 

 

 

/RESET and WDT

 

U

 

U

 

U

 

U

 

0

 

U

 

U

 

0

 

 

 

 

 

Wake-Up from Pin

 

U

 

U

 

U

 

U

 

P

 

U

 

U

 

P

 

 

 

 

 

Change

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit Name

 

/WUE7

 

/WUE6

 

/WUE5

 

/WUE4

 

/WUE3

 

/WUE2

 

/WUE1

 

/WUE0

 

0x0B

 

IOCB

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit Name

 

-

 

ODE

 

WDTE

 

SLPC

 

ROC

 

-

 

-

 

/WUE

 

0x0E

 

IOCE

 

Power-On

 

U

 

0

 

1

 

1

 

0

 

U

 

U

 

1

 

 

 

 

 

/RESET and WDT

 

U

 

0

 

1

 

1

 

0

 

U

 

U

 

1

 

 

 

 

 

Wake-Up from Pin

 

U

 

P

 

1

 

1

 

P

 

U

 

U

 

P

 

 

 

 

 

Change

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x0F

 

IOCF

 

Bit Name

 

-

 

-

-

-

 

EXIE

 

-

-

 

TCIE

 

 

 

Power-On

 

U

 

U

 

U

 

U

0

 

U

 

U

 

0

 

 

 

 

 

/RESET and WDT

 

U

 

U

 

U

 

U

0

 

U

 

U

 

0

 

 

 

 

 

Wake-Up from Pin

 

U

 

U

 

U

 

U

 

P

 

U

 

U

 

P

 

 

 

 

 

Change

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x08

 

R8

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit Name

 

-

 

-

 

-

 

-

 

-

 

-

 

-

 

-

 

0x09~0x3E

 

R9~R3E

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

**To execute next instruction after the ”SLPC” bit status of IOCE register being on high-to-low transition.

XNot used. U: Unknown or don’t care. P: Previous value before reset. t: Check Table 7

20

Product Specification (V1.1) 03.30.2005

(This specification is subject to change without further notice)

Image 24
Contents EM78P447N Elan Microelectronics Corporation Contents Specification Revision History General Description EM78P447NBWM PIN Assignment Symbol Pin No Type Function EM78P447NAP and EM78P447NAM Pin DescriptionEM78P447NAS Pin Description Power supply EM78P447NBP and EM78P447NBWM Pin DescriptionEM78P447NCK and EN78P447NCM Pin Description Function Description EM78P447NDK and EM78P447NDM Pin DescriptionOperational Registers 1 R0 Indirect Addressing Register2 R1 Time Clock /Counter 3 R2 Program Counter & StackCall RET Retl Reti FffhData Memory Configuration 5 R4 RAM Select Register 6 R5~R7 Port 5 ~ Port77 R8~R1F and R20~R3E General Purpose Register R5, R6 and R7 are I/O registersSpecial Purpose Registers 8 R3F Interrupt Status RegisterAccumulator Control Register3 IOC5 ~ IOC7 I/O Port Control Register Iocb Wake-up Control Register for Port6TCC Rate WDT RateIoce WDT Control Register WUEIocf Interrupt Mask Register ExieTCC and WDT Block Diagram TCC/WDT & PrescalerI/O Ports IODReset and Wake-up ResetUsage of Sleep1 and Sleep2 Mode SLEEP2 SLEEP1Address Name Reset Type Bit Summary of the Initialized Values for RegistersR3FISR Exif TcifWUE7 WUE6 WUE5 WUE4 IocbPrevious status before reset Previous value before resetStatus of RST, T, and P of Status Register Events that may Affect the T and P StatusController Reset Block Diagram InterruptOscillator Oscillator ModesMode Crystal Oscillator/Ceramic ResonatorsXTAL Summary of Maximum Operating SpeedsConditions Fxt max.MHzExternal RC Oscillator Mode Oscillator Type Frequency Mode C1pF C2pFHXT LXTCode Option Register Code Option Register WordPR2~PR0 are protect bits, protect type as following ProtectPower On Considerations External Power On Reset CircuitCustomer ID Register Word Bit 12~0 Customer’s ID codeReset Residue-Voltage ProtectionInstruction Set NOP DAAContw SlepDjza R DJZ RRrca R RRC RTiming Diagram AC Test Input/Output W aveformDC Electrical Characteristic Symbol Parameter Condition Min Typ Max UnitTa= 25 C, VDD= 5.0V±5%, VSS= Items RatingAC Electrical Characteristic Symbol Parameter Conditions Min Typ Max UnitTa=- -40 C ~ 85 C, VDD=5V ±5%, VSS=0V Device characteristic Vih, Vil of TCC, /INT, /RESET PinPort5, 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 Lead plastic dual inline package(DIP)- 300 mil Package Type Pin Count Package SizeLead plastic dual inline skinny package(DIP)- 300 mil Lead plastic dual inline package(DIP)- 600 mil838 27TYP EM78P447N