| Electronic Components Datasheet Search |
|
HT47C06L Datasheet(PDF) 14 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT47C06L Datasheet(HTML) 14 Page - Holtek Semiconductor Inc |
|
14 / 37 page ![]() HT47C06L Rev. 1.00 14 June 15, 2007 T i m e r A O V B / O V A = 0 I n t e r r u p t T i m e r B O V B / O V A = 1 R e s e t T O N * A D E N i s a c t i v e w h e n T O N = 1 i n A / D m o d e f o r T i m e r A & B ( A D C / T M = 1 ) o r w h e n T O N = 1 a n d c l o c k s o u r c e i s A / D c l o c k i n T M R m o d e f o r T i m e r A & B ( A D C / T M = 0 ) * A D C / T M i s b i t 1 o f A D C R r e g i s t e r T E S y s t e m C l o c k ( f S Y S ) T M 1 T M 0 T O N P u l s e W i d t h M e a s u r e m e n t M o d e C o n t r o l T M 1 T M 0 T O N R C I N / T M R A D E N M O D E T O N T M 0 A D C / T M A D E N R t o F c o n v e r t e r ( A D C R B i t - 2 ) M o d e R R E F R S E N C o n t r o l 2 2 0 0 p F 3 0 k W 2 0 k W ~ 6 0 k W A / D C l o c k D a t a B u s D a t a B u s A D C / T M = 1 C R E F RC Type A/D Converter RC Type A/D Converter An RC type A/D converter is implemented in the HT47C06L. The A/D converter contains two 16-bit pro- grammable count-up counters and the timer A clock source comes from the system clock (fSYS=32kHz). The timer B clock source comes from the external RC oscil- lator. The TMRAL, TMRAH, TMRBL, TMRBH are com- posed of the A/D converter when ADC/TM bit (bit 1 of ADCR register) is ²1². The A/D converter timer B clock source may come from RREF~RCIN oscillation, RSEN~RCIN oscillation or RCIN external clock input. The timer A clock source is the system clock by setting (TM1, TM0=1, 0). There are six registers related to the A/D converter, i.e., TMRAH, TMRAL, TMRC, TMRBH, TMRBL and ADCR. The internal timer clock is input to TMRAH and TMRAL, the A/D clock is input to TMRBH and TMRBL. The OVB/OVA bit (bit 0 of ADCR register) determines whether timer A or timer B overflows, then the TF bit is set and timer interrupt occurs. When the A/D converter mode timer A or timer B overflows, the TON bit is reset and stop counting. Writing TMRAH/TMRBH makes the starting value be placed in the timer A or timer B and reading TMRAH/TMRBH retrieves the contents of the timer A or timer B. Writing TMRAL/TMRBL only writes the data into a low byte buffer, and writing TMRAH/TMRBH will write the data and the contents of the low byte buffer into the timer A or timer B (16-bit) si- multaneously. The timer A or timer B is changed by writ- ing TMRAH/TMRBH operations and writing TMRAL/ TMRBL will keep the timer A or timer B unchanged. Reading TMRAH/TMRBH will also latch the TMRAL/TMRBL into the low byte buffer to avoid false timing problem. Reading TMRAL/TMRBL returns the contents of the low byte buffer. In other words, the low byte of timer A or timer B cannot be read directly. It must read the TMRAH/TMRBH first to make the low byte con- tents of timer A or timer B be latched into the buffer. The bit2 of ADCR decides which resistor and capacitor compose an oscillation circuit and input to TMRBH and TMRBL. The TM0 and TM1 bits of TMRC define the timer A clock source. It is recommended that the timer A clock source use the system clock. When the TON bit (bit 4 of the TMRC) is set to ²1² the timer A and timer B will start counting until timer A or timer B overflows, the timer/event counter generates the interrupt request flag (TF ; bit 4 of INTC) and the timer A and timer B stop counting and reset the TON bit to ²0² at the same time. If the TON bit is ²1², the TMRAH, TMRAL, TMRBH and TMRBL cannot be read or written to. Only when the timer/event counter is off and when the instruction ²MOV² is used can those four registers be read or writ- ten to. |
|
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 |