Go to the source code of this file.
Functions | |
SbgErrorCode | sbgEComCmdInterfaceGetCanConf (SbgEComHandle *pHandle, SbgEComCanBitRate *pBitrate, SbgEComCanMode *pMode) |
SbgErrorCode | sbgEComCmdInterfaceGetUartConf (SbgEComHandle *pHandle, SbgEComPortId interfaceId, SbgEComInterfaceConf *pConf) |
SbgErrorCode | sbgEComCmdInterfaceSetCanConf (SbgEComHandle *pHandle, SbgEComCanBitRate bitrate, SbgEComCanMode mode) |
SbgErrorCode | sbgEComCmdInterfaceSetUartConf (SbgEComHandle *pHandle, SbgEComPortId interfaceId, const SbgEComInterfaceConf *pConf) |
SbgErrorCode sbgEComCmdInterfaceGetCanConf | ( | SbgEComHandle * | pHandle, |
SbgEComCanBitRate * | pBitrate, | ||
SbgEComCanMode * | pMode | ||
) |
Retrieve the configuration of the CAN interface.
[in] | pHandle | A valid sbgECom handle. |
[out] | pBitRate | The bitrate of the CAN interface. |
[out] | pCanMode | Mode of the CAN interface. |
Definition at line 142 of file sbgEComCmdInterface.c.
SbgErrorCode sbgEComCmdInterfaceGetUartConf | ( | SbgEComHandle * | pHandle, |
SbgEComPortId | interfaceId, | ||
SbgEComInterfaceConf * | pConf | ||
) |
Retrieve the configuration of one of the interfaces.
[in] | pHandle | A valid sbgECom handle. |
[in] | interfaceId | The interface from which the configuration is to be retrieved. |
[out] | pConf | Pointer to a SbgEComInterfaceConf struct to hold configuration of the interface. |
Definition at line 8 of file sbgEComCmdInterface.c.
SbgErrorCode sbgEComCmdInterfaceSetCanConf | ( | SbgEComHandle * | pHandle, |
SbgEComCanBitRate | bitrate, | ||
SbgEComCanMode | mode | ||
) |
Set the configuration of the CAN interface.
[in] | pHandle | A valid sbgECom handle. |
[in] | bitRate | The bitrate of the CAN interface. |
[in] | pCanMode | Mode of the CAN interface. |
Definition at line 225 of file sbgEComCmdInterface.c.
SbgErrorCode sbgEComCmdInterfaceSetUartConf | ( | SbgEComHandle * | pHandle, |
SbgEComPortId | interfaceId, | ||
const SbgEComInterfaceConf * | pConf | ||
) |
Set the configuration of one of the interfaces.
[in] | pHandle | A valid sbgECom handle. |
[in] | interfaceId | The interface from which the configuration is to be retrieved. |
[in] | pConf | Pointer to a SbgEComInterfaceConf struct that holds the new configuration for the interface. |
Definition at line 77 of file sbgEComCmdInterface.c.