21 lines
369 B
C
21 lines
369 B
C
//
|
|
// Created by cfif on 17.11.22.
|
|
//
|
|
|
|
#ifndef MODULE_ADCIO_H
|
|
#define MODULE_ADCIO_H
|
|
|
|
#include "stdint.h"
|
|
|
|
typedef void (*AdcIOStartTransaction )(void *env);
|
|
typedef uint8_t (*AdcIOTransaction )(void *env, uint32_t *buf, uint32_t timeout);
|
|
|
|
typedef struct {
|
|
void *env;
|
|
AdcIOStartTransaction start;
|
|
AdcIOTransaction get;
|
|
} tAdcIO;
|
|
|
|
|
|
#endif //MODULE_ADCIO_H
|