Init
This commit is contained in:
commit
70d4f7b3c5
|
|
@ -0,0 +1,19 @@
|
|||
//
|
||||
// Created by cfif on 28.09.22.
|
||||
//
|
||||
|
||||
#ifndef MODULE_SERIALPORTFRAMETPIO_H
|
||||
#define MODULE_SERIALPORTFRAMETPIO_H
|
||||
#include "stdint.h"
|
||||
|
||||
typedef uint16_t (*SerialPortFrameTpReceivedIOTransaction )(void *env, uint8_t *data, uint16_t size, uint32_t adr, uint32_t timeout);
|
||||
typedef uint16_t (*SerialPortFrameTpTransmitIOTransaction )(void *env, uint8_t *data, uint16_t size, uint32_t adr, uint32_t timeout);
|
||||
|
||||
typedef struct {
|
||||
void *env;
|
||||
SerialPortFrameTpReceivedIOTransaction receive;
|
||||
SerialPortFrameTpTransmitIOTransaction transmit;
|
||||
} tSerialPortFrameTpIO;
|
||||
|
||||
|
||||
#endif //MODULE_SERIALPORTFRAMETPIO_H
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"cmake": {
|
||||
"inc_dirs": [
|
||||
"Inc"
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue