ATXMEGA256A3B_09 ATMEL [ATMEL Corporation], ATXMEGA256A3B_09 Datasheet - Page 37

no-image

ATXMEGA256A3B_09

Manufacturer Part Number
ATXMEGA256A3B_09
Description
8/16-bit XMEGA A3B Microcontroller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
19. RTC32 - 32-bit Real-Time Counter
19.1
19.1.1
8116F–AVR–09/09
Features
Overview
The 32-bit Real Time Counter (RTC) is a 32-bit counter, counting reference clock cycles and giv-
ing an event and/or an interrupt request when it reaches a configurable compare and/or top
value. The reference clock is generated from a high accuracy 32.768 kHz crystal, and the design
is optimized for low power consumption. The RTC typically operate in low power sleep modes,
keeping track of time and waking up the device at regular intervals.
The RTC input clock can be taken from a 1.024 kHz or 1 Hz prescaled output from the 32.768
kHz reference clock. The RTC will give a compare interrupt request and/or event when the coun-
ter value equals the Compare register value. The RTC will give an overflow interrupt request
and/or event when the counter value equals the Period register value. Counter overflow will also
reset the counter value to zero.
The 32-bit Real Time Counter (RTC) must be clocked from the 1 Hz output of a 32.768 kHz crys-
tal oscillator connected between the TOSC1 and TOSC2 pins when running from V
details on the 32-bit RTC refer to the “32-bit Real Time Counter” section in the XMEGA A
Manual.
Figure 19-1. Real Time Counter Overview
32-bit resolution
One 32-bit Compare register
One 32-bit Period register
Clear Timer on overflow
Optional Interrupt/ Event on overflow and compare match
Selectable clock reference
Isolated V
– 1.024 kHz
– 1 Hz
1 . 0 2 4 k H z
BAT
power domain with dynamic switch over from/to V
1 H z
3 2 - b i t C o m p a r e
3 2 - b i t C o u n t e r
3 2 - b i t P e r i o d
=
=
O v e r f l o w
C o m p a r e M a t c h
CC
power domain’
XMEGA A3B
BAT
. For more
37

Related parts for ATXMEGA256A3B_09