| Electronic Components Datasheet Search |
|
HT45R37V Datasheet(PDF) 34 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45R37V Datasheet(HTML) 34 Page - Holtek Semiconductor Inc |
|
34 / 90 page ![]() HT45R37V Rev. 1.00 34 October 20, 2009 Programming Example The following example shows the principles of how the C/R to F converter function is programmed: External RC oscillation converter mode example program - Timer A overflow: clr RCOCCR mov a, 00000010b ; Enable External RC oscillation mode and set Timer A overflow mov RCOCR,a clr mfic0.1 ; Clear External RC Oscillation Converter interrupt request flag clr mfic0.5 mov a, low (65536-1000) ; Give timer A initial value mov tmral, a ; Timer A count 1000 time and then overflow mov a, high (65536-1000) mov tmrah, a mov a, 00h ; Give timer B initial value mov tmrbl, a mov a, 00h mov tmrbh, a mov a, 00110000b ; Timer A clock source=fSYS/4 and timer on mov RCOCCR, a p10: clr wdt snz mfic0.5 ; Polling External RC Oscillation Converter interrupt request flag jmp p10 clr mfic0.5 ; Clear External RC Oscillation Converter interrupt request flag ; Program continue |
|
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 |