ESP Line Following Buggy
2nd Year Embedded System Project (Group 48 - 2023/24)
Loading...
Searching...
No Matches
pin_assignments.h File Reference

MCU pin assigments in one file for easy modification. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LED_PIN   LED1
 
#define MOTORL_BIPOLAR_PIN   PA_6
 
#define MOTORL_DIRECTION_PIN   PA_7
 
#define MOTORL_PWM_PIN   PB_6
 
#define MOTORR_BIPOLAR_PIN   PC_7
 
#define MOTORR_DIRECTION_PIN   PA_9
 
#define MOTORR_PWM_PIN   PA_8
 
#define DRIVER_ENABLE_PIN   PB_10
 
#define DRIVER_MONITOR_PIN   PB_4
 
#define MOTORL_CHA_PIN   PA_0
 
#define MOTORL_CHB_PIN   PA_1
 
#define MOTORR_CHA_PIN   PB_3
 
#define MOTORR_CHB_PIN   PA_10
 
#define BT_TX_PIN   PA_11
 
#define BT_RX_PIN   PA_12
 
#define SENSOR0_OUT_PIN   PB_2
 
#define SENSOR1_OUT_PIN   PB_1
 
#define SENSOR2_OUT_PIN   PB_15
 
#define SENSOR3_OUT_PIN   PB_14
 
#define SENSOR4_OUT_PIN   PB_13
 
#define SENSOR5_OUT_PIN   PC_4
 
#define SENSOR0_IN_PIN   PC_2
 
#define SENSOR1_IN_PIN   PC_3
 
#define SENSOR2_IN_PIN   PA_4
 
#define SENSOR3_IN_PIN   PB_0
 
#define SENSOR4_IN_PIN   PC_1
 
#define SENSOR5_IN_PIN   PC_0
 

Detailed Description

MCU pin assigments in one file for easy modification.

Definition in file pin_assignments.h.

Macro Definition Documentation

◆ BT_RX_PIN

#define BT_RX_PIN   PA_12

Definition at line 35 of file pin_assignments.h.

◆ BT_TX_PIN

#define BT_TX_PIN   PA_11

Definition at line 34 of file pin_assignments.h.

◆ DRIVER_ENABLE_PIN

#define DRIVER_ENABLE_PIN   PB_10

Definition at line 24 of file pin_assignments.h.

◆ DRIVER_MONITOR_PIN

#define DRIVER_MONITOR_PIN   PB_4

Definition at line 25 of file pin_assignments.h.

◆ LED_PIN

#define LED_PIN   LED1

Definition at line 11 of file pin_assignments.h.

◆ MOTORL_BIPOLAR_PIN

#define MOTORL_BIPOLAR_PIN   PA_6

Definition at line 14 of file pin_assignments.h.

◆ MOTORL_CHA_PIN

#define MOTORL_CHA_PIN   PA_0

Definition at line 28 of file pin_assignments.h.

◆ MOTORL_CHB_PIN

#define MOTORL_CHB_PIN   PA_1

Definition at line 29 of file pin_assignments.h.

◆ MOTORL_DIRECTION_PIN

#define MOTORL_DIRECTION_PIN   PA_7

Definition at line 15 of file pin_assignments.h.

◆ MOTORL_PWM_PIN

#define MOTORL_PWM_PIN   PB_6

Definition at line 16 of file pin_assignments.h.

◆ MOTORR_BIPOLAR_PIN

#define MOTORR_BIPOLAR_PIN   PC_7

Definition at line 19 of file pin_assignments.h.

◆ MOTORR_CHA_PIN

#define MOTORR_CHA_PIN   PB_3

Definition at line 30 of file pin_assignments.h.

◆ MOTORR_CHB_PIN

#define MOTORR_CHB_PIN   PA_10

Definition at line 31 of file pin_assignments.h.

◆ MOTORR_DIRECTION_PIN

#define MOTORR_DIRECTION_PIN   PA_9

Definition at line 20 of file pin_assignments.h.

◆ MOTORR_PWM_PIN

#define MOTORR_PWM_PIN   PA_8

Definition at line 21 of file pin_assignments.h.

◆ SENSOR0_IN_PIN

#define SENSOR0_IN_PIN   PC_2

Definition at line 46 of file pin_assignments.h.

◆ SENSOR0_OUT_PIN

#define SENSOR0_OUT_PIN   PB_2

Definition at line 38 of file pin_assignments.h.

◆ SENSOR1_IN_PIN

#define SENSOR1_IN_PIN   PC_3

Definition at line 47 of file pin_assignments.h.

◆ SENSOR1_OUT_PIN

#define SENSOR1_OUT_PIN   PB_1

Definition at line 39 of file pin_assignments.h.

◆ SENSOR2_IN_PIN

#define SENSOR2_IN_PIN   PA_4

Definition at line 48 of file pin_assignments.h.

◆ SENSOR2_OUT_PIN

#define SENSOR2_OUT_PIN   PB_15

Definition at line 40 of file pin_assignments.h.

◆ SENSOR3_IN_PIN

#define SENSOR3_IN_PIN   PB_0

Definition at line 49 of file pin_assignments.h.

◆ SENSOR3_OUT_PIN

#define SENSOR3_OUT_PIN   PB_14

Definition at line 41 of file pin_assignments.h.

◆ SENSOR4_IN_PIN

#define SENSOR4_IN_PIN   PC_1

Definition at line 50 of file pin_assignments.h.

◆ SENSOR4_OUT_PIN

#define SENSOR4_OUT_PIN   PB_13

Definition at line 42 of file pin_assignments.h.

◆ SENSOR5_IN_PIN

#define SENSOR5_IN_PIN   PC_0

Definition at line 51 of file pin_assignments.h.

◆ SENSOR5_OUT_PIN

#define SENSOR5_OUT_PIN   PC_4

Definition at line 43 of file pin_assignments.h.