libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
STM32F0xx comparator peripheral More...
Functions | |
void | comp_enable (uint8_t id) |
void | comp_disable (uint8_t id) |
void | comp_select_input (uint8_t id, uint32_t input) |
void | comp_select_output (uint8_t id, uint32_t output) |
void | comp_select_hyst (uint8_t id, uint32_t hyst) |
void | comp_select_speed (uint8_t id, uint32_t speed) |
STM32F0xx comparator peripheral
LGPL License Terms libopencm3 License
void comp_disable | ( | uint8_t | id | ) |
Definition at line 38 of file comparator.c.
References COMP_CSR.
void comp_enable | ( | uint8_t | id | ) |
Definition at line 33 of file comparator.c.
References COMP_CSR, and COMP_CSR_EN.
void comp_select_hyst | ( | uint8_t | id, |
uint32_t | hyst | ||
) |
Definition at line 53 of file comparator.c.
References COMP_CSR.
void comp_select_input | ( | uint8_t | id, |
uint32_t | input | ||
) |
Definition at line 43 of file comparator.c.
References COMP_CSR.
void comp_select_output | ( | uint8_t | id, |
uint32_t | output | ||
) |
Definition at line 48 of file comparator.c.
References COMP_CSR.
void comp_select_speed | ( | uint8_t | id, |
uint32_t | speed | ||
) |
Definition at line 58 of file comparator.c.
References COMP_CSR.