//Initialize the Tx information
sCANTxItemInfo.bIsExtOrStand = 1;
sCANTxItemInfo.bIsRemoteFrame = 0;
sCANTxItemInfo.ID_Type.ID = NODE_ID1; //0x801
sCANTxItemInfo.u32DataLength = 24;
for(i=0;i<24;i++)
{
sCANTxItemInfo.u8DataBuff = i;
}
sCANTxItemInfo.u8BPR = 0x80;
|