Untitled
/* * FDCAN.h * * Created on: May 8, 2023 * Author: gagandeeps1 */ #ifndef INC_FDCAN1_H_ #define INC_FDCAN1_H_ /*includes*/ #include "commonheaderfiles.h" /*macros*/ enum{ FDCAN1_Tx, FDCAN1_Rx, FDCAN1_Success, MAX_FDCAN1_States }; /*variables*/ extern FDCAN_TxHeaderTypeDef TxHeader1; extern FDCAN_RxHeaderTypeDef RxHeader1; extern uint8_t TxData1[8]; extern uint8_t RxData1[8]; extern bool bFDCAN1_Rx; extern uint8_t FDCAN1_State; /*declaration*/ void FDCAN1_INIT(void); void FDCAN1_Peripheral_State_Machine(void); #endif /* INC_FDCAN1_H_ */
Leave a Comment