µGFX  2.9
version 2.9
gadc_driver.h File Reference

Detailed Description

GADC - Periodic ADC driver header file.

Definition in file gadc_driver.h.

#include "../../gfx.h"

Go to the source code of this file.

Data Structures

struct  GadcTimerJob_t
 The structure passed to start a timer conversion. More...
 
struct  GadcNonTimerJob_t
 The structure passed to do a single conversion. More...
 

Functions

void gadc_lld_init (void)
 Initialise the driver. More...
 
gMemSize gadc_lld_samplesperconversion (gU32 physdev)
 Using the hardware dependant "physdev", return the number of samples for each conversion. More...
 
void gadc_lld_start_timerI (gU32 freq)
 Start a periodic timer for high frequency conversions. More...
 
void gadc_lld_stop_timerI (void)
 Stop the periodic timer for high frequency conversions. More...
 
void gadc_lld_timerjobI (GadcTimerJob *pjob)
 Start a set of high frequency conversions. More...
 
void gadc_lld_nontimerjobI (GadcNonTimerJob *pjob)
 Start a non-timer conversion. More...
 
void gadcGotDataI (gMemSize n)
 These routines are the callbacks that the driver uses. More...
 

Typedefs

typedef struct GadcTimerJob_t GadcTimerJob
 The structure passed to start a timer conversion. More...
 
typedef struct GadcNonTimerJob_t GadcNonTimerJob
 The structure passed to do a single conversion. More...