| Electronic Components Datasheet Search |
|
ADUC848BCP8-5 Datasheet(PDF) 70 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADUC848BCP8-5 Datasheet(HTML) 70 Page - Analog Devices |
|
70 / 108 page ![]() ADuC845/ADuC847/ADuC848 Rev. A | Page 70 of 108 TIME INTERVAL COUNTER (TIC) A TIC is provided on-chip for counting longer intervals than the standard 8051 compatible timers can count. The TIC is capable of timeout intervals ranging from 1/128 second to 255 hours. Also, this counter is clocked by the external 32.768 kHz crystal rather than by the core clock, and it can remain active in power-down mode and time long power-down intervals. This has obvious applications for remote battery-powered sensors where regular widely spaced readings are required. Note that instructions to the TIC SFRs are also clocked at 32.768 kHz, so sufficient time must be allowed in user code for these instructions to execute. Six SFRs are associated with the time interval counter, TIMECON being its control register. Depending on the configuration of the IT0 and IT1 bits in TIMECON, the selected time counter register overflow clocks the interval counter. When this counter is equal to the time interval value loaded in the INTVAL SFR, the TII bit (TIMECON.2) is set and generates an interrupt, if enabled. If the part is in power-down mode, again with TIC interrupt enabled, the TII bit wakes up the device and resumes code execution by vectoring directly to the TIC interrupt service vector address at 0053H. The TIC-related SFRs are described in Table 45. Note also that the time based SFRs can be written initially with the current time; the TIC can then be controlled and accessed by user software. In effect, this facilitates the implementation of a real-time clock. A basic block diagram of the TIC is shown in Figure 47. Because the TIC is clocked directly from a 32 kHz external crystal on the parts, instructions that access the TIC registers are also clocked at 32 kHz (not at the core frequency). The user must ensure that sufficient time is given for these instructions to execute. 8-BIT PRESCALER HUNDREDTHS COUNTER HTHSEC SECOND COUNTER SEC MINUTE COUNTER MIN HOUR COUNTER HOUR TIEN INTERVAL TIMEOUT TIME INTERVAL COUNTER INTERRUPT 8-BIT INTERVAL COUNTER INTVAL SFR INTERVAL TIMEBASE SELECTION MUX TCEN 32.768kHz EXTERNAL CRYSTAL ITS0 ITS1 EQUAL? Figure 47. TIC Simplified Block Diagram |
|
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 |