/*
 * File: BCCR_RlyCtlDiag_private.h
 *
 * Code generated for Simulink model 'BCCR_RlyCtlDiag'.
 *
 * Model version                  : 1.743
 * Simulink Coder version         : 8.11 (R2016b) 25-Aug-2016
 * C/C++ source code generated on : Wed Mar 03 11:30:47 2021
 *
 * Target selection: ert.tlc
 * Embedded hardware selection: Infineon->TriCore
 * Code generation objectives:
 *    1. MISRA C:2012 guidelines
 *    2. Execution efficiency
 * Validation result: Not run
 */

#ifndef RTW_HEADER_BCCR_RlyCtlDiag_private_h_
#define RTW_HEADER_BCCR_RlyCtlDiag_private_h_
#include "rtwtypes.h"
#include "zero_crossing_types.h"
#include "BCCR_RlyCtlDiag.h"

extern void BCCR_RlyCtlDiag_RS_Reset(B_RS_BCCR_RlyCtlDiag_T *localB,
  DW_RS_BCCR_RlyCtlDiag_T *localDW);
extern void BCCR_RlyCtlDiag_RS(boolean_T rtu_S, boolean_T rtu_R,
  B_RS_BCCR_RlyCtlDiag_T *localB, DW_RS_BCCR_RlyCtlDiag_T *localDW);

/* Exported data declaration */

/* Declaration for custom storage class: InputSignal */
extern volatile boolean_T BCMR_bDChrgAbrtWait;
extern volatile boolean_T BCMR_stDChrgCnnt;
extern volatile boolean_T BMCR_bDChrgPwrDwnReq;
extern volatile boolean_T BMCR_bDChrgPwrUpReq;
extern volatile boolean_T BMCR_bPwrDwnReq;
extern volatile boolean_T BMCR_bPwrUpReq;
extern volatile boolean_T BSER_flgCtrCtrlFault;
extern volatile boolean_T BSER_flgDChrgCtrCtrlFault;/* 航盛底层充电继电器使能条件1 */
extern volatile boolean_T BSER_flgDChrgVoltSnsrFault;/* 航盛底层充电继电器使能条件2 */
extern volatile boolean_T BSPR_bKl15WkUp;
extern volatile real32_T BSPR_iBattCurr;
extern volatile uint16_T BSPR_stDcNegLsdSta;
extern volatile uint16_T BSPR_stDcPosLsdSta;
extern volatile uint16_T BSPR_stMNegLsdSta;
extern volatile uint16_T BSPR_stMPosLsdSta;
extern volatile real32_T BSPR_tCellTempMax;
extern volatile real32_T BSPR_tCellTempMin;
extern volatile real32_T BSPR_uBattVolt;
extern volatile real32_T BSPR_uDChrgVoltRaw;
extern volatile real32_T BSPR_uDchrgNegVolt;
extern volatile real32_T BSPR_uKl30c;
extern volatile real32_T BSPR_uNegVolt;
extern volatile real32_T BSPR_uPackVolt;
extern volatile real32_T BSPR_uPackVoltRaw;
extern volatile real32_T BSPR_uSumVoltCell;
extern volatile boolean_T BSWBatteryHVDataMsgRx;
extern volatile boolean_T BSWBusHVDataMsgRx;
extern volatile real32_T BSW_uDcChNegCtrLsdVolt;
extern volatile real32_T BSW_uDcChPosCtrLsdVolt;
extern volatile real32_T BSW_uMNegCtrHsdVolt;
extern volatile real32_T BSW_uMPosCtrHsdVolt;
extern volatile boolean_T COMR_bKl30cLowDet;/* Kl30c low voltage fault */
extern volatile uint8_T COMR_stEol;    /* 航盛底层充电继电器使能条件3 */
extern volatile real32_T COMR_uBattVolt;
extern volatile real32_T COMR_uMcuVolt;
extern volatile uint8_T DFC_HvilMax_ASW;
extern volatile uint8_T DFC_HvilMin_ASW;
extern volatile uint8_T DFC_HvilSig_ASW;
extern volatile uint8_T DFC_IsoChkLv2_ASW;
extern volatile uint8_T DSMR_stFaultRank;
extern volatile boolean_T HVSR_bIsoChkStatus;
extern volatile uint8_T HVSR_flgHvilFault;
extern volatile boolean_T HVSR_flgIsoFault;

#endif                                 /* RTW_HEADER_BCCR_RlyCtlDiag_private_h_ */

/*
 * File trailer for generated code.
 *
 * [EOF]
 */
