libpynq
(release 5EID0-2023 version 0.3.0 of 2024-04-25 09:42 )
adc.c
Go to the documentation of this file.
1
#include <
adc.h
>
2
#include <
arm_shared_memory_system.h
>
3
bool
initialized_adc
(
void
){};
4
void
adc_init
(
void
){};
5
void
adc_destroy
(
void
){};
6
double
adc_read_channel
(
adc_channel_t
channel){};
7
uint32_t
adc_read_channel_raw
(
adc_channel_t
channel){};
adc_channel_t
adc_channel_t
Enumerate the different available ADC channels.
Definition:
adc.h:43
adc_destroy
void adc_destroy(void)
De-initialize the ADC library and free up the used memory in the shared memory space.
Definition:
adc.c:80
arm_shared_memory_system.h
initialized_adc
bool initialized_adc(void)
Check if ADC has been initialized.
Definition:
adc.c:57
adc.h
adc_init
void adc_init(void)
Initialization of the ADC library.
Definition:
adc.c:78
adc_read_channel
double adc_read_channel(const adc_channel_t channel)
Definition:
adc.c:87
adc_read_channel_raw
uint32_t adc_read_channel_raw(adc_channel_t channel)
Definition:
adc.c:97
library
empty-library
adc.c
Generated on Thu Apr 25 2024 09:42:46 for libpynq by
1.8.17