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

SN8P1702AP 参数 Datasheet PDF下载

SN8P1702AP图片预览
型号: SN8P1702AP
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-Bit Micro-Controller]
分类和应用: 微控制器
文件页数/大小: 112 页 / 624 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8P1702AP的Datasheet PDF文件第52页浏览型号SN8P1702AP的Datasheet PDF文件第53页浏览型号SN8P1702AP的Datasheet PDF文件第54页浏览型号SN8P1702AP的Datasheet PDF文件第55页浏览型号SN8P1702AP的Datasheet PDF文件第57页浏览型号SN8P1702AP的Datasheet PDF文件第58页浏览型号SN8P1702AP的Datasheet PDF文件第59页浏览型号SN8P1702AP的Datasheet PDF文件第60页  
Preliminary  
SN8P1702A/SN8P1703A  
8-bit micro-controller build-in 12-bit ADC  
TC0M MODE REGISTER  
The TC0M is the timer counter mode register, which is an 8-bit read/write register. By loading different value into the  
TC0M register, users can modify the timer counter clock frequency dynamically when program executing.  
Eight rates for TC0 timer can be selected by TC0RATE0 ~ TC0RATE2 and TC0X8 bits of T0M register. If TC0X8=1 the  
TC0 will faster 8 times than TC0X8=0 (Initial value). The bit7 of TC0M named TC0ENB is the control bit to start TC0  
timer.  
TC0M initial value = 0000 0000  
0DAH  
TC0M  
Bit 7  
TC0ENB TC0RATE2 TC0RATE1 TC0RATE0 TC0CKS  
R/W R/W R/W R/W R/W  
Bit 6  
Bit 5  
Bit 4  
Bit 3  
Bit 2  
ALOAD0  
R/W  
Bit 1  
TC0OUT PWM0OUT  
R/W R/W  
Bit 0  
Bit7  
TC0ENB: TC0 counter/BZ0/PWM0OUT enable bit.  
0 = disable,  
1 = enable.  
Bit [6:4] TC0RATE[2:0]: TC0 clock source selection bits. TC0X8 is bit 2 of T0M register.  
TC0 Clock Source  
TC0RATE [2:0]  
TC0X8 = 0  
TC0X8 = 1  
000  
001  
Fcpu/256 = Fosc/1024 Fosc/128  
Fcpu/128 = Fosc/512 Fosc/64  
110  
111  
Fcpu/4 = Fosc/16  
Fcpu/2 = Fosc/8  
Fosc/2  
Fosc  
Note: Fcpu = Fosc / 4  
Bit3  
Bit2  
Bit1  
Bit0  
TC0CKS: TC0 clock source select bit.  
0 = Fcpu,  
1 = External clock comes from INT0/P0.0 pin.  
ALOAD0: TC0 auto-reload function control bit.  
0 = none auto-reload,  
1 = auto-reload.  
TC0OUT: TC0 time-out toggle signal output control bit.  
0 = to disable TC0 signal output and to enable P5.4’s I/O function,  
1 = to enable TC0’s signal output and to disable P5.4’s I/O function. (Auto-disable the PWM0OUT function.)  
PWM0OUT: TC0’s PWM output control bit.  
0 = to disable the PWM output,  
1 = to enable the PWM output (The TC0OUT control bit must = 0 )  
Note: When TC0CKS=1, TC0 became an external event counter. No more P0.0 interrupt request will be  
raised. (P0.0IRQ will be always 0)  
SONiX TECHNOLOGY CO., LTD  
Page 56  
Revision 0.5  
 复制成功!