management This group provides functions to configure MACSC module interrupts
Functions | |
void | macsc_set_backoff_slot_cntr_int_cb (macsc_callback_t callback) |
Set MACSC backoff slot counter interrupt callback function. More... | |
void | macsc_set_cmp1_int_cb (macsc_callback_t callback) |
Set MACSC Compare Channel 1 interrupt callback function. More... | |
void | macsc_set_cmp2_int_cb (macsc_callback_t callback) |
Set MACSC Compare Channel 2 interrupt callback function. More... | |
void | macsc_set_cmp3_int_cb (macsc_callback_t callback) |
Set MACSC Compare Channel 3 interrupt callback function. More... | |
void | macsc_set_ovf_int_cb (macsc_callback_t callback) |
Set MACSC overflow interrupt callback function. More... | |
void macsc_set_backoff_slot_cntr_int_cb | ( | macsc_callback_t | callback | ) |
Set MACSC backoff slot counter 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.
callback | Reference to a callback function |
References macsc_slotcnt_cb.
Referenced by main(), and test_macsc_backoff().
void macsc_set_cmp1_int_cb | ( | macsc_callback_t | callback | ) |
Set MACSC Compare Channel 1 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.
callback | Reference to a callback function |
References macsc_cmp1_cb.
Referenced by main(), and test_macsc_cmp().
void macsc_set_cmp2_int_cb | ( | macsc_callback_t | callback | ) |
Set MACSC Compare Channel 2 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.
callback | Reference to a callback function |
References macsc_cmp2_cb.
Referenced by main(), and test_macsc_cmp().
void macsc_set_cmp3_int_cb | ( | macsc_callback_t | callback | ) |
Set MACSC Compare Channel 3 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.
callback | Reference to a callback function |
References macsc_cmp3_cb.
Referenced by main(), sm_init(), and test_macsc_cmp().
void macsc_set_ovf_int_cb | ( | macsc_callback_t | callback | ) |
Set MACSC 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.
callback | Reference to a callback function |
References macsc_ovf_cb.
Referenced by main().