Copyright IXXAT Automation GmbH
UCI Programming Manual FlexRay, V1.13
Annex
66
6.2.2.4
XAT_FindHWEntry
Function:
HRESULT XATREG_CALLATTR
XAT_FindHwEntry
( BYTE b_typ, DWORD * p_dw_key, int* p_i_boardtyp, char
ca_entryname[255], DWORD dw_arg );
Description:
Search for a certain registered PC/CAN-interface. Several search
options are supported which can be selected via parameter
b_typ.
Parameter:
b_typ (in)
The Parameter b_typ decides on the type of search to be carried
out:
•
XATREG_FIND_BOARD_AT_RELATIVE_POSITION
Serach for a board (it’s unique index number) by the given board
type and the board type related index (e.g. search for the second
registered USB-to-CAN interface).
•
XATREG_FIND_RELATIVE_BTYPE_POSITION
Search for the board type related index of a board by the given
uinque board index.
•
XATREG_FIND_ADDRESS
Serach for a board by it’s given board address. This is reasonable
only for ISA cards.
•
XATREG_FIND_ENTRY_WITH_VALUE
Search for a board by it’s given board type and a board parame-
ter / board parameter value combination (e.g. Search for the tin-
CAN with IRQ 15). The supported board type specific parameters
are shown in the IXXAT Interfaces applet in the Control Panel.
p_dw_key (in/out)
•
XATREG_FIND_BOARD_AT_RELATIVE_POSITION:
(out) Retrieves the unique index of the found board.
•
XATREG_FIND_RELATIVE_BTYPE_POSITION
(in) Unique index of the board which board type related index is
wanted.
•
XATREG_FIND_ADDRESS
(out) Retrieves the unique index of the found board.
•
XATREG_FIND_ENTRY_WITH_VALUE
(out) Retrieves the unique index of the found board.
p_i_boardtyp (in/out)
•
XATREG_FIND_BOARD_AT_RELATIVE_POSITION:
(in) Typ of the board to look for.
Содержание FlexRay CCM
Страница 6: ......