libpynq (release 5EWC0-2023 version 0.2.1 of 2023-09-01 11:02)
Loading...
Searching...
No Matches
adc.h File Reference
#include <stdbool.h>
#include <stdint.h>
Include dependency graph for adc.h:
This graph shows which files directly or indirectly include this file:

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)