|
static uint16_t | _timer_get_ocr (avr_timer_t *timer, int comparator_index) |
| Get Ouput Compare Register (OCR) More...
|
|
static uint16_t | _timer_get_comp_ocr (struct avr_t *avr, avr_timer_comp_p comparator) |
| cf. More...
|
|
static uint16_t | _timer_get_tcnt (avr_timer_t *timer) |
| Get Timer Counter Register (TCNT) More...
|
|
static uint16_t | _timer_get_icr (avr_timer_t *timer) |
| Get Input Capture Register (ICR) More...
|
|
static avr_cycle_count_t | avr_timer_comp (avr_timer_t *p, avr_cycle_count_t when, uint8_t comparator_index) |
|
static void | avr_timer_comp_on_tov (avr_timer_t *p, avr_cycle_count_t when, uint8_t comparator_index) |
|
static avr_cycle_count_t | avr_timer_compa (struct avr_t *avr, avr_cycle_count_t when, void *param) |
|
static avr_cycle_count_t | avr_timer_compb (struct avr_t *avr, avr_cycle_count_t when, void *param) |
|
static avr_cycle_count_t | avr_timer_compc (struct avr_t *avr, avr_cycle_count_t when, void *param) |
|
static avr_cycle_count_t | avr_timer_tov (struct avr_t *avr, avr_cycle_count_t when, void *param) |
|
static uint16_t | _avr_timer_get_current_tcnt (avr_timer_t *p) |
| Compute the current value of TCNT. More...
|
|
static uint8_t | avr_timer_tcnt_read (struct avr_t *avr, avr_io_addr_t addr, void *param) |
| Read TCNT. More...
|
|
static void | avr_timer_cancel_all_cycle_timers (struct avr_t *avr, avr_timer_t *timer) |
|
static void | avr_timer_tcnt_write (struct avr_t *avr, avr_io_addr_t addr, uint8_t v, void *param) |
| Write TCNT. More...
|
|
static void | _avr_timer_configure (avr_timer_t *p, uint32_t clock, uint32_t top) |
| Configure a timer. More...
|
|
static void | avr_timer_reconfigure (avr_timer_t *p) |
|
static void | avr_timer_write_ocr (struct avr_t *avr, avr_io_addr_t addr, uint8_t v, void *param) |
|
static void | avr_timer_write (struct avr_t *avr, avr_io_addr_t addr, uint8_t v, void *param) |
|
static void | avr_timer_write_pending (struct avr_t *avr, avr_io_addr_t addr, uint8_t v, void *param) |
|
static void | avr_timer_irq_icp (struct avr_irq_t *irq, uint32_t value, void *param) |
|
static void | avr_timer_reset (avr_io_t *port) |
|
void | avr_timer_init (avr_t *avr, avr_timer_t *p) |
|