libpynq (release 5EWC0-2023 version 0.2.2 of 2023-09-24 22:22)
|
#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
Enumerations | |
enum | adc_channel_t { ADC0 = ((0x240 / 4) + 1) , ADC1 = ((0x240 / 4) + 9) , ADC2 = ((0x240 / 4) + 6) , ADC3 = ((0x240 / 4) + 15) , ADC4 = ((0x240 / 4) + 5) , ADC5 = ((0x240 / 4) + 13) } |
Functions | |
bool | initialized_adc (void) |
void | adc_init (void) |
void | adc_destroy (void) |
double | adc_read_channel (adc_channel_t channel) |
uint32_t | adc_read_channel_raw (adc_channel_t channel) |