| Electronic Components Datasheet Search |
|
HT45F43 Datasheet(PDF) 121 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F43 Datasheet(HTML) 121 Page - Holtek Semiconductor Inc |
|
121 / 152 page ![]() Time Base Interrupt The function of the Time Base Interrupts is to provide regular time signal in the form of an internal interrupt. They are controlled by the overflow signals from their respective timer functions. When these happens their respective interrupt request flags, TB0F or TB1F will be set. To allow the program to branch to their respective interrupt vector addresses, the global interrupt enable bit, EMI and Time Base enable bits, TB0E or TB1E, must first be set. When the interrupt is enabled, the stack is not full and the Time Base overflows, a subroutine call to their respective vector locations will take place. When the interrupt is serviced, the respective interrupt request flag, TB0F or TB1F, will be automatically reset and the EMI bit will be cleared to disable other interrupts. The purpose of the Time Base Interrupt is to provide an interrupt signal at fixed time periods. Their clock sources originate from the internal clock source fTB. This fTB input clock passes through a divider, the division ratio of which is selected by programming the appropriate bits in the TBC register to obtain longer interrupt periods whose value ranges. The clock source that generates fTB, which in turn controls the Time Base interrupt period, can originate from several different sources, as shown in the System Operating Mode section. TBC Register Bit 76543210 Name TBON TBCK TB11 TB10 LXTLP TB02 TB01 TB00 R/W R/W R/W R/W R/W R/W R/W R/W R/W POR 00110111 Bit 7 TBON: TB0 and TB1 Control 0: Disable 1: Enable Bit 6 TBCK: Select f TB Clock 0: f TBC 1: f SYS/4 Bit 5~4 TB11~TB10: Select Time Base 1 Time-out Period 00: 4096/f TB 01: 8192/f TB 10: 16384/f TB 11: 32768/f TB Bit 3 LXTLP: LXT Low Power Control 0: Disable 1: Enable Bit 2~0 TB02~TB00: Select Time Base 0 Time-out Period 000: 256/f TB 001: 512/f TB 010: 1024/f TB 011: 2048/f TB 100: 4096/f TB 101: 8192/f TB 110: 16384/f TB 111: 32768/f TB HT45F23/HT45F43 8-Bit Flash MCU with Op Amps & Comparators Rev. 1.20 121 September 15, 2011 M U X M U X L X T L I R C f S Y S / 4 ¸ 2 ~ 2 8 1 5 ¸ 2 ~ 2 1 2 1 5 T B 1 1 ~ T B 1 0 T i m e B a s e 0 I n t e r r u p t T i m e B a s e 1 I n t e r r u p t C o n f i g u r a t i o n O p t i o n T B C K B i t T B 0 2 ~ T B 0 0 f T B f T B C T o B u z z e r Time Base Interrupt |
|
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 |