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. | |
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.
| 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().
Clock selection.
Definition at line 108 of file timer_xmega.h.
Referenced by tc_timer_init(), tc_timer_read_resolution(), tc_timer_set_alarm(), tc_timer_start(), and tc_timer_write_resolution().
Interrupt level.
Definition at line 110 of file timer_xmega.h.
Referenced by tc_timer_init(), and tc_timer_set_alarm().
| void* timer::regs |
Base address of timer registers.
Definition at line 106 of file timer_xmega.h.
Referenced by tc_timer_get_time(), tc_timer_init(), tc_timer_irq_handler(), tc_timer_set_alarm(), tc_timer_start(), tc_timer_stop(), and tc_timer_write_resolution().
1.6.3