libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Go to the source code of this file.
Enumerations | |
enum | prs_ch { PRS_CH0 = 0 , PRS_CH1 , PRS_CH2 , PRS_CH3 , PRS_CH4 , PRS_CH5 , PRS_CH6 , PRS_CH7 , PRS_CH8 , PRS_CH9 , PRS_CH10 , PRS_CH11 } |
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 sig) |
Source for the channel. More... | |