big refactoring and features added
This commit is contained in:
19
App/Devices/uart_transport.h
Normal file
19
App/Devices/uart_transport.h
Normal file
@ -0,0 +1,19 @@
|
||||
/**
|
||||
* @file uart_transport.h
|
||||
* @brief USART1 transmit helpers used by the application core.
|
||||
*/
|
||||
|
||||
#ifndef UART_TRANSPORT_H
|
||||
#define UART_TRANSPORT_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
void uart_transport_init(void);
|
||||
void uart_transport_reset(void);
|
||||
void uart_transport_send_blocking(const uint8_t *data, uint16_t size);
|
||||
void uart_transport_send_dma(const uint8_t *data, uint16_t size);
|
||||
void uart_transport_mark_dma_complete(void);
|
||||
bool uart_transport_is_dma_busy(void);
|
||||
|
||||
#endif /* UART_TRANSPORT_H */
|
||||
Reference in New Issue
Block a user