Bouffalo SDK
1.0
Bouffalolab Software Development Kit
|
#include "bflb_core.h"
Go to the source code of this file.
Data Structures | |
struct | bflb_acomp_config_s |
ACOMP configuration structure. More... | |
Functions | |
void | bflb_acomp_init (uint8_t acomp_id, const struct bflb_acomp_config_s *config) |
Initialize acomp. More... | |
void | bflb_acomp_enable (uint8_t acomp_id) |
Enable acomp. More... | |
void | bflb_acomp_disable (uint8_t acomp_id) |
Disable acomp. More... | |
uint32_t | bflb_acomp_get_result (uint8_t acomp_id) |
Get acomp result. More... | |
uint32_t | bflb_acomp_gpio_2_chanid (uint32_t pin, uint32_t *channel) |
gpio change adc_chan_id. More... | |
uint32_t | bflb_acomp_chanid_2_gpio (uint32_t channel, uint32_t *pin) |
adc_chan_id change gpio index. More... | |