欢迎访问ic37.com |
会员登录 免费注册
发布采购

SN8A1702AP 参数 Datasheet PDF下载

SN8A1702AP图片预览
型号: SN8A1702AP
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-Bit Micro-Controller]
分类和应用: 微控制器
文件页数/大小: 145 页 / 774 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8A1702AP的Datasheet PDF文件第65页浏览型号SN8A1702AP的Datasheet PDF文件第66页浏览型号SN8A1702AP的Datasheet PDF文件第67页浏览型号SN8A1702AP的Datasheet PDF文件第68页浏览型号SN8A1702AP的Datasheet PDF文件第70页浏览型号SN8A1702AP的Datasheet PDF文件第71页浏览型号SN8A1702AP的Datasheet PDF文件第72页浏览型号SN8A1702AP的Datasheet PDF文件第73页  
SN8P1700  
8-bit micro-controller build-in 12-bit ADC  
BASIC TIMER 0 (T0)  
OVERVIEW  
The basic timer (T0) is an 8-bit binary up counter. It uses T0M register to select T0C’s input clock for counting a  
precision time. If the T0 timer has occur an overflow (from FFH to 00H), it will continue counting and issue a time-out  
signal to trigger T0 interrupt to request interrupt service. The main purposes of the T0 basic timer is as following.  
8-bit programmable timer: Generates interrupts at specific time intervals based on the selected clock  
frequency.  
Internal data bus  
T0enb  
pre_load  
÷2(8-T0Rate)  
T0C 8-bit binary counter  
T0 Time out  
fcpu  
Figure 8-2. Basic Timer T0 Block Diagram  
T0M REGISTER DESCRIPTION  
The T0M is the basic timer mode register which is a 8-bit read/write register and only used the high nibble. By loading  
different value into the T0M register, users can modify the basic timer clock dynamically as program executing.  
Eight rates for T0 timer can be selected by T0RATE0 ~ T0RATE2 bits. The range is from fcpu/2 to fcpu/256. The T0M  
initial value is zero and the rate is fcpu/256. The bit7 of T0M called T0ENB is the control bit to start T0 timer. The  
combination of these bits is to determine the T0 timer clock frequency and the intervals.  
T0M initial value = 0000 xxxx  
0D8H  
T0M  
Bit 7  
T0ENB  
R/W  
Bit 6  
T0RATE2 T0RATE1 T0RATE0  
R/W R/W R/W  
Bit 5  
Bit 4  
Bit 3  
0
-
Bit 2  
0
-
Bit 1  
0
-
Bit 0  
0
-
T0ENB: T0 timer control bit. 0 = disable, 1 = enable.  
T0RATE2~T0RATE0: The T0 timer’s clock source select bits. 000 = fcpu/256, 001 = fcpu/128, … , 110 = fcpu/4, 111 =  
fcpu/2.  
SONiX TECHNOLOGY CO., LTD  
Page 69  
Revision 1.94  
 复制成功!