IBM EM78M611E manual PS/2, Operation Mode

Page 22

EM78M611E

Universal Serial Bus Series Microcontroller

8.2.3.3IOC5 ~IOC9 I/O (Port Direction Control Registers) Default Value: (0B_1111_1111)

These are I/O port (Port 5 ~ Port 7) direction control registers. Each bit controls the I/O direction of three I/O ports respectively. When these bits are set to 1, the relative I/O pins become input pins. Similarly, the I/O pins becomes outputs when the relative control bits are cleared.

0 : Output direction

1 : Input direction

8.2.3.4IOCA (Operation Mode Control Register) Default Value: (0B_1110_0000)

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

Dual_Frq.1

Dual_Frq.0

-

Remote_Wake up

ExReg_Sel

PDA

PS/2

USB

IOCA [0, 1] These two bits are used to select the operation mode.

IOCA[1]

IOCA[0]

 

Operation Mode

 

 

 

 

 

0

0

 

Detect Mode

 

 

 

 

0

1

 

USB Mode

 

 

 

 

1

0

 

PS/2 Mode

 

 

 

 

1

1

 

USB Test Mode

IOCA[2]

Pattern Detect Application function enable bit. This bit is used to enable the

 

Pattern Detect Application (PDA) function. For details about this function

 

refer to Section 8.11.

 

0 : Disable PDA function

 

1 : Enable PDA function

IOCA[3]

Extra control register select bit. The five extra control registers (REA, REB,

 

REC, RED, and REE) are located in 0xA~0xE. To access these five

 

registers, set the bit as follows:

 

0 : Select RA~RE

 

1 : Select Extra Control register ERA~ERE

IOCA[4]

Indicate whether the device is currently requested to support remote wake

 

up or not. The Remote Wake-up field can be modified by SetFeature () and

 

ClearFeature () requests.

0 : Do Not support remote wake up

1 : Supports remote wake up

NOTE

IOCA[4]: Remote_Wake up bit

EM78M611 do NOT support this function. Only EM78M611E does.

18

Product Specification (V1.1) 11.22.2006

(This specification is subject to change without further notice)

Image 22
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 RateDuty Cycle Erepwm Control Register Default Value 0B00000001Pulse Width Modulation PWM 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 Symbol Parameter Condition Min Type Max Unit DC Electrical CharacteristicSymbol Min 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