Functions | |
Channels configuration API | |
bool | pevc_channel_configure (volatile avr32_pevc_t *pevc, unsigned short int chan_id, unsigned short int gen_id, const pevc_evs_opt_t *pevs) |
Configure a channel. More... | |
void | pevc_igfd_set (volatile avr32_pevc_t *pevc, unsigned char igfd) |
Set a value for the Input Glitch Filter Divider (used by the Event Shaper). More... | |
Channels Enable/Disable API | |
void | pevc_channels_enable (volatile avr32_pevc_t *pevc, unsigned long long int chan_mask) |
Enable one or more channels. More... | |
void | pevc_channels_disable (volatile avr32_pevc_t *pevc, unsigned long long int chan_mask) |
Disable one or more channels. More... | |
bool | pevc_get_channel_status (volatile avr32_pevc_t *pevc, unsigned short int chan_id) |
Get the status of a channel. More... | |
Channels state (Idle/Busy) API | |
bool | pevc_get_channel_state (volatile avr32_pevc_t *pevc, unsigned short int chan_id) |
Get the state of a channel (idle or busy) More... | |
Channels Software Event API | |
void | pevc_channel_sev_enable (volatile avr32_pevc_t *pevc, unsigned short int chan_id) |
Enable the Software Event as the event source for a channel. More... | |
void | pevc_channels_trigger_sev (volatile avr32_pevc_t *pevc, unsigned long long int chan_mask) |
Trigger a software event to one or more channels. More... | |
void | pevc_channel_sev_disable (volatile avr32_pevc_t *pevc, unsigned short int chan_id) |
Disable the Software Event as the event source for a channel. More... | |
Channels trigger interrupt API | |
void | pevc_channels_enable_trigger_interrupt (volatile avr32_pevc_t *pevc, unsigned long long int chan_mask) |
Enable the event trigger interrupt of one or more channels. More... | |
void | pevc_channels_disable_trigger_interrupt (volatile avr32_pevc_t *pevc, unsigned long long int chan_mask) |
Disable the event trigger interrupt of one or more channels. More... | |
bool | pevc_channel_is_trigger_interrupt_enabled (volatile avr32_pevc_t *pevc, unsigned short int chan_id) |
Check if the event trigger interrupt for a given channel is enabled. More... | |
bool | pevc_channel_is_trigger_interrupt_raised (volatile avr32_pevc_t *pevc, unsigned short int chan_id) |
Check if the event trigger interrupt was raised for a given channel. More... | |
void | pevc_channel_clear_trigger_interrupt (volatile avr32_pevc_t *pevc, unsigned short int chan_id) |
Clear the event trigger interrupt for a given channel. More... | |
Channels overrun interrupt API | |
void | pevc_channels_enable_overrun_interrupt (volatile avr32_pevc_t *pevc, unsigned long long int chan_mask) |
Enable the event overrun interrupt of one or more channels. More... | |
void | pevc_channels_disable_overrun_interrupt (volatile avr32_pevc_t *pevc, unsigned long long int chan_mask) |
Disable the event overrun interrupt of one or more channels. More... | |
bool | pevc_channel_is_overrun_interrupt_enabled (volatile avr32_pevc_t *pevc, unsigned short int chan_id) |
Check if the event overrun interrupt for a given channel is enabled. More... | |
bool | pevc_channel_is_overrun_interrupt_raised (volatile avr32_pevc_t *pevc, unsigned short int chan_id) |
Check if the event overrun interrupt was raised for a given channel. More... | |
void | pevc_channel_clear_overrun_interrupt (volatile avr32_pevc_t *pevc, unsigned short int chan_id) |
Clear the event overrun interrupt for a given channel. More... | |