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

SN8A1703AP 参数 Datasheet PDF下载

SN8A1703AP图片预览
型号: SN8A1703AP
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-Bit Micro-Controller]
分类和应用: 微控制器
文件页数/大小: 112 页 / 624 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8A1703AP的Datasheet PDF文件第70页浏览型号SN8A1703AP的Datasheet PDF文件第71页浏览型号SN8A1703AP的Datasheet PDF文件第72页浏览型号SN8A1703AP的Datasheet PDF文件第73页浏览型号SN8A1703AP的Datasheet PDF文件第75页浏览型号SN8A1703AP的Datasheet PDF文件第76页浏览型号SN8A1703AP的Datasheet PDF文件第77页浏览型号SN8A1703AP的Datasheet PDF文件第78页  
Preliminary  
SN8P1702A/SN8P1703A  
8-bit micro-controller build-in 12-bit ADC  
TC1 CLOCK FREQUENCY OUTPUT (BUZZER)  
TC1 timer counter provides a frequency output function. By setting the TC1 clock frequency, the clock signal is output  
to P5.3 and the P5.3 general purpose I/O function is auto-disable. The TC1 output signal divides by 2. The TC1 clock  
has many combinations and easily to make difference frequency. This function applies as buzzer output to output  
multi-frequency.  
Figure 8-4The TC1OUT Pulse Frequency  
Example: Setup TC1OUT output from TC1 to TC1OUT (P5.3). The external high-speed clock is 4MHz. The  
TC1OUT frequency is 1KHz. Because the TC1OUT signal is divided by 2, set the TC1 clock to  
2KHz. The TC1 clock source is from external oscillator clock. TC1 rate is Fcpu/4. The  
TC1RATE2~TC1RATE1 = 110, TC1C = TC1R = 131, TC1_Counter=8-bit, TC1X8=0  
B0BCLR  
MOV  
B0MOV  
FTC1X8  
A,#01100000B  
TC1M,A  
; Set TC1X8 to 0  
; Set the TC1 rate to Fcpu/4  
; Set the auto-reload reference value  
MOV  
B0MOV  
B0MOV  
A,#131  
TC1C,A  
TC1R,A  
B0BSET  
B0BSET  
B0BSET  
FTC1OUT  
FALOAD1  
FTC1ENB  
; Enable TC1 output to P5.3 and disable P5.3 I/O function  
; Enable TC1 auto-reload function  
; Enable TC1 timer  
SONiX TECHNOLOGY CO., LTD  
Page 74  
Revision 0.5  
 复制成功!