EasyManua.ls Logo

Cmsemicon SC8F577 Series - Page 67

Default Icon
181 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...
V1.8
SC8F577x
67 / 181
www.mcu.com.cn
8. TIMER0
8.1 TIMER0 General
TIMER0 is composed of the following functions:
8-bit timer/counter register (TMR0);
8-bit pre-scaler (shared with watchdog timer);
Programmable internal or external clock source;
Programmable external clock edge selection;
overflow interrupt.
0
1
0
1
0
1
0
1
T0CKI
Pin
T0SE
T0CS
PSA
PSA
PSA
WDT
timeout
PS<2:0>
Fsys/4
WDTE
SWDTEN
8
Watchd
og timer
32KHz
INTOSC
8-bit
prescaler
Synchron
ize 2 Tcy
TMR0
Data Bus
Set the T0IF
flag bit to 1
when overflow
8
Fig 8-1: TIMER0/WDT mod structure
Note:
1) T0SE, T0CS, PSA, PS<2:0> are the bits in OPTION_REG register.
2) SWDTEN is a bit in the OSCCON register.
3) WDTE bit is in CONFIG.

Related product manuals