Add basic ADC support
Planning on abstracting this behind hardware setup APIs, but this works for a simple demo until then
This commit is contained in:
parent
9f005b547b
commit
8f0f0a0535
9 changed files with 151 additions and 0 deletions
11
core/hardware/adc.h
Normal file
11
core/hardware/adc.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#ifndef _ADC_H_
|
||||
#define _ADC_H_
|
||||
|
||||
#include "includes/hardware/adc.h"
|
||||
|
||||
/**
|
||||
* @brief Initialize ADC hardware
|
||||
*/
|
||||
int adc_init(void);
|
||||
|
||||
#endif /* _ADC_H_ */
|
||||
Loading…
Reference in a new issue