Add shared emulator services, waveform generation and STM32 USB boot ports
This commit is contained in:
11
c/set-protocol/ports/stm32f407-periph/ump_stm32f407.h
Normal file
11
c/set-protocol/ports/stm32f407-periph/ump_stm32f407.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user