IBM EM78M611E manual Condition, Program Memory Page Address

Page 16

EM78M611E

Universal Serial Bus Series Microcontroller

R3 [2] Zero flag. It will be set to 1 when the result of an arithmetic or logic operation is zero.

R3 [3] Power down flag. It will be set to 1 during Power-on phase or by “WDTC” command and cleared when the MCU enters into Power down mode. It remains in its previous state after a Watchdog Reset.

0: Power down

1: Power-on

R3 [4] Time-out flag. It will be set to 1 during Power-on phase or by “WDTC” command. It is reset to 0 by WDT time-out.

0: Watchdog timer overflow occurs

1: No Watchdog timer overflow

The various states of Power down flag and Time-out flag at different conditions are shown below:

T

P

Condition

 

 

 

1

1

0

1

1

1

1 *P 0 0

Power-on reset WDTC instruction WDT time-out Power down mode

Wake up caused by port change during Power down mode

*P: Previous status before WDT reset

R3 [5-7] Page selection bits. These three bits are used to select the program memory page.

PS2

PS1

PS0

Program Memory Page [Address]

 

 

 

 

0

0

0

Page 0 [0000-03FF]

 

 

 

 

0

0

1

Page 1 [0400-07FF]

 

 

 

 

0

1

0

Page 2 [0800-0BFF]

 

 

 

 

0

1

1

Page 3 [0C00-0FFF]

 

 

 

 

1

0

0

Page 4 [1000-13FF]

 

 

 

 

1

0

1

Page 5 [1400-17FF]

 

 

 

 

12

Product Specification (V1.1) 11.22.2006

(This specification is subject to change without further notice)

Image 16
Contents EM78M611E Trademark Acknowledgments 2.1 Product Specification V1.1 AppendixGeneral Description FeaturesUniversal Serial Bus Series Microcontroller Product Specification V1.1 Application Type DefinitionOriginal With Both Pin Assignment VNNEM78M611EXBP/BM/DM 20-Pin DIP/SOP/SSOP Symbol Function Pin DescriptionBlock Diagram ALU ACC Data & Control BUSFunction Description Program MemoryData Memory Special Purpose Register2.3 R2 Program Counter & Stack Default Value 0B00000000 2.2 R1 Timer / Clock Counter Default Value 0B00000000Operation Registers R3 0 Carry/Borrow Flag 2.4 R3 Status Register Default Value0B00011XXXBit Condition Program Memory Page Address2.5 R4 RAM Select Register Default Value 0B00XXXXXX EP0Busy Stall Default Value 0B00000000 RF Interrupt Status RegisterControl Registers AccumulatorControl Register Default Value 0B00111111 TCC Rate WDT RateOperation Mode PS/2Bit P96 P95 P94 P93 P92 P91 P90 DualFrq.1 DualFrq.0 FrequencyPH95 PH93 PU8 PU6 PU5 Extra Control Register USB Application FIFOsUSB Application USB Device ControllerReset Saving Power ModeDual Clock Mode InterruptPattern Detect Application PDA Function DescriptionControl Register Sampling Rate and Debounce LengthDB.2 DB.1 DB.0 Debounce Time SR.2 SR.1 SR.0 Sampling RateErepwm Control Register Default Value 0B00000001 Pulse Width Modulation PWMDuty Cycle R10 PWM1 Duty Cycle RegisterAnalog-To-Digital Converter ADC ERA AD Channel Select Register Default Value 0B00011111Clock Hz Period/255 s ERB AD LSB Data Register Default Value 0B00000000 Channel PortERD AD Control Register Default Value 0B00000000 ERC AD MSB Data Register Default Value 0B00000000Command Value Action Execution Time DC Electrical Characteristic Symbol Min Max UnitSymbol Parameter Condition Min Type Max Unit Absolute Maximum RatingsUSB Interface Application Circuit Special Register Map Address Name Bit Bit1 Default ValueOperation Registers Address Name Bit Default Value Extra Register IOCA3 =Instruction Set Binary Instruction Hex Mnemonic Operation Status AffectedThis instruction is not recommended for RE, RF operation Address Code Option Register11 16ms Bits 4~12 User ID Address EM78M611E