EasyManuals Logo

Abov A96G166 User Manual

Default Icon
247 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #91 background imageLoading...
Page #91 background image
A96G166/A96A166/A96S166 User’s manual 11. Timer 0/1/2
91
11.1.6 Register description
T0CNT (Timer 0 Counter Register): B3H
7
6
5
4
3
2
1
0
T0CNT7
T0CNT6
T0CNT5
T0CNT4
T0CNT3
T0CNT2
T0CNT1
T0CNT0
R
R
R
R
R
R
R
R
Initial value: 00H
T0CNT[7:0]
T0 Counter
T0DR (Timer 0 Data Register): B4H
7
6
5
4
3
2
1
0
T0DR7
T0DR6
T0DR5
T0DR4
T0DR3
T0DR2
T0DR1
T0DR0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value: FFH
T0DR[7:0]
T0 Data
T0CDR (Timer 0 Capture Data Register: Read Case, Capture mode only): B4H
7
6
5
4
3
2
1
0
T0CDR7
T0CDR6
T0CDR5
T0CDR4
T0CDR3
T0CDR2
T0CDR1
T0CDR0
R
R
R
R
R
R
R
R
Initial value: 00H
T0CDR[7:0]
T0 Capture Data
T0CR (Timer 0 Control Register): B2H
7
6
5
4
3
2
1
0
T0EN
T0MS1
T0MS0
T0CK2
T0CK1
T0CK0
T0CC
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value: 00H
T0EN
Control Timer 0
0
Timer 0 disable
1
Timer 0 enable
T0MS[1:0]
Control Timer 0 Operation Mode
T0MS1
T0MS0
Description
0
0
Timer/counter mode
0
1
PWM mode
1
x
Capture mode
T0CK[2:0]
Select Timer 0 clock source. fx is a system clock frequency
T0CK2
T0CK1
T0CK0
Description
0
0
0
fx/2
0
0
1
fx/4
0
1
0
fx/8
0
1
1
fx/32
1
0
0
fx/128
1
0
1
fx/512
1
1
0
fx/2048
1
1
1
External Clock (EC0)
T0CC
Clear timer 0 Counter
0
No effect
1
Clear the Timer 0 counter (When write, automatically
cleared 0 after being cleared counter)
NOTES:
1. Match Interrupt is generated in Capture mode.
2. Refer to the external interrupt flag 1 register (EIFLAG1) for the T0 interrupt flags.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Abov A96G166 and is the answer not in the manual?

Abov A96G166 Specifications

General IconGeneral
BrandAbov
ModelA96G166
CategoryComputer Hardware
LanguageEnglish

Related product manuals