ommands
This commit is contained in:
@ -26,7 +26,8 @@ typedef struct {
|
||||
|
||||
typedef enum {
|
||||
MBCRR_TRIGGERED = 0,
|
||||
MBCRR_BUSY = 1
|
||||
MBCRR_BUSY = 1,
|
||||
MBCRR_DISABLED = 2
|
||||
} e_mbusCommRequestResult;
|
||||
|
||||
typedef struct {
|
||||
@ -35,6 +36,7 @@ typedef struct {
|
||||
} t_mbusCommStats;
|
||||
|
||||
e_mbusCommRequestResult mbusCommRequest(t_mbusDevice *mbusDevice);
|
||||
void mbusCommEnable(bool enable);
|
||||
void mbusCommTxCpltCallback(UART_HandleTypeDef *huart);
|
||||
void mbusCommRxCpltCallback(UART_HandleTypeDef *huart);
|
||||
void mbusCommSetStats(t_mbusCommStats stats);
|
||||
|
Reference in New Issue
Block a user