Functions
sbgEComCmdInterface.c File Reference
#include "sbgEComCmdInterface.h"
#include <streamBuffer/sbgStreamBuffer.h>
Include dependency graph for sbgEComCmdInterface.c:

Go to the source code of this file.

Functions

SbgErrorCode sbgEComCmdInterfaceGetCanConf (SbgEComHandle *pHandle, SbgEComCanBitRate *pBitrate)
 
SbgErrorCode sbgEComCmdInterfaceGetUartConf (SbgEComHandle *pHandle, SbgEComPortId interfaceId, SbgEComInterfaceConf *pConf)
 
SbgErrorCode sbgEComCmdInterfaceSetCanConf (SbgEComHandle *pHandle, SbgEComCanBitRate bitrate)
 
SbgErrorCode sbgEComCmdInterfaceSetUartConf (SbgEComHandle *pHandle, SbgEComPortId interfaceId, const SbgEComInterfaceConf *pConf)
 

Function Documentation

SbgErrorCode sbgEComCmdInterfaceGetCanConf ( SbgEComHandle pHandle,
SbgEComCanBitRate pBitrate 
)

Retrieve the configuration the CAN interface.

Parameters
[in]pHandleA valid sbgECom handle.
[out]pBitRateThe bitrate of the CAN interface.
Returns
SBG_NO_ERROR if the command has been executed successfully.

Definition at line 182 of file sbgEComCmdInterface.c.

SbgErrorCode sbgEComCmdInterfaceGetUartConf ( SbgEComHandle pHandle,
SbgEComPortId  interfaceId,
SbgEComInterfaceConf pConf 
)

Retrieve the configuration of one of the interfaces.

Parameters
[in]pHandleA valid sbgECom handle.
[in]interfaceIdThe interface from which the configuration is to be retrieved.
[out]pConfPointer to a SbgEComInterfaceConf struct to hold configuration of the interface.
Returns
SBG_NO_ERROR if the command has been executed successfully.

Definition at line 15 of file sbgEComCmdInterface.c.

SbgErrorCode sbgEComCmdInterfaceSetCanConf ( SbgEComHandle pHandle,
SbgEComCanBitRate  bitrate 
)

Set the configuration of the CAN interface.

Parameters
[in]pHandleA valid sbgECom handle.
[in]bitRateThe bitrate of the CAN interface.
Returns
SBG_NO_ERROR if the command has been executed successfully.

Definition at line 262 of file sbgEComCmdInterface.c.

SbgErrorCode sbgEComCmdInterfaceSetUartConf ( SbgEComHandle pHandle,
SbgEComPortId  interfaceId,
const SbgEComInterfaceConf pConf 
)

Set the configuration of one of the interfaces.

Parameters
[in]pHandleA valid sbgECom handle.
[in]interfaceIdThe interface from which the configuration is to be retrieved.
[in]pConfPointer to a SbgEComInterfaceConf struct that holds the new configuration for the interface.
Returns
SBG_NO_ERROR if the command has been executed successfully.

Definition at line 101 of file sbgEComCmdInterface.c.



sbg_driver
Author(s):
autogenerated on Sun Jan 27 2019 03:42:20