EasyManua.ls Logo

STC micro STC8A8K64D4 Series - Auxiliary Register 1 (AUXR); External Interrupt and Clock Output Control Register (INTCLKO); Timer 0 Calculation Formula; Timer 1 Calculation Formula

Default Icon
901 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
STC8A8K64D4 Series Manual
- 288 -
13.2.12 Auxiliary Register 1 (AUXR)
Symbol
Address
B7
B6
B5
B4
B3
B2
B1
B0
AUXR
8EH
T0x12
T1x12
UART_M0x6
T2R
T2_C/T
T2x12
EXTRAM
S1ST2
T0x12: T0 speed control bit.
0: The clock source of T0 is SYSclk/12.
1: The clock source of T0 is SYSclk/1.
T1x12: T1 speed control bit.
0: The clock source of T1 is SYSclk/12.
1: The clock source of T1 is SYSclk/1.
13.2.13 External Interrupt and Clock Output Control Register
(INTCLKO)
Symbol
Address
B7
B6
B5
B4
B3
B2
B1
B0
INTCLKO
8FH
-
EX4
EX3
EX2
-
T2CLKO
T1CLKO
T0CLKO
T0CLKO: T0 clock out control bit.
0: Turn off the clock output.
1: P3.5 is configured for T0 clock output pin. When T0 overflows, P3.5 will flip automatically.
T1CLKO: T0 clock out control bit.
0: Turn off the clock output.
1: P3.4 is configured for T1 clock output pin. When T1 overflows, P3.4 will flip automatically.
13.2.14 Timer 0 calculation formula
Mode of Timer
Speed
Period calculation formula
Mode 0/3
(16-bit automatic reload)
1T

󰇟󰇠

(Auto-reload)
12T

󰇟󰇠

(Auto-reload)
Mode 1
(16-bit does not
automatically reload)
1T

󰇟󰇠

(Soft reload)
12T

󰇟󰇠

 (Soft reload)
Mode 2
(8-bit automatic reload)
1T

 

12T



 (Auto-reload)
13.2.15 Timer 1 calculation formula
Mode of Timer
Speed
Period calculation formula
Mode 0
(16-bit automatic reload)
1T

󰇟󰇠

(Auto-reload)
12T

󰇟󰇠

 (Auto-reload)

Table of Contents

Related product manuals