Nuvo-2500 Series User’s Manual
Copyright © 2015 Neousys Technology Inc. All Right Reserved.
Page 117 of 154
5.4.1.3 CAN_Setup
Syntax
BOOL CAN_Setup(DWORD idx, CAN_SETUP *lpSetup, DWORD cbSetup);
Description
Setup timing correlation of trigger source input (DI) and pulse target output (DO) for
Deterministic Trigger Fan-Out function.
Parameter
idx
[in]
Specifies the index of CAN bus controllers. Currently there are only one CAN
bus controller.
lpSetup
[in]
A pointer to a CAN_SETUP structure that contains the CAN-Bus
configuration. This data structure contains the following variables:
Bitrate
DWORD value specifies the bit rate of the specified CAN controller.
recvConfig
DWORD value specifies the received message configuration.
recvId
DWORD value specifies the received identity number.
recvMask
DWORD value specifies the mask for received identity number.
cbSetup
[in]
The length of the structure, in bytes. The caller must set this member
to sizeof(CAN_SETUP).
Return Value
Returns TRUE if setup successes, FALSE if setup failed.
Usage