Planning on abstracting this behind hardware setup APIs, but this works for a simple demo until then
11 lines
153 B
C
11 lines
153 B
C
#ifndef _ADC_H_
|
|
#define _ADC_H_
|
|
|
|
#include "includes/hardware/adc.h"
|
|
|
|
/**
|
|
* @brief Initialize ADC hardware
|
|
*/
|
|
int adc_init(void);
|
|
|
|
#endif /* _ADC_H_ */
|