beautypg.com

Integrated circuits inc, Special registers – Rainbow Electronics APC58120 User Manual

Page 5

background image

INTEGRATED CIRCUITS INC.--

APC58120

www.aplusinc.com.tw

Page / 18 VER1.0

5

23h[7:0]

OTH

TMRB

OVPA

SSEN

C1ALP

ASSEN

TMRA

OVPA

SSEN

C0ALP

ASSEN

LVDSE

L

LVDE

N

Config

_wtc1

Config

_wtc0

23h[11:8]

OTH

pwmdo

usel

REG1 REG2

PWMD

atasel

DACD

atasel

MIX1s

el

MIX0s

el

24h

PIR

Pre Index Register

25h

PLLSEL

pllbypa

sssel

PLLsel


6. Special registers :

1)00H [9:0] Indirect address register 0{RW}

Description:

Not serving as a physical register,the register is used as an indirect address register.

Reading or writing this address will have access to the register of the address

defined by 01H(MIR0).

2)01H [9:0] Memory Index register 0{RW}

[9:0] indicate that this register used in the indirect addressing mode defines which

register will be select during the instruction to read/write 00H

3)02H [9:0] Indirect address register 1{RW}

Description:

Not serving as a physical register,the register is used as an indirect address register.

Reading or writing this address will have access to the register of the

address defined by 03H(MIR1).

4)03H [9:0] Memory Index register 1{RW}

[9:0] indicate that this register used in the indirect addressing mode defines

which register will be select during the instruction to read/write 02H

5) 04H Program Counter register
6)05H [5:0] Status Flag register

Carry Flag
Auxiliary Flag
Zero Flag
Sleep Flag
Watchdog Flag
ponrst Flag

7)06H [15:0] Timer/Counter A register {RW}

8)07H [15:0] Timer/Counter B register {RW}

9)08H [15:0] Timer/Counter C register {RW}

10)09H [15:0] Fix Timer