12 lines
611 B
C
12 lines
611 B
C
#ifndef UMP_STM32F407_H
|
|
#define UMP_STM32F407_H
|
|
#include "../../include/ump_protocol.h"
|
|
/* Application owns framing, ID filtering, snapshot lock, and tx buffers. */
|
|
size_t ump_stm32f407_rtu(const ump_backend *backend, unsigned device,
|
|
const uint8_t *request, size_t length, uint8_t *reply, size_t capacity);
|
|
unsigned ump_stm32f407_can(const ump_backend *backend, const uint8_t *request,
|
|
size_t length, uint16_t *words, unsigned *token, unsigned *error);
|
|
unsigned ump_stm32f407_fragment(const uint16_t *words, unsigned count,
|
|
unsigned index, unsigned token, unsigned error, uint8_t reply[8]);
|
|
#endif
|