/* Initialize a CAN_Config_T structure with the initial value.  */
void CAN_ConfigStructInit(CAN_Config_T *canConfig)
/* Initialize a CAN_Config_T structure with the initial value.  */
void CAN_ConfigStructInit(CAN_Config_T *canConfig)
{
    canConfig->timeTrigComMode  = DISABLE;
    canConfig->autoBusOffManage = DISABLE;
    canConfig->autoWakeUpMode   = DISABLE;
    canConfig->nonAutoRetran    = DISABLE;
    canConfig->rxFIFOLockMode   = DISABLE;
    canConfig->txFIFOPriority   = DISABLE;
    canConfig->mode             = CAN_MODE_NORMAL;
    canConfig->syncJumpWidth    = CAN_SJW_1;
    canConfig->timeSegment1     = CAN_TIME_SEGMENT1_4;
    canConfig->timeSegment2     = CAN_TIME_SEGMENT2_3;
    canConfig->prescaler        = 1;
}