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

SN8F22711B 参数 Datasheet PDF下载

SN8F22711B图片预览
型号: SN8F22711B
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-Bit Micro-Controller]
分类和应用: 微控制器
文件页数/大小: 111 页 / 1291 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8F22711B的Datasheet PDF文件第68页浏览型号SN8F22711B的Datasheet PDF文件第69页浏览型号SN8F22711B的Datasheet PDF文件第70页浏览型号SN8F22711B的Datasheet PDF文件第71页浏览型号SN8F22711B的Datasheet PDF文件第73页浏览型号SN8F22711B的Datasheet PDF文件第74页浏览型号SN8F22711B的Datasheet PDF文件第75页浏览型号SN8F22711B的Datasheet PDF文件第76页  
SN8F2270B Series  
USB 2.0 Low-Speed 8-Bit Micro-Controller  
8.3 TIMER/COUNTER 0 (TC0)  
8.3.1 OVERVIEW  
The TC0 is an 8-bit binary up counting timer with double buffers. TC0 has two clock sources including internal clock  
and external clock for counting a precision time. The internal clock source is from Fcpu. The external clock is INT0 from  
P0.0 pin (Falling edge trigger). Using TC0M register selects TC0C’s clock source from internal or external. If TC0 timer  
occurs an overflow, it will continue counting and issue a time-out signal to trigger TC0 interrupt to request interrupt  
service. TC0 overflow time is 0xFF to 0X00 normally. Under PWM mode, TC0 overflow is decided by PWM cycle  
controlled by ALOAD0 and TC0OUT bits.  
The main purposes of the TC0 timer is as following.  
)
)
8-bit programmable up counting timer: Generates interrupts at specific time intervals based on the selected  
clock frequency.  
External event counter: Counts system “events” based on falling edge detection of external clock signals at the  
INT0 input pin.  
Buzzer output  
PWM output  
)
)
TC0OUT  
Internal P5.4 I/O Circuit  
ALOAD0  
Up Counting  
Reload Value  
Buzzer  
TC0 / 2  
Auto. Reload  
TC0 Time Out  
P5.4  
TC0R Reload  
Data Buffer  
ALOAD0, TC0OUT  
PWM  
TC0 Rate  
(Fcpu/2~Fcpu/256)  
PWM0OUT  
R
S
Compare  
TC0CKS  
TC0ENB  
Fcpu  
Load  
TC0C  
8-Bit Binary Up  
Counting Counter  
TC0 Time Out  
INT0  
(Schmitter Trigger)  
CPUM0,1  
SONiX TECHNOLOGY CO., LTD  
Page 72  
Version 1.2