Go to the documentation of this file.
23 for (trial = 0; trial < pHandle->
numTrials; trial++)
28 outputBuffer = (uint8_t)interfaceId;
90 for (trial = 0; trial < pHandle->
numTrials; trial++)
157 for (trial = 0; trial < pHandle->
numTrials; trial++)
229 uint8_t outputBuffer[3];
233 assert(bitrate <= UINT16_MAX);
234 assert(mode <= UINT8_MAX);
247 for (trial = 0; trial < pHandle->
numTrials; trial++)
#define sbgStreamBufferReadUint8LE
SbgErrorCode sbgEComCmdInterfaceSetUartConf(SbgEComHandle *pHandle, SbgEComPortId interfaceId, const SbgEComInterfaceConf *pConf)
SbgErrorCode sbgEComWaitForAck(SbgEComHandle *pHandle, uint8_t msgClass, uint8_t msg, uint32_t timeOut)
SBG_INLINE SbgErrorCode sbgStreamBufferWriteUint8(SbgStreamBuffer *pHandle, uint8_t value)
SBG_INLINE SbgErrorCode sbgStreamBufferInitForWrite(SbgStreamBuffer *pHandle, void *pLinkedBuffer, size_t bufferSize)
SBG_INLINE uint16_t sbgStreamBufferReadUint16LE(SbgStreamBuffer *pHandle)
@ SBG_ECOM_CAN_MODE_NORMAL
#define SBG_ECOM_MAX_BUFFER_SIZE
Implementation of the Ekinox binary communication protocol. You can access low-level communication w...
enum _SbgEComPortId SbgEComPortId
This file implements SbgECom commands related to interfaces.
SBG_INLINE void * sbgStreamBufferGetLinkedBuffer(SbgStreamBuffer *pHandle)
SbgErrorCode sbgEComCmdInterfaceGetCanConf(SbgEComHandle *pHandle, SbgEComCanBitRate *pBitrate, SbgEComCanMode *pMode)
@ SBG_ECOM_CLASS_LOG_CMD_0
SbgErrorCode sbgEComCmdInterfaceGetUartConf(SbgEComHandle *pHandle, SbgEComPortId interfaceId, SbgEComInterfaceConf *pConf)
SBG_INLINE SbgErrorCode sbgStreamBufferWriteUint16LE(SbgStreamBuffer *pHandle, uint16_t value)
SbgErrorCode sbgEComReceiveCmd(SbgEComHandle *pHandle, uint8_t msgClass, uint8_t msg, void *pData, size_t *pSize, size_t maxSize, uint32_t timeOut)
SBG_INLINE uint8_t sbgStreamBufferReadUint8(SbgStreamBuffer *pHandle)
SBG_INLINE size_t sbgStreamBufferGetSpace(SbgStreamBuffer *pHandle)
SBG_INLINE uint32_t sbgStreamBufferReadUint32LE(SbgStreamBuffer *pHandle)
uint32_t cmdDefaultTimeOut
SbgEComProtocol protocolHandle
#define sbgStreamBufferWriteUint8LE
SBG_INLINE size_t sbgStreamBufferGetLength(SbgStreamBuffer *pHandle)
enum _SbgEComPortMode SbgEComPortMode
@ SBG_ECOM_CMD_CAN_BUS_CONF
enum _SbgErrorCode SbgErrorCode
Header file that defines all error codes for SBG Systems libraries.
enum _SbgEComCanMode SbgEComCanMode
SbgErrorCode sbgEComProtocolSend(SbgEComProtocol *pHandle, uint8_t msgClass, uint8_t msg, const void *pData, size_t size)
SBG_INLINE SbgErrorCode sbgStreamBufferInitForRead(SbgStreamBuffer *pHandle, const void *pLinkedBuffer, size_t bufferSize)
enum _SbgEComCanBitRate SbgEComCanBitRate
SbgErrorCode sbgEComCmdInterfaceSetCanConf(SbgEComHandle *pHandle, SbgEComCanBitRate bitrate, SbgEComCanMode mode)
SBG_INLINE SbgErrorCode sbgStreamBufferWriteUint32LE(SbgStreamBuffer *pHandle, uint32_t value)
sbg_driver
Author(s): SBG Systems
autogenerated on Fri Oct 11 2024 02:13:40