| Electronic Components Datasheet Search |
|
HT45R38 Datasheet(PDF) 18 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45R38 Datasheet(HTML) 18 Page - Holtek Semiconductor Inc |
|
18 / 49 page ![]() HT45R38 Rev. 1.00 18 December 13, 2006 Bit No. Label Function 0~2 ¾ Unused bit, read as ²0² 3 ¾ Undefined bit, this bit can read/write 4 RCOCON To enable or disable external RC oscillation converter counting (0= disabled; 1= enabled) 5 6 7 RCOM0 RCOM1 RCOM2 To define the Timer A clock source, RCOM2, RCOM1, RCOM0= 000= System clock 001= System clock/4 010= Unused 011= Unused 100= Unused 101= Unused 110= Unused 111= Unused RCOCCR (22H) Register External RC Oscillation Converter An external RC oscillation mode is implemented in the device. The RC oscillation converter contains two 16-bit programmable count-up counters and the Timer A clock source may come from the system clock or system clock/4. The timer B clock source may come from the external RC oscillator. The RC oscillation converter is comprised of the TMRAL, TMRAH, TMRBL, TMRBH registers when the RCO bit, bit 1 of RCOCR register, is ²1². The RC oscilla- tion converter Timer B clock source may come from an external RC oscillator. The Timer A clock source comes from the system clock or from the system clock/4, deter- mined by the RCOCCR register. There are six registers related to the RC oscillation con- verter, i.e., TMRAH, TMRAL, RCOCCR, TMRBH, TMRBL and RCOCR. The internal timer clock is the in- put to TMRAH and TMRAL, the external RC oscillation is the input to TMRBH and TMRBL. The OVB bit, bit 0 of RCOCR register, decides whether Timer A overflows or Timer B overflows, then the RCOCF bit is set and an ex- ternal RC oscillation converter interrupt occurs. When the RC oscillation converter mode Timer A or Timer B overflows, the RCOCON bit is reset to ²0² and stops counting. Writing to TMRAH/TMRBH places the start value in Timer A/Timer B while reading TMRAH/TMRBH obtains the contents of Timer A/Timer B. Writing to TMRAL/TMRBL only writes the data into a low byte buffer. However writing to TMRAH/TMRBH will write the Bit No. Label Function 0 OVB In the RC oscillation converter mode, this bit is used to define the timer/event counter interrupt, which comes from Timer A overflow or Timer B overflow. (0= Timer A overflow; 1= Timer B overflow) 1 RCO Define 16 timer/event counter mode or RC oscillation converter mode. (0= Disable RC oscillation converter mode; 1= Enable RC oscillation converter mode) 2~3 ¾ Unused bit, read as ²0² 4~7 RW 4-bit read/write registers for user defined. RCOCR (25H) Register T i m e r A T i m e r B O V B = 1 O V B = 0 E x t e r n a l R C O s c i l l a t i o n C o n v e r t e r I n t e r r u p t R e s e t R C O C O N R C O S C O u t p u t S 2 S 1 S y s t e m C l o c k S y s t e m C l o c k / 4 R C O C O N External RC Oscillation Converter |
|
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 |