version 2.8
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...
 
size_t gadc_lld_samplesperconversion (uint32_t physdev)
 Using the hardware dependant "physdev", return the number of samples for each conversion. More...
 
void gadc_lld_start_timerI (uint32_t 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 (size_t 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...