DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

NT68P81 查看數據表(PDF) - Novatek Microelectronics

零件编号
产品描述 (功能)
生产厂家
NT68P81
Novatek
Novatek Microelectronics Novatek
NT68P81 Datasheet PDF : 30 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
NT68P81
8. Base Timer (BT)
The Base Timer is an 8 -bit counter with a programmable clock source selection. The BT can be enabled/disabled by the
CPU. After reset, the BT is disabled and cleared. The BT can be preset by writing a preset value to BT7 ~ BT0 of the BT
register at any time. When the BT is enabled, the BT starts counting from the preset value. When the value reaches FFH, it
generates a timer interrupt if the timer interrupt is enabled. When it reaches the maximum value of FFH, the BT will wrap
around and begin counting at 00H. The BT can be enabled by writing a "0" to " ENBT " bit in the TCON (Timer Control)
register. The ENBT signal is level trigger.
The input clock source of BT is controlled by the TMOD register. The following table shows 8 ranges of the BT.
TM2
TM1
TM0
Pre-scalar Ratio
Min. Count
Max. Count
0
0
0
System Clock/23
1.33 µs
341.33 µs
0
0
1
System Clock/24
2.66 µs
682.66 µs
0
1
0
System Clock/25
5.32 µs
1.36 ms
0
1
1
System Clock/26
10.64 µs
2.72 ms
1
0
0
System Clock/27
21.28 µs
5.44 ms
1
0
1
System Clock/28
42.56 µs
10.89 ms
1
1
0
System Clock/29
85.12 µs
21.79 ms
1
1
1
System Clock/210
170.24 µs
43.58 ms
For counting accuracy, please set the TMOD register first, then preset the BT register, and enable the base timer finally.
(TM2, TM1, TM0) = (1, 1, 1) is reserved for USB driver use.
15

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]