sbgEComCmdInterface.h
Go to the documentation of this file.
1 
20 #ifndef __SBG_ECOM_CMD_INTERFACE_H__
21 #define __SBG_ECOM_CMD_INTERFACE_H__
22 
23 #include "sbgEComCmdCommon.h"
24 
25 //----------------------------------------------------------------------//
26 //- Serial interface definitions -//
27 //----------------------------------------------------------------------//
28 
32 typedef enum _SbgEComPortId
33 {
48 
52 typedef enum _SbgEComPortMode
53 {
58 
59 //----------------------------------------------------------------------//
60 //- Serial interface configuration -//
61 //----------------------------------------------------------------------//
62 
66 typedef struct _SbgEComInterfaceConf
67 {
68  uint32_t baudRate;
71 
72 //----------------------------------------------------------------------//
73 //- CAN interface definitions -//
74 //----------------------------------------------------------------------//
75 
79 typedef enum _SbgEComCanBitRate
80 {
93 
97 typedef enum _SbgEComCanMode
98 {
104 
105 //----------------------------------------------------------------------//
106 //- Interface commands -//
107 //----------------------------------------------------------------------//
108 
118 
128 
138 
148 
149 #endif
This file groups all common definitions required by all commands.
SbgErrorCode sbgEComCmdInterfaceSetUartConf(SbgEComHandle *pHandle, SbgEComPortId interfaceId, const SbgEComInterfaceConf *pConf)
enum _SbgEComPortId SbgEComPortId
struct _SbgEComInterfaceConf SbgEComInterfaceConf
enum _SbgEComCanBitRate SbgEComCanBitRate
SbgErrorCode sbgEComCmdInterfaceGetUartConf(SbgEComHandle *pHandle, SbgEComPortId interfaceId, SbgEComInterfaceConf *pConf)
enum _SbgEComCanMode SbgEComCanMode
_SbgEComCanMode
_SbgEComPortMode
enum _SbgEComPortMode SbgEComPortMode
SbgErrorCode sbgEComCmdInterfaceSetCanConf(SbgEComHandle *pHandle, SbgEComCanBitRate bitrate, SbgEComCanMode mode)
SbgErrorCode sbgEComCmdInterfaceGetCanConf(SbgEComHandle *pHandle, SbgEComCanBitRate *pBitrate, SbgEComCanMode *pMode)
_SbgEComCanBitRate
_SbgEComPortId
enum _SbgErrorCode SbgErrorCode


sbg_driver
Author(s): SBG Systems
autogenerated on Thu Oct 22 2020 03:47:22