IBM EM78P447N manual Special Purpose Registers, 8 R3F Interrupt Status Register, Accumulator, Bit

Page 15

EM78P447N

8-Bit Microcontroller with OTP ROM

4.1.8 R3F (Interrupt Status Register)

Bit 7

 

Bit 6

 

Bit 5

 

Bit 4

 

Bit 3

 

Bit 2

 

Bit 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-

 

-

 

-

 

-

 

EXIF

 

-

 

-

 

Bit 0

TCIF

Bit 3 (EXIF) External interrupt flag. Set by falling edge on /INT pin, flag cleared by software

Bit 0 (TCIF) the TCC overflow interrupt flag. Set as TCC overflows; flag cleared by software.

Bits 1, 2, 4~7 are not used and read are as “0”.

"1" means interrupt request, "0" means non-interrupt.

R3F can be cleared by instruction, but cannot be set by instruction.

IOCF is the interrupt mask register.

Note that reading R3F will obtain the result of the R3F "logic AND" and IOCF.

4.2 Special Purpose Registers

4.2.1 A (Accumulator)

Internal data transfer, or instruction operand holding.

It cannot be addressed.

4.2.2 CONT (Control Register)

7

 

6

 

5

 

4

 

/PHEN

 

/INT

 

TS

 

TE

 

3

PAB

21

PSR2 PSR1

0

PSR0

Bit 7 (/PHEN) Control bit used to enable the pull-high of P60~P67, P74 and P75 pins

0:Enable internal pull-high.

1:Disable internal pull-high.

CONT register is both readable and writable.

Bit 6 (/INT) Interrupt enable flag

0: masked by DISI or hardware interrupt

1: enabled by ENI/RETI instructions Bit 5 (TS) TCC signal source

0:internal instruction cycle clock

1:transition on TCC pin

Product Specification (V1.1) 03.30.2005

11

(This specification is subject to change without further notice)

Image 15
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 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 DiagramOscillator Oscillator ModesMode 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=AC Electrical Characteristic Symbol Parameter Conditions Min Typ Max UnitTa=- -40 C ~ 85 C, VDD=5V ±5%, VSS=0V 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