Init
This commit is contained in:
commit
041a3ffca1
|
|
@ -0,0 +1,12 @@
|
||||||
|
//
|
||||||
|
// Created by cfif on 11.09.22.
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef ADC_H
|
||||||
|
#define ADC_H
|
||||||
|
|
||||||
|
#include "AdcIO.h"
|
||||||
|
|
||||||
|
uint16_t AdcGet(tAdcIO *io, uint32_t timeout);
|
||||||
|
|
||||||
|
#endif //ADC_H
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
//
|
||||||
|
// Created by cfif on 17.11.22.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include "Adc.h"
|
||||||
|
#include "SystemDelayInterface.h"
|
||||||
|
|
||||||
|
uint16_t AdcGet(tAdcIO *io, uint32_t timeout) {
|
||||||
|
return io->get(io->env, timeout);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
"dep": [
|
||||||
|
{
|
||||||
|
"type": "git",
|
||||||
|
"provider": "Smart_Components_Aurus",
|
||||||
|
"repo": "AdcInterface"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"cmake": {
|
||||||
|
"inc_dirs": [
|
||||||
|
"Inc"
|
||||||
|
],
|
||||||
|
"srcs": [
|
||||||
|
"Src/**.c"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue