libpynq (release 5EWC0-2023 version 0.2.1 of 2023-09-01 11:02)
Loading...
Searching...
No Matches
adc.c File Reference
#include <adc.h>
#include <arm_shared_memory_system.h>
#include <errno.h>
#include <log.h>
#include <platform.h>
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for adc.c:

Go to the source code of this file.

Functions

bool invalid_channel_adc (const adc_channel_t channel)
 
bool initialized_adc (void)
 
bool check_initialized_adc (void)
 
bool check_channel_adc (const adc_channel_t channel)
 
void adc_init (void)
 
void adc_destroy (void)
 
double adc_read_channel (const adc_channel_t channel)
 
uint32_t adc_read_channel_raw (adc_channel_t channel)
 

Function Documentation

◆ check_channel_adc()

bool check_channel_adc ( const adc_channel_t  channel)

Definition at line 71 of file adc.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ check_initialized_adc()

bool check_initialized_adc ( void  )

Definition at line 64 of file adc.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ invalid_channel_adc()

bool invalid_channel_adc ( const adc_channel_t  channel)

Definition at line 35 of file adc.c.

Here is the caller graph for this function: