| Electronic Components Datasheet Search |
|
SMBP2501BPB Datasheet(PDF) 79 Page - SONiX Technology Company |
|
|
|||||||||||||||||||||||||||||
SMBP2501BPB Datasheet(HTML) 79 Page - SONiX Technology Company |
|
79 / 107 page ![]() SN8P2501B 8-Bit Micro-Controller SONiX TECHNOLOGY CO., LTD Page 79 Version 2.1 8.2.4 T0 TIMER OPERATION SEQUENCE T0 timer operation sequence of setup T0 timer is as following. Stop T0 timer counting, disable T0 interrupt function and clear T0 interrupt request flag. B0BCLR FT0ENB ; T0 timer. B0BCLR FT0IEN ; T0 interrupt function is disabled. B0BCLR FT0IRQ ; T0 interrupt request flag is cleared. Set T0 timer rate. MOV A, #0xxx0000b ;The T0 rate control bits exist in bit4~bit6 of T0M. The ; value is from x000xxxxb~x111xxxxb. B0MOV T0M,A ; T0 timer is disabled. Set T0 clock source from Fcpu or RTC. B0BCLR FT0TB ; Select T0 Fcpu clock source. Or B0BSET FT0TB ; Select T0 RTC clock source. Set T0 interrupt interval time. MOV A,#7FH B0MOV T0C,A ; Set T0C value. Set T0 timer function mode. B0BSET FT0IEN ; Enable T0 interrupt function. Enable T0 timer. B0BSET FT0ENB ; Enable T0 timer. |
|
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 |