This group provides functions to configure TC module interrupts.
Functions | |
void | tc_set_cca_interrupt_callback (volatile void *tc, tc_callback_t callback) |
Set TC Capture Compare Channel A interrupt callback function. More... | |
static void | tc_set_cca_interrupt_level (volatile void *tc, enum TC_INT_LEVEL_t level) |
Configures TC Capture Compare A Interrupt level. More... | |
void | tc_set_ccb_interrupt_callback (volatile void *tc, tc_callback_t callback) |
Set TC Capture Compare Channel B interrupt callback function. More... | |
static void | tc_set_ccb_interrupt_level (volatile void *tc, enum TC_INT_LEVEL_t level) |
Configures TC Capture Compare B Interrupt level. More... | |
void | tc_set_ccc_interrupt_callback (volatile void *tc, tc_callback_t callback) |
Set TC Capture Compare Channel C interrupt callback function. More... | |
static void | tc_set_ccc_interrupt_level (volatile void *tc, enum TC_INT_LEVEL_t level) |
Configures TC Capture Compare C Interrupt level. More... | |
void | tc_set_ccd_interrupt_callback (volatile void *tc, tc_callback_t callback) |
Set TC Capture Compare Channel D interrupt callback function. More... | |
static void | tc_set_ccd_interrupt_level (volatile void *tc, enum TC_INT_LEVEL_t level) |
Configures TC Capture Compare D Interrupt level. More... | |
void | tc_set_error_interrupt_callback (volatile void *tc, tc_callback_t callback) |
Set TC error interrupt callback function. More... | |
static void | tc_set_error_interrupt_level (volatile void *tc, enum TC_INT_LEVEL_t level) |
Configures TC error Interrupt level. More... | |
void | tc_set_overflow_interrupt_callback (volatile void *tc, tc_callback_t callback) |
Set TC overflow interrupt callback function. More... | |
static void | tc_set_overflow_interrupt_level (volatile void *tc, enum TC_INT_LEVEL_t level) |
Configures TC overflow Interrupt level. More... | |
void tc_set_cca_interrupt_callback | ( | volatile void * | tc, |
tc_callback_t | callback | ||
) |
Set TC Capture Compare Channel A interrupt callback function.
This function allows the caller to set and change the interrupt callback function. Without setting a callback function the interrupt handler in the driver will only clear the interrupt flags.
tc | Pointer to the Timer Counter (TC) base address |
callback | Reference to a callback function |
References tc_tcc0_cca_callback, tc_tcc1_cca_callback, tc_tcd0_cca_callback, tc_tcd1_cca_callback, tc_tce0_cca_callback, tc_tce1_cca_callback, tc_tcf0_cca_callback, and tc_tcf1_cca_callback.
Referenced by main().
|
inlinestatic |
Configures TC Capture Compare A Interrupt level.
tc | Pointer to TC module. |
level | CCA interrupt level |
Referenced by main().
void tc_set_ccb_interrupt_callback | ( | volatile void * | tc, |
tc_callback_t | callback | ||
) |
Set TC Capture Compare Channel B interrupt callback function.
This function allows the caller to set and change the interrupt callback function. Without setting a callback function the interrupt handler in the driver will only clear the interrupt flags.
tc | Pointer to the Timer Counter (TC) base address |
callback | Reference to a callback function |
References tc_tcc0_ccb_callback, tc_tcc1_ccb_callback, tc_tcd0_ccb_callback, tc_tcd1_ccb_callback, tc_tce0_ccb_callback, tc_tce1_ccb_callback, tc_tcf0_ccb_callback, and tc_tcf1_ccb_callback.
Referenced by main().
|
inlinestatic |
Configures TC Capture Compare B Interrupt level.
tc | Pointer to TC module. |
level | CCB interrupt level |
Referenced by main().
void tc_set_ccc_interrupt_callback | ( | volatile void * | tc, |
tc_callback_t | callback | ||
) |
Set TC Capture Compare Channel C interrupt callback function.
This function allows the caller to set and change the interrupt callback function. Without setting a callback function the interrupt handler in the driver will only clear the interrupt flags.
tc | Pointer to the Timer Counter (TC) base address |
callback | Reference to a callback function |
References tc_tcc0_ccc_callback, tc_tcd0_ccc_callback, tc_tce0_ccc_callback, and tc_tcf0_ccc_callback.
|
inlinestatic |
Configures TC Capture Compare C Interrupt level.
tc | Pointer to TC module. |
level | CCC interrupt level |
void tc_set_ccd_interrupt_callback | ( | volatile void * | tc, |
tc_callback_t | callback | ||
) |
Set TC Capture Compare Channel D interrupt callback function.
This function allows the caller to set and change the interrupt callback function. Without setting a callback function the interrupt handler in the driver will only clear the interrupt flags.
tc | Pointer to the Timer Counter (TC) base address |
callback | Reference to a callback function |
References tc_tcc0_ccd_callback, tc_tcd0_ccd_callback, tc_tce0_ccd_callback, and tc_tcf0_ccd_callback.
|
inlinestatic |
Configures TC Capture Compare D Interrupt level.
tc | Pointer to TC module. |
level | CCD interrupt level |
void tc_set_error_interrupt_callback | ( | volatile void * | tc, |
tc_callback_t | callback | ||
) |
Set TC error interrupt callback function.
This function allows the caller to set and change the interrupt callback function. Without setting a callback function the interrupt handler in the driver will only clear the interrupt flags.
tc | Pointer to the Timer Counter (TC) base address |
callback | Reference to a callback function |
References tc_tcc0_err_callback, tc_tcc1_err_callback, tc_tcd0_err_callback, tc_tcd1_err_callback, tc_tce0_err_callback, tc_tce1_err_callback, tc_tcf0_err_callback, and tc_tcf1_err_callback.
|
inlinestatic |
Configures TC error Interrupt level.
tc | Pointer to TC module. |
level | Error interrupt level |
void tc_set_overflow_interrupt_callback | ( | volatile void * | tc, |
tc_callback_t | callback | ||
) |
Set TC overflow interrupt callback function.
This function allows the caller to set and change the interrupt callback function. Without setting a callback function the interrupt handler in the driver will only clear the interrupt flags.
tc | Pointer to the Timer Counter (TC) base address |
callback | Reference to a callback function |
References tc_tcc0_ovf_callback, tc_tcc1_ovf_callback, tc_tcd0_ovf_callback, tc_tcd1_ovf_callback, tc_tce0_ovf_callback, tc_tce1_ovf_callback, tc_tcf0_ovf_callback, and tc_tcf1_ovf_callback.
Referenced by main().
|
inlinestatic |
Configures TC overflow Interrupt level.
tc | Pointer to TC module. |
level | Overflow interrupt level |
Referenced by main().