summaryrefslogtreecommitdiff
path: root/apps/modbus/ascii/mbascii.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/modbus/ascii/mbascii.h')
-rw-r--r--apps/modbus/ascii/mbascii.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/apps/modbus/ascii/mbascii.h b/apps/modbus/ascii/mbascii.h
index 1191a1166..8ac0000e1 100644
--- a/apps/modbus/ascii/mbascii.h
+++ b/apps/modbus/ascii/mbascii.h
@@ -36,18 +36,18 @@ PR_BEGIN_EXTERN_C
#endif
#ifdef CONFIG_MB_ASCII_ENABLED
-eMBErrorCode eMBASCIIInit( UCHAR slaveAddress, UCHAR ucPort,
- ULONG ulBaudRate, eMBParity eParity );
+eMBErrorCode eMBASCIIInit( uint8_t slaveAddress, uint8_t ucPort,
+ uint32_t ulBaudRate, eMBParity eParity );
void eMBASCIIStart( void );
void eMBASCIIStop( void );
-eMBErrorCode eMBASCIIReceive( UCHAR * pucRcvAddress, UCHAR ** pucFrame,
- USHORT * pusLength );
-eMBErrorCode eMBASCIISend( UCHAR slaveAddress, const UCHAR * pucFrame,
- USHORT usLength );
-BOOL xMBASCIIReceiveFSM( void );
-BOOL xMBASCIITransmitFSM( void );
-BOOL xMBASCIITimerT1SExpired( void );
+eMBErrorCode eMBASCIIReceive( uint8_t * pucRcvAddress, uint8_t ** pucFrame,
+ uint16_t * pusLength );
+eMBErrorCode eMBASCIISend( uint8_t slaveAddress, const uint8_t * pucFrame,
+ uint16_t usLength );
+bool xMBASCIIReceiveFSM( void );
+bool xMBASCIITransmitFSM( void );
+bool xMBASCIITimerT1SExpired( void );
#endif
#ifdef __cplusplus