Trying to call the function below:
typedef struct tagZCAN_CHANNEL_INIT_CONFIG {
UINT can_type; //0:can 1:canfd
union
{
struct
{
UINT acc_code;
UINT acc_mask;
UINT reserved;
BYTE filter;
BYTE timing0;
BYTE timing1;
BYTE mode;
}can;
struct
{
UINT acc_code;
UINT acc_mask;
UINT abit_timing;
UINT dbi
Trying to call the function below:
typedef struct tagZCAN_CHANNEL_INIT_CONFIG {
UINT can_type; //0:can 1:canfd
union
{
struct
{
UINT acc_code;
UINT acc_mask;
UINT reserved;
BYTE filter;
BYTE timing0;
BYTE timing1;
BYTE mode;
}can;
struct
{
UINT acc_code;
UINT acc_mask;
UINT abit_timing;
UINT dbi