Formula Student Electronics & Software
The code for the embedded software
Loading...
Searching...
No Matches
digitalSettings.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

constexpr int COMPONENT_TIMESTAMP_TIMEOUT = 500
 
constexpr int RES_TIMESTAMP_TIMEOUT = 200
 
constexpr int DC_VOLTAGE_TIMEOUT = 150
 
constexpr int DC_VOLTAGE_HOLD = 1000
 
constexpr int EBS_BUZZER_TIMEOUT = 8000
 
constexpr int LED_BLINK_INTERVAL = 500
 
constexpr int INITIAL_CHECKUP_STEP_TIMEOUT = 500
 
constexpr unsigned long READY_TIMEOUT_MS = 5000
 
constexpr unsigned long RELEASE_EBS_TIMEOUT_MS = 1000
 
constexpr unsigned long ENGAGE_EBS_TIMEOUT_MS = 5000
 
constexpr int WHEEL_MEASUREMENT_INTERVAL_MS = 30
 
constexpr int WHEEL_MEASUREMENT_INTERVAL_MIN = (WHEEL_MEASUREMENT_INTERVAL_MS / 60000.0)
 
constexpr int PULSES_PER_ROTATION = 48
 
constexpr int DIGITAL_INPUT_COUNTER_LIMIT = 5
 
constexpr int WD_PULSE_INTERVAL_MS = 10
 
constexpr int ASSI_BLUE_PIN = 4
 
constexpr int ASSI_YELLOW_PIN = 7
 
constexpr int SDC_LOGIC_CLOSE_SDC_PIN = 8
 
constexpr int EBS_VALVE_1_PIN = 25
 
constexpr int EBS_VALVE_2_PIN = 30
 
constexpr int MASTER_SDC_OUT_PIN = 31
 
constexpr int LWSS_PIN = 32
 
constexpr int SENSOR_PRESSURE_2_PIN = 6
 
constexpr int SENSOR_PRESSURE_1_PIN = 5
 
constexpr int MISSION_MANUAL_PIN = 39
 
constexpr int MISSION_AUTOCROSS_PIN = 41
 
constexpr int MISSION_TRACKDRIVE_PIN = 14
 
constexpr int MISSION_SKIDPAD_PIN = 16
 
constexpr int MISSION_INSPECTION_PIN = 18
 
constexpr int MISSION_ACCELERATION_PIN = 20
 
constexpr int MISSION_EBSTEST_PIN = 21
 
constexpr int SDC_STATE_PIN = 37
 
constexpr int ASMS_IN_PIN = 33
 

Variable Documentation

◆ ASMS_IN_PIN

constexpr int ASMS_IN_PIN = 33
constexpr

Definition at line 65 of file digitalSettings.hpp.

◆ ASSI_BLUE_PIN

constexpr int ASSI_BLUE_PIN = 4
constexpr

Definition at line 32 of file digitalSettings.hpp.

◆ ASSI_YELLOW_PIN

constexpr int ASSI_YELLOW_PIN = 7
constexpr

Definition at line 33 of file digitalSettings.hpp.

◆ COMPONENT_TIMESTAMP_TIMEOUT

constexpr int COMPONENT_TIMESTAMP_TIMEOUT = 500
constexpr

Definition at line 3 of file digitalSettings.hpp.

◆ DC_VOLTAGE_HOLD

constexpr int DC_VOLTAGE_HOLD = 1000
constexpr

Definition at line 6 of file digitalSettings.hpp.

◆ DC_VOLTAGE_TIMEOUT

constexpr int DC_VOLTAGE_TIMEOUT = 150
constexpr

Definition at line 5 of file digitalSettings.hpp.

◆ DIGITAL_INPUT_COUNTER_LIMIT

constexpr int DIGITAL_INPUT_COUNTER_LIMIT = 5
constexpr

Definition at line 22 of file digitalSettings.hpp.

◆ EBS_BUZZER_TIMEOUT

constexpr int EBS_BUZZER_TIMEOUT = 8000
constexpr

Definition at line 7 of file digitalSettings.hpp.

◆ EBS_VALVE_1_PIN

constexpr int EBS_VALVE_1_PIN = 25
constexpr

Definition at line 37 of file digitalSettings.hpp.

◆ EBS_VALVE_2_PIN

constexpr int EBS_VALVE_2_PIN = 30
constexpr

Definition at line 38 of file digitalSettings.hpp.

◆ ENGAGE_EBS_TIMEOUT_MS

constexpr unsigned long ENGAGE_EBS_TIMEOUT_MS = 5000
constexpr

Definition at line 12 of file digitalSettings.hpp.

◆ INITIAL_CHECKUP_STEP_TIMEOUT

constexpr int INITIAL_CHECKUP_STEP_TIMEOUT = 500
constexpr

Definition at line 9 of file digitalSettings.hpp.

◆ LED_BLINK_INTERVAL

constexpr int LED_BLINK_INTERVAL = 500
constexpr

Definition at line 8 of file digitalSettings.hpp.

◆ LWSS_PIN

constexpr int LWSS_PIN = 32
constexpr

Definition at line 47 of file digitalSettings.hpp.

◆ MASTER_SDC_OUT_PIN

constexpr int MASTER_SDC_OUT_PIN = 31
constexpr

Definition at line 39 of file digitalSettings.hpp.

◆ MISSION_ACCELERATION_PIN

constexpr int MISSION_ACCELERATION_PIN = 20
constexpr

Definition at line 60 of file digitalSettings.hpp.

◆ MISSION_AUTOCROSS_PIN

constexpr int MISSION_AUTOCROSS_PIN = 41
constexpr

Definition at line 56 of file digitalSettings.hpp.

◆ MISSION_EBSTEST_PIN

constexpr int MISSION_EBSTEST_PIN = 21
constexpr

Definition at line 61 of file digitalSettings.hpp.

◆ MISSION_INSPECTION_PIN

constexpr int MISSION_INSPECTION_PIN = 18
constexpr

Definition at line 59 of file digitalSettings.hpp.

◆ MISSION_MANUAL_PIN

constexpr int MISSION_MANUAL_PIN = 39
constexpr

Definition at line 55 of file digitalSettings.hpp.

◆ MISSION_SKIDPAD_PIN

constexpr int MISSION_SKIDPAD_PIN = 16
constexpr

Definition at line 58 of file digitalSettings.hpp.

◆ MISSION_TRACKDRIVE_PIN

constexpr int MISSION_TRACKDRIVE_PIN = 14
constexpr

Definition at line 57 of file digitalSettings.hpp.

◆ PULSES_PER_ROTATION

constexpr int PULSES_PER_ROTATION = 48
constexpr

Definition at line 18 of file digitalSettings.hpp.

◆ READY_TIMEOUT_MS

constexpr unsigned long READY_TIMEOUT_MS = 5000
constexpr

Definition at line 10 of file digitalSettings.hpp.

◆ RELEASE_EBS_TIMEOUT_MS

constexpr unsigned long RELEASE_EBS_TIMEOUT_MS = 1000
constexpr

Definition at line 11 of file digitalSettings.hpp.

◆ RES_TIMESTAMP_TIMEOUT

constexpr int RES_TIMESTAMP_TIMEOUT = 200
constexpr

Definition at line 4 of file digitalSettings.hpp.

◆ SDC_LOGIC_CLOSE_SDC_PIN

constexpr int SDC_LOGIC_CLOSE_SDC_PIN = 8
constexpr

Definition at line 35 of file digitalSettings.hpp.

◆ SDC_STATE_PIN

constexpr int SDC_STATE_PIN = 37
constexpr

Definition at line 63 of file digitalSettings.hpp.

◆ SENSOR_PRESSURE_1_PIN

constexpr int SENSOR_PRESSURE_1_PIN = 5
constexpr

Definition at line 51 of file digitalSettings.hpp.

◆ SENSOR_PRESSURE_2_PIN

constexpr int SENSOR_PRESSURE_2_PIN = 6
constexpr

Definition at line 50 of file digitalSettings.hpp.

◆ WD_PULSE_INTERVAL_MS

constexpr int WD_PULSE_INTERVAL_MS = 10
constexpr

Definition at line 23 of file digitalSettings.hpp.

◆ WHEEL_MEASUREMENT_INTERVAL_MIN

constexpr int WHEEL_MEASUREMENT_INTERVAL_MIN = (WHEEL_MEASUREMENT_INTERVAL_MS / 60000.0)
constexpr

Definition at line 17 of file digitalSettings.hpp.

◆ WHEEL_MEASUREMENT_INTERVAL_MS

constexpr int WHEEL_MEASUREMENT_INTERVAL_MS = 30
constexpr

Definition at line 16 of file digitalSettings.hpp.