IBM EM78M611E manual Extra Register IOCA3 =, Address Name Bit Default Value

Page 40

EM78M611E

Universal Serial Bus Series Microcontroller

Control Registers

Address

 

Name

 

Bit 7

 

Bit 6

 

Bit 5

 

 

Bit 4

 

Bit 3

 

Bit 2

 

Bit 1

 

Bit 0

 

Default Value

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CONT

 

S7

 

INT

 

TSR2

 

 

SR1

 

TSR0

 

PSR2

 

PSR1

 

PSR0

 

0B_0011_1111

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x05

 

IOC5

 

 

 

 

 

 

Port 5 Direction Control Register

 

 

 

 

 

0B_1111_1111

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x06

 

IOC6

 

 

 

 

 

 

Port 6 Direction Control Register

 

 

 

 

 

0B_1111_1111

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x07

 

IOC7

 

 

 

 

 

 

Port 7 Direction Control Register

 

 

 

 

 

0B_1111_1111

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x08

 

IOC8

 

 

 

 

 

 

Port 8 Direction Control Register

 

 

 

 

 

0B_1111_1111

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x09

 

IOC9

 

 

 

 

 

 

Port 9 Direction Control Register

 

 

 

 

 

0B_1111_1111

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x0A

 

IOCA

 

Dual_

 

Dual_

 

-

 

 

Remote_

 

ExReg_

 

PDA

 

PS/2

 

USB

 

0B_11x0_0000

 

 

Frq.1

 

Frq.0

 

 

 

Wake Up

 

Sel

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x0B

 

IOCB

 

-

 

/P96

 

/P95

 

 

/P94

 

/P93

 

/P92

 

/P91

 

/P90

 

0B_x111_1111

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x0C

 

IOCC

 

-

 

P96

 

P95

 

 

-

 

P93

 

P92

 

P91

 

P90

 

0B_x00x_0000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x0D

 

IOCD

 

-

 

/P96

 

/P95

 

 

-

 

/P93

 

/P92

 

/P91

 

/P90

 

0B_x00x_0000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x0E

 

IOCE

 

/Dual

 

/WUE

 

WTE

 

 

RUN

 

Device_R

 

/PU8

 

/PU6

 

/PU5

 

0B_1101_0111

 

 

clock

 

 

 

 

 

esume

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

USB Host

 

 

 

 

 

 

Port 7 state

 

USB

 

USB

 

 

 

 

 

 

0x0F

 

IOCF

 

Resume_

 

SE2_IE

 

SE1_IE

 

 

 

 

Suspend_

 

EP0_IE

 

TCC_IE

 

0B_0000_0000

 

 

 

 

 

 

change_1F

 

Reset_IE

 

 

 

 

 

 

 

 

IE

 

 

 

 

 

 

 

 

IE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Extra Register (IOCA[3] = 1)

Address

 

Name

 

Bit 7

 

Bit 6

 

Bit 5

 

Bit 4

 

Bit 3

 

Bit 2

 

Bit 1

 

Bit 0

 

Default Value

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x0A

 

ERA

 

ADC

 

-

 

-

 

AD4

 

AD3

 

AD2

 

AD1

 

AD0

 

0B_0001_1111

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x0B

 

ERB

 

 

 

 

 

 

 

Digital Data (Bit 1~Bit 0)

 

 

 

 

 

 

 

0B_0000_0000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x0C

 

ERC

 

 

 

 

 

 

 

Digital Data (Bit 10~Bit 2)

 

 

 

 

 

 

 

0B_0000_0000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x0D

 

ERD

 

-

 

-

 

-

 

-

-

 

-

 

ADSP1

 

ADSP0

 

0B_0000_0000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x0E

 

ERE

 

PEN2

 

PEN1

 

-

 

-

-

 

PS2

 

PS1

 

PS0

 

0B_0000_0001

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

36

Product Specification (V1.1) 11.22.2006

(This specification is subject to change without further notice)

Image 40
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