Appendix a. special register map, Operation registers, Control registers – EMC EM78612 User Manual

Page 33

Advertising
background image

EM78612

Universal Serial Bus Microcontroller

Product Specification (V1.0) 03.22.2006

•••• 31

(This specification is subject to change without further notice)

Appendix

A. Special Register Map

Operation Registers

address

name

Bit7

Bit6

Bit5

Bit4

Bit3

Bit2

Bit1

Bit0

Default value

0x00

R0

Indirect Addressing Register

0B_0000_0000

0x01

R1(TCC)

Timer/Clock Counter

0B_0000_0000

0x02

R2(PC)

Program Counter

0B_0000_0000

0x03 R3(STATUS)

-

-

PS0

T

P

Z

DC

C

0B_0001_1xxx

0x04

R4(RSR)

-

BK0

Select the register(address: 00~3F) in the indirect addressing mode

0B_0xxx_xxxx

0x05

R5(Port5)

-

-

-

-

-

-

P51/D-

/DATA

P50/D+

/CLK

0B_0000_0000

0x06

R6(Port6)

P67

P66

P65

P64

P63

P62

P61

P60

0B_0000_0000

0x07

R7(Port7)

-

-

-

-

P73

P72

P71

P70

0B_0000_0000

0x08

R8(Port6

Wake-up Pin

Selection)

/Wu67

/Wu66

/Wu65

/Wu64

/Wu63

/Wu62

/Wu61

/Wu60

0B_1111_1111

0x09

R9(Port7

Wake-up Pin

Selection)

-

-

-

-

/Wu73

/Wu72

/Wu71

/Wu70

0B_1111_1111

0x0C

RC

EP0_W

EP0_R

EP1_R

0

Device

Resume

Host

_SUSPEND

UDC

_Writing

STALL

0B_0000_0000

0x0D

RD

USB Application FIFO Address Register

0B_0000_0000

0x0E

RE

USB Application FIFO Data Register

0B_0000_0000

0x0F

RF

-

EP1_IF Port5 state

change_IF

USB Host

Resume_

IF

USB

Reset_IF

USB

Suspend_IF

EP0_IF

TCC_IF

0B_0000_0000

Control Registers

address

name

Bit7

Bit6

Bit5

Bit4

Bit3

Bit2

Bit1

Bit0

Default value

CONT

RW_E

INT

TSR2

TSR1

TSR0

PSR2

PSR1

PSR0

0B_0100_0000

0x05

IOC5

Port5 Direction Control Register

0B_0000_0011

0x06

IOC6

Port6 Direction Control Register

0B_1111_1111

0x07

IOC7

Port7 Direction Control Register

0B_0000_1111

0x08 IOC8

(Sink

Current)

-

-

Sink[71]_1 Sink[71]_0

Sink[70]_1 Sink[70]_0

0B_0000_0000

0x09

IOC9

Reserved

0x0A

IOCA

Dual_Frq.1 Dual_Frq.0

-

-

-

-

PS/2

USB

0B_1100_0000

0x0B

IOCB

/PL67

/PL66

/PL65

/PL64

/PL63

/PL62

/PL61

/PL60

0B_0000_0000

0x0C

IOCC

/PH67

/PH66

/PH65

/PH64

/PH63

/PH62

/PH61

/PH60

0B_0000_0000

0x0D

IOCD

-

-

-

-

/PH73

/PH72

/PH71

/PH70

0B_0000_0000

0x0E

IOCE

/Dual clock

/WUE

WTE

RUN

0

0

0

0

0B_1111_0000

0x0F

IOCF

0

EP1_IE

Port5_State_

Change_IE

USB HOST

Resume_IF

USB

Reset_IE

USB

Suspend_IE

EP0_IE

TCC_IE

0B_0000_0000

Advertising