libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
ppi.c File Reference
#include <stdint.h>
#include <libopencm3/nrf/ppi.h>
Include dependency graph for ppi.c:

Go to the source code of this file.

Functions

void ppi_configure_channel (uint8_t chan_num, uint32_t eep, uint32_t tep)
 Configure PPI Channel. More...
 
void ppi_enable_channels (uint32_t channels)
 Enable PPI channels, given the channels mask. More...
 
void ppi_disable_channels (uint32_t channels)
 Disable PPI channels, given the channels mask. More...
 
void ppi_set_group (uint8_t group, uint32_t channels)
 Set channels group, given channels mask. More...
 
void ppi_enable_group (uint8_t group)
 Enable previously configured group of channels. More...
 
void ppi_disable_group (uint8_t group)
 Disable previously configured group of channels. More...
 
uint8_t ppi_add_channel (uint32_t *chan_map, uint32_t eep, uint32_t tep, bool enable)
 Configure new channel. More...
 
void ppi_remove_channel (uint32_t *chan_map, uint8_t chan_num)
 Disable channel and remove it from the map of used channels. More...