libpynq (release 5EWC0-2023 version 0.2.0 of 2023-08-28 20:33)
Loading...
Searching...
No Matches
adc.c
Go to the documentation of this file.
1#include <adc.h>
3bool initialized_adc(void){};
4void adc_init(void){};
5void adc_destroy(void){};
void adc_init(void)
Initialization of the ADC library.
Definition adc.c:78
bool initialized_adc(void)
Check if ADC has been initialized.
Definition adc.c:57
double adc_read_channel(const adc_channel_t channel)
Definition adc.c:87
uint32_t adc_read_channel_raw(adc_channel_t channel)
Definition adc.c:97
void adc_destroy(void)
De-initialize the ADC library and free up the used memory in the shared memory space.
Definition adc.c:80
adc_channel_t
Enumerate the different available ADC channels.
Definition adc.h:43