| Electronic Components Datasheet Search |
|
SH79F1615P/032PR Datasheet(PDF) 37 Page - SINOWEALTH Electronic Ltd |
|
|
|||||||||||||||||||||||||||||
SH79F1615P/032PR Datasheet(HTML) 37 Page - SINOWEALTH Electronic Ltd |
|
37 / 144 page ![]() SH79F1615 37 方式1:16位计数器/定时器 除了使用16位定时器/计数器之外,方式1的运行与方式0一致。打开和配置计数器/定时器也如同方式0。 TLx (8bits) THx (8bits) TFx Overflow GATEx INTx TRx C/Tx =0 =1 0:Switch Off 1:Switch On Tx The Block Diagram of mode0 of Timerx ( x=0,1 ) Interrupt Request Overflow Flag + & C/Tx=0 and TCx=1 Tx System Clock 128kHz RC Clock TCLKSx 1/12 TCLKPx /8 方式2:8位自动重载计数器/定时器 方式2中,定时器x是8位自动重载计数器/定时器。TLx存放计数值,THx存放重载值。当在TLx中的计数器溢出至0x00时, 置起定时器溢出标志TFx,寄存器THx的值被重载入寄存器TLx中。如果定时器中断使能,当TFx置1时将产生一个中断。而在THx 中的重载值不会改变。在允许定时器正确计数开始之前,TLx必须初始化为所需的值。 除了自动重载功能外,方式2中的计数器/定时器的使能和配置与方式1和0是一致的。 当作为定时器应用时,可配置寄存器TCON1中的TCLKSx(x = 0,1)位选择系统时钟或128kHz的8分频作为定时器x(x = 0,1)的时钟源。 可配置寄存器TCON1中的TCLKPx(x = 0,1)位选择系统时钟或系统时钟的1/12作为定时器x(x = 0,1)的时钟源。 当作为定时器应用时,可配置寄存器TCON1中的TC0/1位使定时器0/1溢出时T0/T1脚自动翻转。如果TC0/1被置1,T0/T1 引脚自动设置为输出。 TFx Interrupt Request + & TRx C/Tx =0 =1 The Block Diagram of mode2 of Timerx (x=0,1) TL0 (8bits) TH0 (8bits) Reload Overflow Flag overflow 0:Switch Off 1:Switch On GATEx C/Tx=0 and TCx=1 Tx Tx INTx System Clock 128kHz RC Clock TCLKSx 1/12 TCLKPx /8 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |