Copyright IXXAT Automation GmbH
UCI Programming Manual FlexRay, V1.13
External interfaces
19
5.1.2.2
OpenController
The
method enables access to a controller of the board by
returning a pointer to its COM interface.
Prototype:
virtual HRESULT __stdcall OpenController( REFIID rIID,
UINT8 bCtrlNo,
LPVOID *ppCtrl );
Parameters:
rIID
IN
GUID of the interface to be requested.
Opening of a CAN controller:
__uuidof(IUciCanCtrl)
Opening of a byteflight controller:
__uuidof(IUciBftCtrl)
Opening of a FlexRay controller:
__uuidof(
bCtrlNo IN
Number of the requested controller (0..n).
ppCtrl
IN
Pointer to reserved memory for return of the interface pointer,
where ppCtrl must not be ZERO.
ppCtrl
OUT Pointer to the interface requested under rIID.
Return value:
UCI error codes
5.1.2.3
Test
Via this method a test is carried out via access to the board.
Prototype:
virtual HRESULT __stdcall Test( void );
Parameters:
none
Return value:
UCI error codes
Содержание FlexRay CCM
Страница 6: ......