STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
pins.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PIN_SCLK   2
#define PIN_MOSI   3
#define PIN_MISO   16
#define PIN_MX25_CS   0
#define PIN_ADC_CS   1
#define PIN_ACCEL_CS   17
#define PIN_IMU_CS   20
#define PIN_SDA   4
#define PIN_SCL   5
#define PIN_BARO_INT   6
#define PIN_MX25_RESET   7
#define PIN_DRIVE_1   9
#define PIN_DRIVE_2   18
#define PIN_DRIVE_3   19
#define PIN_DRIVE_4   8
#define PIN_DRIVE_5   10
#define PIN_DRIVE_6   11
#define PIN_ACCEL_INT2   15
#define PIN_IMU_INT1   21
#define PIN_IMU_INT2   22
#define PIN_ACCEL_INT1   23

Macro Definition Documentation

◆ PIN_ACCEL_CS

#define PIN_ACCEL_CS   17

Definition at line 13 of file pins.h.

Referenced by g_lis().

◆ PIN_ACCEL_INT1

#define PIN_ACCEL_INT1   23

Definition at line 34 of file pins.h.

Referenced by setup().

◆ PIN_ACCEL_INT2

#define PIN_ACCEL_INT2   15

Definition at line 31 of file pins.h.

◆ PIN_ADC_CS

#define PIN_ADC_CS   1

Definition at line 12 of file pins.h.

Referenced by g_adc(), and setup().

◆ PIN_BARO_INT

#define PIN_BARO_INT   6

Definition at line 20 of file pins.h.

◆ PIN_DRIVE_1

#define PIN_DRIVE_1   9

Definition at line 24 of file pins.h.

Referenced by driveAllSolenoids(), and flightStateInit().

◆ PIN_DRIVE_2

#define PIN_DRIVE_2   18

Definition at line 25 of file pins.h.

Referenced by driveAllSolenoids(), and flightStateInit().

◆ PIN_DRIVE_3

#define PIN_DRIVE_3   19

Definition at line 26 of file pins.h.

Referenced by driveAllSolenoids(), and flightStateInit().

◆ PIN_DRIVE_4

#define PIN_DRIVE_4   8

Definition at line 27 of file pins.h.

Referenced by driveAllSolenoids(), and flightStateInit().

◆ PIN_DRIVE_5

#define PIN_DRIVE_5   10

Definition at line 28 of file pins.h.

Referenced by driveAllSolenoids(), and flightStateInit().

◆ PIN_DRIVE_6

#define PIN_DRIVE_6   11

Definition at line 29 of file pins.h.

Referenced by driveAllSolenoids(), and flightStateInit().

◆ PIN_IMU_CS

#define PIN_IMU_CS   20

Definition at line 14 of file pins.h.

Referenced by setup().

◆ PIN_IMU_INT1

#define PIN_IMU_INT1   21

Definition at line 32 of file pins.h.

Referenced by setup().

◆ PIN_IMU_INT2

#define PIN_IMU_INT2   22

Definition at line 33 of file pins.h.

◆ PIN_MISO

#define PIN_MISO   16

Definition at line 8 of file pins.h.

Referenced by setup().

◆ PIN_MOSI

#define PIN_MOSI   3

Definition at line 7 of file pins.h.

Referenced by setup().

◆ PIN_MX25_CS

#define PIN_MX25_CS   0

Definition at line 11 of file pins.h.

Referenced by g_flash().

◆ PIN_MX25_RESET

#define PIN_MX25_RESET   7

Definition at line 21 of file pins.h.

Referenced by setup().

◆ PIN_SCL

#define PIN_SCL   5

Definition at line 18 of file pins.h.

Referenced by setup().

◆ PIN_SCLK

#define PIN_SCLK   2

Definition at line 6 of file pins.h.

Referenced by setup().

◆ PIN_SDA

#define PIN_SDA   4

Definition at line 17 of file pins.h.

Referenced by setup().