#ifndef _UDS_FBL_SERVICE11_INCLUDE_ #define _UDS_FBL_SERVICE11_INCLUDE_ #ifdef __cplusplus extern "C" { #endif /******************************************************************************* ** Include Section ** *******************************************************************************/ #include "stdint.h" #include "stdbool.h" #include "uds_fbl_mgr.h" #include "uds_response_code.h" #include "BootDiagTp.h" /******************************************************************************* ** Version Information ** *******************************************************************************/ /******************************************************************************* ** Version Check ** *******************************************************************************/ /******************************************************************************* ** Global Data ** *******************************************************************************/ typedef struct { bool hard_rst_flag; /* hardware reset flag */ bool wdg_rst_flag; /* hardware reset flag */ bool soft_rst_flag; /* software reset flag */ }RST_FLAG; /******************************************************************************* ** Function Declarations ** *******************************************************************************/ uint8_t ApplDiagEcuReset_11(UDSpacket_t* qUDSpacket); uds_nrc service11_nrc_check(UDSpacket_t* qUDSpacket); void UdsFbl_HardReset(void); /* hardware reset */ void UdsFbl_WdgReset(void); /* watchdog reset */ void UdsFbl_SoftReset(void); /* software reset */ bool service11_get_rstflag(uint8_t type); void service11_set_rstflag(uint8_t type,bool status); /******************************************************************************* ** End of File ** *******************************************************************************/ #ifdef __cplusplus } #endif #endif /*_UDS_FBL_SERVICE11_INCLUDE_*/