PHiLIP
|
Controls the adc peripheral. More...
#include <errno.h>
#include "stm32f1xx_hal.h"
#include "PHiLIP_typedef.h"
#include "port.h"
#include "gpio.h"
#include "adc.h"
Data Structures | |
struct | adc_dev_t |
The parameters for adc control. More... | |
Functions | |
void | init_dut_adc (map_t *map) |
Initializes adc registers and peripheral. More... | |
void | init_dut_adc_msp () |
Only for use with the STM32xxxx_HAL_Driver. | |
void | deinit_dut_adc_msp () |
Only for use with the STM32xxxx_HAL_Driver. | |
error_t | commit_dut_adc () |
Commits the adc registers and executes operations. More... | |
void | poll_dut_adc () |
Updated the map with ADC values. More... | |
Controls the adc peripheral.