Vehicle Control Unit 0.01
This is the c library for controlling the car.
Loading...
Searching...
No Matches
Macros
Constants.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ADC1_CHANNEL_SIZE   7
 
#define ADC2_CHANNEL_SIZE   7
 
#define ADC3_CHANNEL_SIZE   8
 
#define ADC_CHANNELS   ADC1_CHANNEL_SIZE+ADC2_CHANNEL_SIZE+ADC3_CHANNEL_SIZE
 
#define ADC_VREF   5
 
#define DAC1_BUFFER_SIZE   1
 
#define DAC2_BUFFER_SIZE   1
 
#define NUM_DIGITAL_OUTPUTS   8
 
#define NUM_DIGITAL_INPUTS   3
 
#define MAX_A_PEDAL_POSITION   0.01
 
#define MIN_BRAKE_PRESSURE   800
 
#define MAX_MONITORS   3
 
#define TORQUE_LOW_MARGIN   2.0
 

Macro Definition Documentation

◆ ADC1_CHANNEL_SIZE

#define ADC1_CHANNEL_SIZE   7

Definition at line 2 of file Constants.h.

◆ ADC2_CHANNEL_SIZE

#define ADC2_CHANNEL_SIZE   7

Definition at line 3 of file Constants.h.

◆ ADC3_CHANNEL_SIZE

#define ADC3_CHANNEL_SIZE   8

Definition at line 4 of file Constants.h.

◆ ADC_CHANNELS

Definition at line 5 of file Constants.h.

◆ ADC_VREF

#define ADC_VREF   5

Definition at line 6 of file Constants.h.

◆ DAC1_BUFFER_SIZE

#define DAC1_BUFFER_SIZE   1

Definition at line 9 of file Constants.h.

◆ DAC2_BUFFER_SIZE

#define DAC2_BUFFER_SIZE   1

Definition at line 10 of file Constants.h.

◆ MAX_A_PEDAL_POSITION

#define MAX_A_PEDAL_POSITION   0.01

Definition at line 17 of file Constants.h.

◆ MAX_MONITORS

#define MAX_MONITORS   3

Definition at line 21 of file Constants.h.

◆ MIN_BRAKE_PRESSURE

#define MIN_BRAKE_PRESSURE   800

Definition at line 18 of file Constants.h.

◆ NUM_DIGITAL_INPUTS

#define NUM_DIGITAL_INPUTS   3

Definition at line 14 of file Constants.h.

◆ NUM_DIGITAL_OUTPUTS

#define NUM_DIGITAL_OUTPUTS   8

Definition at line 13 of file Constants.h.

◆ TORQUE_LOW_MARGIN

#define TORQUE_LOW_MARGIN   2.0

Definition at line 24 of file Constants.h.