/*
 * File: AvgVehicleSpeed_types.h
 *
 * Code generated for Simulink model 'AvgVehicleSpeed'.
 *
 * Model version                  : 1.2722
 * Simulink Coder version         : 9.2 (R2019b) 18-Jul-2019
 * C/C++ source code generated on : Mon Jul 20 19:48:50 2020
 *
 * Target selection: ert.tlc
 * Embedded hardware selection: ARM Compatible->ARM Cortex
 * Code generation objectives:
 *    1. RAM efficiency
 *    2. ROM efficiency
 *    3. MISRA C:2012 guidelines
 * Validation result: Passed (23), Warning (1), Error (0)
 */

#ifndef RTW_HEADER_AvgVehicleSpeed_types_h_
#define RTW_HEADER_AvgVehicleSpeed_types_h_
#include "rtwtypes.h"
#ifndef DEFINED_TYPEDEF_FOR_PowerStatus_
#define DEFINED_TYPEDEF_FOR_PowerStatus_

typedef enum {
  PowerStatus_OFF = 0,                 /* Default value */
  PowerStatus_ON,
  PowerStatus_OVER,
  PowerStatus_UNDER
} PowerStatus;

#endif

#ifndef DEFINED_TYPEDEF_FOR_AvgVSpeedCtrl_Bus_
#define DEFINED_TYPEDEF_FOR_AvgVSpeedCtrl_Bus_

typedef struct {
  uint8_T KL30Init;
  uint8_T VRunning;
  uint8_T First500m;
  uint8_T EnCalc;
  uint16_T UpdateTimer;
  uint16_T mRollingMilleage;
  uint16_T mRollingMilleageBack;
  uint16_T msRollingTRTCBack;
  uint16_T msRollingTRTC;
  uint32_T ACCMilleage;
  uint32_T ACCTime;
} AvgVSpeedCtrl_Bus;

#endif
#endif                                 /* RTW_HEADER_AvgVehicleSpeed_types_h_ */

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