libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
prs_common.c File Reference
Include dependency graph for prs_common.c:

Go to the source code of this file.

Functions

void prs_enable_gpio_output (enum prs_ch ch)
 Enable PRS output to GPIO. More...
 
void prs_disable_gpio_output (enum prs_ch ch)
 Disable PRS output to GPIO. More...
 
void prs_set_output_loc (uint32_t loc)
 Location of the PRS to be output on GPIO. More...
 
void prs_software_pulse (enum prs_ch ch)
 Generate software pulse. More...
 
void prs_software_level_high (enum prs_ch ch)
 HIGH is XOR'ed with the corresponding bit in the software-pulse and the PRS input signal to generate. More...
 
void prs_software_level_low (enum prs_ch ch)
 LOW is XOR'ed with the corresponding bit in the software-pulse and the PRS input signal to generate. More...
 
void prs_enable_async (enum prs_ch ch)
 disable synchronization of this channel reflex signal More...
 
void prs_disable_async (enum prs_ch ch)
 enable synchronization of this channel reflex signal More...
 
void prs_set_edge (enum prs_ch ch, uint32_t edge)
 Edge detection for the channel. More...
 
void prs_set_source (enum prs_ch ch, uint32_t source)
 Source for the channel. More...
 
void prs_set_signal (enum prs_ch ch, uint32_t signal)
 Source for the channel. More...