timer Struct Reference
[AVR XMEGA Timer internals]

Timer data. More...

#include <timer_xmega.h>

Data Fields

void * regs
 Base address of timer registers.
uint8_t clksel
 Clock selection.
uint8_t intlvl
 Interrupt level.
void(* callback )(struct timer *timer)
 Function pointer to application timer callback function.

Detailed Description

Timer data.

For internal use only.

This type of structure is passed to the driver and is initialized during the timer initialization. It stores all needed driver internal data.

Definition at line 104 of file timer_xmega.h.


Field Documentation

void(* timer::callback)(struct timer *timer)

Function pointer to application timer callback function.

Definition at line 112 of file timer_xmega.h.

Referenced by tc_timer_init(), and tc_timer_irq_handler().

Interrupt level.

Definition at line 110 of file timer_xmega.h.

Referenced by tc_timer_init(), and tc_timer_set_alarm().

void* timer::regs

The documentation for this struct was generated from the following file:
Generated on Thu Apr 29 14:10:03 2010 for display-demo by  doxygen 1.6.3