|
int | tc_configure_interrupts (volatile avr32_tc_t *tc, unsigned int channel, const tc_interrupt_t *bitfield) |
| Enables various timer/counter interrupts. More...
|
|
int | tc_get_interrupt_settings (volatile avr32_tc_t *tc, unsigned int channel) |
| Reads timer/counter interrupt settings. More...
|
|
int | tc_init_capture (volatile avr32_tc_t *tc, const tc_capture_opt_t *opt) |
| Sets options for timer/counter capture initialization. More...
|
|
int | tc_init_waveform (volatile avr32_tc_t *tc, const tc_waveform_opt_t *opt) |
| Sets options for timer/counter waveform initialization. More...
|
|
int | tc_read_ra (volatile avr32_tc_t *tc, unsigned int channel) |
| Reads the channel's RA register and returns the value. More...
|
|
int | tc_read_rb (volatile avr32_tc_t *tc, unsigned int channel) |
| Reads the channel's RB register and returns the value. More...
|
|
int | tc_read_rc (volatile avr32_tc_t *tc, unsigned int channel) |
| Reads the channel's RC register and returns the value. More...
|
|
int | tc_read_sr (volatile avr32_tc_t *tc, unsigned int channel) |
| Reads the status register. More...
|
|
int | tc_read_tc (volatile avr32_tc_t *tc, unsigned int channel) |
| Reads the channel's TC counter and returns the value. More...
|
|
int | tc_select_external_clock (volatile avr32_tc_t *tc, unsigned int channel, unsigned int ext_clk_sig_src) |
| Selects which external clock to use and how to configure it. More...
|
|
int | tc_software_trigger (volatile avr32_tc_t *tc, unsigned int channel) |
| Performs a software trigger: the counter is reset and the clock is started. More...
|
|
int | tc_start (volatile avr32_tc_t *tc, unsigned int channel) |
| Starts a timer/counter. More...
|
|
int | tc_stop (volatile avr32_tc_t *tc, unsigned int channel) |
| Stops a timer/counter. More...
|
|
void | tc_sync_start (volatile avr32_tc_t *tc) |
| Start all TC channels simultaneously. More...
|
|
void | tc_sync_trigger (volatile avr32_tc_t *tc) |
| Asserts a SYNC signal to generate a software trigger and reset all channels. More...
|
|
int | tc_write_ra (volatile avr32_tc_t *tc, unsigned int channel, unsigned short value) |
| Writes a value to the channel's RA register. More...
|
|
int | tc_write_rb (volatile avr32_tc_t *tc, unsigned int channel, unsigned short value) |
| Writes a value to the channel's RB register. More...
|
|
int | tc_write_rc (volatile avr32_tc_t *tc, unsigned int channel, unsigned short value) |
| Writes a value to the channel's RC register. More...
|
|