IBM EM78P447N 3 IOC5 ~ IOC7 I/O Port Control Register, Iocb Wake-up Control Register for Port6

Page 16

EM78P447N

8-Bit Microcontroller with OTP ROM

Bit 4 (TE) TCC signal edge

0:increment if the transition from low to high takes place on TCC pin

1:increment if the transition from high to low takes place on TCC pin

Bit 3 (PAB) Prescaler assignment bit.

0:TCC

1:WDT

Bit 2 (PSR2) ~ Bit 0 (PSR0) TCC/WDT prescaler bits.

PSR2

 

PSR1

 

PSR0

 

TCC Rate

 

0

 

0

 

0

 

1:2

 

0

 

0

 

1

 

1:4

 

0

 

1

 

0

 

1:8

 

0

 

1

 

1

 

1:16

 

1

 

0

 

0

 

1:32

 

1

 

0

 

1

 

1:64

 

1

 

1

 

0

 

1:128

 

1

 

1

 

1

 

1:256

 

WDT Rate

1:1

1:2

1:4

1:8

1:16

1:32

1:64

1:128

4.2.3 IOC5 ~ IOC7 (I/O Port Control Register)

"1" put the relative I/O pin into high impedance, while "0" defines the relative I/O pin as output.

IOC5 and IOC7 registers are both readable and writable.

4.2.4 IOCB (Wake-up Control Register for Port6)

7

 

6

 

5

 

4

 

3

 

2

 

1

 

0

 

/WUE7

 

/WUE6

 

/WUE5

 

/WUE4

 

/WUE3

 

/WUE2

 

/WUE1

 

/WUE0

 

Bit 7 (/WUE7) Control bit is used to enable the wake-up function of P67 pin.

Bit 6 (/WUE6) Control bit is used to enable the wake-up function of P66 pin.

Bit 5 (/WUE5) Control bit is used to enable the wake-up function of P65 pin.

Bit 4 (/WUE4) Control bit is used to enable the wake-up function of P64 pin.

Bit 3 (/WUE3) Control bit is used to enable the wake-up function of P63 pin.

Bit 2 (/WUE2) Control bit is used to enable the wake-up function of P62 pin.

Bit 1 (/WUE1) Control bit is used to enable the wake-up function of P61 pin.

Bit 0 (/WUE0) Control bit is used to enable the wake-up function of P60 pin.

0:Enable internal wake-up.

1:Disable internal wake-up.

IOCB Register is both readable and writable.

12

Product Specification (V1.1) 03.30.2005

(This specification is subject to change without further notice)

Image 16
Contents EM78P447N Elan Microelectronics Corporation Contents Specification Revision History General Description EM78P447NBWM PIN Assignment EM78P447NAP and EM78P447NAM Pin Description Symbol Pin No Type FunctionEM78P447NAS Pin Description EM78P447NBP and EM78P447NBWM Pin Description Power supplyEM78P447NCK 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 Modes OscillatorMode 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 RatingSymbol Parameter Conditions Min Typ Max Unit AC Electrical CharacteristicTa=- -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