Rename bridge_protocol_handler.[ch] to slave_protocol_handler.[ch]
This commit is contained in:
26
left/src/slave_protocol_handler.h
Normal file
26
left/src/slave_protocol_handler.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef __SLAVE_PROTOCOL_HANDLER__
|
||||
#define __SLAVE_PROTOCOL_HANDLER__
|
||||
|
||||
// Includes:
|
||||
|
||||
#include "fsl_port.h"
|
||||
|
||||
// Macros:
|
||||
|
||||
#define BRIDGE_RX_BUFFER_SIZE 100
|
||||
#define BRIDGE_TX_BUFFER_SIZE 100
|
||||
|
||||
#define PROTOCOL_RESPONSE_SUCCESS 0
|
||||
#define PROTOCOL_RESPONSE_GENERIC_ERROR 1
|
||||
|
||||
// Variables:
|
||||
|
||||
uint8_t BridgeRxBuffer[BRIDGE_RX_BUFFER_SIZE];
|
||||
uint8_t BridgeTxBuffer[BRIDGE_TX_BUFFER_SIZE];
|
||||
uint8_t BridgeTxSize;
|
||||
|
||||
// Functions:
|
||||
|
||||
extern void BridgeProtocolHandler(void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user