| Electronic Components Datasheet Search |
|
HT47C06L Datasheet(PDF) 15 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT47C06L Datasheet(HTML) 15 Page - Holtek Semiconductor Inc |
|
15 / 37 page ![]() HT47C06L Rev. 1.00 15 June 15, 2007 Bit No. Label Function 0 OVB/OVA In the RC type A/D converter mode, this bit is used to define the timer/event counter inter- rupt which comes from timer A or timer B overflow. (0= timer A overflow; 1= timer B overflow) In the timer/event counter mode, this bit is void. 1 ADC/TM Determines whether the 16-bit timer/event counter or RC type A/D converter is enabled. (0= timer/event counter is enabled; 1= A/D converter is enabled) 2 MODE Defines the A/D converter operating mode 0= RREF~CREF oscillation (reference resistor and reference capacitor) 1= RSEN~CREF oscillation (resistor sensor and reference capacitor) 3 BON Low voltage detector disabled/enabled (0=disabled; 1=enabled) 4 BLF Low voltage flag (0=battery power is good; 1=low battery) 5~7 ¾ Unused bit, read as ²0² ADCR (25H) Register Example for RC type AD converter mode (Timer A overflow): clr tmrc clr adcr.1 ; set timer mode clr intc.4 ; clear timers/event counter interrupt request flag mov a, low (65536-1000) ; give timer A initial value mov tmrbl, a ; count 1000 time and then overflow mov a, high (65536-1000) mov tmrbh, a mov a, 00000010b ; RREF~CREF; set RC type ADC mode; set Timer A overflow mov adcr, a mov a, 00h ; give timer B initial value mov tmrbl, a mov a, 00h mov tmrbh, a mov a, 01010000b ; timer A clock source=fSYS and timer on mov tmrc, a p10: clr wdt snz intc.4 ; polling timer/event counter interrupt request flag jmp p10 clr intc.4 ; clear timer/event counter 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 |