Integrated circuits inc – Rainbow Electronics APC58120 User Manual
Page 7
INTEGRATED CIRCUITS INC.--
APC58120
www.aplusinc.com.tw
Page / 18 VER1.0
7
13) 0CH [7:0]
[2:0] < TCPS2, TCPS1, TCPS0> Timer prescaler bit
TCS2 TCS1 TCS0 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 C Prescaler Disable Prescale Rate 1:1
1:Timer C Prescaler Enable(default)
[5]
0: select system clock(default)
1: select crystal clock(32768)
[6]< TCEN> Timer/Counter Enable control
0: Timer/Counter disable(default)
1: Timer/Counter enable
[7]
0: Timer/Counter interrupt disable(default)
1: Timer/Counter interrupt enable
14) 0DH [7:0]
[2:0] < TDPS2, TDPS1, TDPS0> Timer prescaler bit
TDS2 TDS1 TDS0 rate
0 0 0
0.5Hz
0 0 1
1Hz
0 1 0
2Hz
0 1 1
4Hz
1 0 0
8Hz
1 0 1
16Hz
1 1 0
32Hz
1 1 1
64Hz
[6]< TDEN> Timer/Counter Enable control
0: Timer/Counter disable(default)
1: Timer/Counter enable
[7]
0: Timer/Counter interrupt disable(default)
1: Timer/Counter interrupt enable
15) 0EH [15:0]