112 if (!(chan_bit & *chan_map)) {
113 *chan_map |= chan_bit;
142 *chan_map &= ~(
PPI_CH(chan_num));
#define PPI_MAX_PROG_CHANNEL
#define PPI_TASK_CHG_DIS(n)
#define PPI_TASK_CHG_EN(n)
void ppi_configure_channel(uint8_t chan_num, uint32_t eep, uint32_t tep)
Configure PPI Channel.
void ppi_enable_group(uint8_t group)
Enable previously configured group of channels.
void ppi_enable_channels(uint32_t channels)
Enable PPI channels, given the channels mask.
void ppi_remove_channel(uint32_t *chan_map, uint8_t chan_num)
Disable channel and remove it from the map of used channels.
void ppi_disable_channels(uint32_t channels)
Disable PPI channels, given the channels mask.
void ppi_set_group(uint8_t group, uint32_t channels)
Set channels group, given channels mask.
void ppi_disable_group(uint8_t group)
Disable previously configured group of channels.
uint8_t ppi_add_channel(uint32_t *chan_map, uint32_t eep, uint32_t tep, bool enable)
Configure new channel.