This is the documentation for the data structures, functions, variables, defines, enums, and typedefs for the real time counter driver. It also comes bundled with an application-example of usage.
This example demonstrates how to use the RTC driver with the 32 KHz oscillator crystal. Operating mode: It uses the USART driver to display a real time counter incremented every second. The display is triggered by the interrupt controller module.
This software is written for GNU GCC for AVR32 and for IAR Embedded Workbench for Atmel AVR32. Other compilers may or may not work.
All AVR32 devices with an RTC, an INTC and a USART module can be used.
This example has been tested with the following configuration:
For further information, visit Atmel AVR32.