//================================================================== // // Filename: mapp_can.h // Description: // //------------------------------------------------------------------ // // version: // date: 00:08am, 09.Apr.2012, by Sirius // Description: // //------------------------------------------------------------------ //================================================================== #ifndef _MAPP_CAN_HONDA_H_ #define _MAPP_CAN_HONDA_H_ /*------------------------------------------------------------------------------ * I N C L U D E *------------------------------------------------------------------------------*/ #include "stm32f0xx.h" #include "general.h" /*------------------------------------------------------------------------------ * D E F I N E *------------------------------------------------------------------------------*/ /*------------------------------------------------------------------------------ * S T R U C T *------------------------------------------------------------------------------*/ //------------------------------------------------------------------ // different CAN ID for car: // modified by USER, eg.FORD below. //------------------------------------------------------------------ typedef struct { const U32 frmid; /* frame ID */ void (*frmfunc)(void); /* frame function */ } T_CANHONDA_CFG; //------------------------------------------------------------------ // AC MODE //------------------------------------------------------------------ typedef enum { w_nomode, w_foot, w_head, w_headfoot, w_window, w_windowfoot, w_windowhead, w_windowheadfoot, NumOfwindState } T_CARHonda_WINDMODE; /*------------------------------------------------------------------------------ * E X T E R N *------------------------------------------------------------------------------*/ extern VU16 s_vu16CanLostTmr; /*------------------------------------------------------------------------------ * P R O T O T Y P E *------------------------------------------------------------------------------*/ void CanHondaFilterInit(void); void CanTaskTmr(void); void CanHondaMsgAnalyseTask(U32 frmid); #endif /* _MAPP_CAN_H_ */ /*------------------------------- E O F ----------------------------------------*/