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.

Macros

#define COMPONENT_TIMESTAMP_TIMEOUT   500
 
#define RES_TIMESTAMP_TIMEOUT   200
 
#define EBS_BUZZER_TIMEOUT   8000
 
#define LED_BLINK_INTERVAL   500
 
#define INITIAL_CHECKUP_STEP_TIMEOUT   500
 
#define WATCHDOG_TOGGLE_FREQUENCY   100
 
#define WATCHDOG_TIMEOUT   500
 
#define WHEEL_MEASUREMENT_INTERVAL_MS   30
 
#define WHEEL_MEASUREMENT_INTERVAL_MIN   (WHEEL_MEASUREMENT_INTERVAL_MS / 60000.0)
 
#define PULSES_PER_ROTATION   48
 
#define DIGITAL_INPUT_COUNTER_LIMIT   5
 
#define WD_PULSE_INTERVAL_MS   10
 
#define ASSI_BLUE_PIN   7
 
#define ASSI_YELLOW_PIN   4
 
#define SDC_LOGIC_CLOSE_SDC_PIN   8
 
#define SDC_LOGIC_WATCHDOG_OUT_PIN   10
 
#define EBS_VALVE_1_PIN   29
 
#define EBS_VALVE_2_PIN   30
 
#define MASTER_SDC_OUT_PIN   31
 
#define LWSS_PIN   32
 
#define SENSOR_PRESSURE_2_PIN   6
 
#define SENSOR_PRESSURE_1_PIN   5
 
#define MISSION_MANUAL_PIN   39
 
#define MISSION_AUTOCROSS_PIN   41
 
#define MISSION_TRACKDRIVE_PIN   14
 
#define MISSION_SKIDPAD_PIN   16
 
#define MISSION_INSPECTION_PIN   18
 
#define MISSION_ACCELERATION_PIN   20
 
#define MISSION_EBSTEST_PIN   21
 
#define SDC_STATE_PIN   37
 
#define SDC_LOGIC_WATCHDOG_IN_PIN   35
 
#define ASMS_IN_PIN   33
 

Macro Definition Documentation

◆ ASMS_IN_PIN

#define ASMS_IN_PIN   33

Definition at line 62 of file digitalSettings.hpp.

◆ ASSI_BLUE_PIN

#define ASSI_BLUE_PIN   7

Definition at line 27 of file digitalSettings.hpp.

◆ ASSI_YELLOW_PIN

#define ASSI_YELLOW_PIN   4

Definition at line 28 of file digitalSettings.hpp.

◆ COMPONENT_TIMESTAMP_TIMEOUT

#define COMPONENT_TIMESTAMP_TIMEOUT   500

Definition at line 3 of file digitalSettings.hpp.

◆ DIGITAL_INPUT_COUNTER_LIMIT

#define DIGITAL_INPUT_COUNTER_LIMIT   5

Definition at line 17 of file digitalSettings.hpp.

◆ EBS_BUZZER_TIMEOUT

#define EBS_BUZZER_TIMEOUT   8000

Definition at line 5 of file digitalSettings.hpp.

◆ EBS_VALVE_1_PIN

#define EBS_VALVE_1_PIN   29

Definition at line 33 of file digitalSettings.hpp.

◆ EBS_VALVE_2_PIN

#define EBS_VALVE_2_PIN   30

Definition at line 34 of file digitalSettings.hpp.

◆ INITIAL_CHECKUP_STEP_TIMEOUT

#define INITIAL_CHECKUP_STEP_TIMEOUT   500

Definition at line 7 of file digitalSettings.hpp.

◆ LED_BLINK_INTERVAL

#define LED_BLINK_INTERVAL   500

Definition at line 6 of file digitalSettings.hpp.

◆ LWSS_PIN

#define LWSS_PIN   32

Definition at line 43 of file digitalSettings.hpp.

◆ MASTER_SDC_OUT_PIN

#define MASTER_SDC_OUT_PIN   31

Definition at line 35 of file digitalSettings.hpp.

◆ MISSION_ACCELERATION_PIN

#define MISSION_ACCELERATION_PIN   20

Definition at line 56 of file digitalSettings.hpp.

◆ MISSION_AUTOCROSS_PIN

#define MISSION_AUTOCROSS_PIN   41

Definition at line 52 of file digitalSettings.hpp.

◆ MISSION_EBSTEST_PIN

#define MISSION_EBSTEST_PIN   21

Definition at line 57 of file digitalSettings.hpp.

◆ MISSION_INSPECTION_PIN

#define MISSION_INSPECTION_PIN   18

Definition at line 55 of file digitalSettings.hpp.

◆ MISSION_MANUAL_PIN

#define MISSION_MANUAL_PIN   39

Definition at line 51 of file digitalSettings.hpp.

◆ MISSION_SKIDPAD_PIN

#define MISSION_SKIDPAD_PIN   16

Definition at line 54 of file digitalSettings.hpp.

◆ MISSION_TRACKDRIVE_PIN

#define MISSION_TRACKDRIVE_PIN   14

Definition at line 53 of file digitalSettings.hpp.

◆ PULSES_PER_ROTATION

#define PULSES_PER_ROTATION   48

Definition at line 13 of file digitalSettings.hpp.

◆ RES_TIMESTAMP_TIMEOUT

#define RES_TIMESTAMP_TIMEOUT   200

Definition at line 4 of file digitalSettings.hpp.

◆ SDC_LOGIC_CLOSE_SDC_PIN

#define SDC_LOGIC_CLOSE_SDC_PIN   8

Definition at line 31 of file digitalSettings.hpp.

◆ SDC_LOGIC_WATCHDOG_IN_PIN

#define SDC_LOGIC_WATCHDOG_IN_PIN   35

Definition at line 61 of file digitalSettings.hpp.

◆ SDC_LOGIC_WATCHDOG_OUT_PIN

#define SDC_LOGIC_WATCHDOG_OUT_PIN   10

Definition at line 32 of file digitalSettings.hpp.

◆ SDC_STATE_PIN

#define SDC_STATE_PIN   37

Definition at line 60 of file digitalSettings.hpp.

◆ SENSOR_PRESSURE_1_PIN

#define SENSOR_PRESSURE_1_PIN   5

Definition at line 47 of file digitalSettings.hpp.

◆ SENSOR_PRESSURE_2_PIN

#define SENSOR_PRESSURE_2_PIN   6

Definition at line 46 of file digitalSettings.hpp.

◆ WATCHDOG_TIMEOUT

#define WATCHDOG_TIMEOUT   500

Definition at line 9 of file digitalSettings.hpp.

◆ WATCHDOG_TOGGLE_FREQUENCY

#define WATCHDOG_TOGGLE_FREQUENCY   100

Definition at line 8 of file digitalSettings.hpp.

◆ WD_PULSE_INTERVAL_MS

#define WD_PULSE_INTERVAL_MS   10

Definition at line 18 of file digitalSettings.hpp.

◆ WHEEL_MEASUREMENT_INTERVAL_MIN

#define WHEEL_MEASUREMENT_INTERVAL_MIN   (WHEEL_MEASUREMENT_INTERVAL_MS / 60000.0)

Definition at line 12 of file digitalSettings.hpp.

◆ WHEEL_MEASUREMENT_INTERVAL_MS

#define WHEEL_MEASUREMENT_INTERVAL_MS   30

Definition at line 11 of file digitalSettings.hpp.