Copyright IXXAT Automation GmbH
UCI Programming Manual FlexRay, V1.13
External interfaces
21
5.1.2.7
FormatError
If a UCI method returns an error, an error description can be requested via the
function
. This is a zero-terminated string with max.
UCI_MAX_ERRSTR characters. For this, sufficient memory must be reserved via the
parameter
pszError
.
Prototype:
virtual HRESULT __stdcall FormatError ( HRESULT hrError,
PCHAR
pszError );
Parameters:
hrError IN
UCI error code.
pszError IN
Pointer to sufficient memory for receiving the error string.
pszError OUT Pointer to the error description.
Return value:
UCI error codes
5.1.3
IUciBoardPowerSave
This interface is only available by external hardware like:
•
FlexRay CCM
•
FlexRay CCM-E
•
FRC-EP150
•
ES520
•
EDIC flex
5.1.3.1
SetTimeOut
This method is used to configure the time after which the device changes its state
to power save mode. To allow the device to change to power save mode it must
neither be connected to the PC nor must be traffic on any field bus.
Prototype:
virtual HRESULT __stdcall SetTimeOut (WORD
wTimeOut );
Parameter:
wTimeOut IN
Timeout in seconds. Set to 0xFFFF to disable the power save
mode. Minimum value is 1 second, maximum is 65534
seconds.
Return value:
UCI error codes
Содержание FlexRay CCM
Страница 6: ......