| Electronic Components Datasheet Search |
|
HT82R732 Datasheet(PDF) 47 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT82R732 Datasheet(HTML) 47 Page - Holtek Semiconductor Inc |
|
47 / 74 page ![]() Time Base Interrupts 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, originates from the LXT oscillator, as shown in the System Operating Mode section. TBC Register Bit 76543210 Name TBON ¾ TB11 TB10 ¾ TB02 TB01 TB00 R/W R/W ¾ R/W R/W ¾ R/W R/W R/W POR 0 ¾ 11 ¾ 111 Bit 7 TBON: TB0 and TB1 Control 0: disable 1: enable Bit 6 unimplemented, read as ²0² 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 unimplemented, read as ²0² 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 HT82R732 e-Banking 8-Bit OTP MCU Rev. 1.00 47 October 31, 2013 L X T D i v i d e b y 2 8 ~ 2 1 5 f T B T i m e B a s e 0 I n t e r r u p t T B 1 1 ~ T B 1 0 D i v i d e b y 2 1 2 ~ 2 1 5 T i m e B a s e 1 I n t e r r u p t T B 0 2 ~ T B 0 0 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 |