AVR32 UC3 - Real Time Counter Driver Documentation
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.
- rtc.c: real time counter driver;
- rtc.h: real time counter driver header file;
- rtc_example.c: real time counter example application.
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:
- EVK1100, EVK1101, EVK1104 or EVK1105 evaluation kit;
- CPU clock: 12 MHz;
- USART1 (on EVK1100 or EVK1101) connected to a PC serial port via a standard RS232 DB9 cable, or USART0 (on EVK1105) or USART1 (on EVK1104) abstracted with a USB CDC connection to a PC;
- PC terminal settings:
- 57600 bps,
- 8 data bits,
- no parity bit,
- 1 stop bit,
- no flow control.
For further information, visit
Atmel AVR32.
Support and FAQ:
http://support.atmel.no/