beautypg.com

Integrated circuits inc – Rainbow Electronics APC58120 User Manual

Page 6

background image

INTEGRATED CIRCUITS INC.--

APC58120

www.aplusinc.com.tw

Page / 18 VER1.0

6

11)0AH [7:0] Timer/Counter A Control register{RW}

[2:0] < TAPS2, TAPS1, TAPS0> Timer prescaler bit

TAPS2 TAPS1 TAPS0 rate

0 0 0 1:2
0 0 1 1:4
0 1 0 1:8
0 1 1

1:16

1 0 0

1:32

1 0 1

1:64

1 1 0

1:128

1 1 1

1:256

[4]

0:Timer A Prescaler Disable Prescale Rate 1:1
1:Timer A Prescaler Enable(default)

[5]

0: select system clock(default)
1: select crystal clock(32768)

[6]< TAEN> Timer/Counter Enable control

0: Timer/Counter disable(default)
1: Timer/Counter enable

[7] Timer/Counter Interrupt Enable control

0: Timer/Counter interrupt disable(default)
1: Timer/Counter interrupt enable

12)0BH [7:0] Timer/Counter B Control register{RW}

[2:0] < TBPS2, TBPS1, TBPS0> Timer prescaler bit

TBS2 TBS1 TBS0 rate

0 0 0 1:2
0 0 1 1:4
0 1 0 1:8
0 1 1

1:16

1 0 0

1:32

1 0 1

1:64

1 1 0

1:128

1 1 1

1:256

[4]

0:Timer B Prescaler Disable Prescale Rate 1:1
1:Timer BPrescaler Enable(default)

[5]

0: select system clock(default)
1: select crystal clock(32768)

[6]< TBEN> Timer/Couner Enable control

0: Timer/Counter disable(default)
1: Timer/Counter enable

[7] Timer/Counter Interrupt Enable control

0: Timer/Counter interrupt disable(default)
1: Timer/Counter interrupt enable