ASCEND Flight Software
|
Central location for pinout and config defines. More...
Go to the source code of this file.
Macros | |
#define | ERROR_PIN_2 22 |
Error display bit 2. | |
#define | ERROR_PIN_1 15 |
Error display bit 1. | |
#define | ERROR_PIN_0 14 |
Error display bit 0. | |
#define | LSM9DS1_XGCS_PIN 3 |
LSM9DS1 IMU Accelerometer/Gyroscope Pin. | |
#define | LSM9DS1_MCS_PIN 28 |
LSM9DS1 IMU Magnetometer Pin. | |
#define | SERIAL2_RX_PIN 9 |
MTK3339 GPS CS Pin. | |
#define | SERIAL2_TX_PIN 8 |
#define | GPS_I2C 1 |
#define | UV_I2C_ADDR 0x74 |
UV sensor I2C Addresses. | |
#define | OZONE_I2C_ADDR 0x73 |
Ozone I2C address. | |
#define | I2C1_SCL_PIN 27 |
I2C1 pins. | |
#define | I2C1_SDA_PIN 26 |
#define | TMP117_I2C_ADDR 0x48 |
Default I2C Address for TMP117. | |
#define | STRATOSENSE_I2C Wire1 |
StratoSense board I2C Bus. | |
#define | STORING_PACKETS 1 |
Toggle sending packets vs C strings over transfer queue. | |
#define | SERIAL1_RX_PIN 1 |
UART0 RX Pin. | |
#define | SERIAL1_TX_PIN 0 |
UART0 RX Pin. | |
#define | SD_SPI1 1 |
SD Card SPI Toggle. | |
#define | SD_CS_PIN 13 |
SD Card SPI CS Pin. | |
#define | FLASH_SPI1 0 |
Flash memory SPI Toggle. | |
#define | FLASH_CS_PIN 17 |
Flash chip SPI CS Pin. | |
#define | SPI1_MISO_PIN 12 |
SPI1 MISO Pin. | |
#define | SPI1_SCK_PIN 10 |
SPI1 SCK Pin. | |
#define | SPI1_MOSI_PIN 11 |
SPI1 MOSI Pin. | |
#define | ON_BOARD_LED_PIN 25 |
Built-in LED Pin. | |
#define | HEARTBEAT_PIN_0 20 |
Core 0 Heartbeat Pin. | |
#define | HEARTBEAT_PIN_1 21 |
Core 1 Heartbeat Pin. | |
#define | QT_ENTRY_SIZE 500 |
#define | QT_MAX_SIZE 10 |
#define | PACKET_SYSTEM_TESTING 1 |
Variables | |
const uint8_t | SYNC_BYTES [] = {'A', 'S', 'U', '!'} |
Central location for pinout and config defines.
All pin definitions must include PIN in their name to allow the conflict checker to catch pin conflits ex: SD_CS_PIN instead of just SD_CS
#define ERROR_PIN_0 14 |
Error display bit 0.
#define ERROR_PIN_1 15 |
Error display bit 1.
#define ERROR_PIN_2 22 |
Error display bit 2.
#define FLASH_CS_PIN 17 |
Flash chip SPI CS Pin.
#define FLASH_SPI1 0 |
Flash memory SPI Toggle.
#define GPS_I2C 1 |
#define HEARTBEAT_PIN_0 20 |
Core 0 Heartbeat Pin.
#define HEARTBEAT_PIN_1 21 |
Core 1 Heartbeat Pin.
#define I2C1_SCL_PIN 27 |
I2C1 pins.
#define I2C1_SDA_PIN 26 |
#define LSM9DS1_MCS_PIN 28 |
LSM9DS1 IMU Magnetometer Pin.
#define LSM9DS1_XGCS_PIN 3 |
LSM9DS1 IMU Accelerometer/Gyroscope Pin.
#define ON_BOARD_LED_PIN 25 |
Built-in LED Pin.
#define OZONE_I2C_ADDR 0x73 |
Ozone I2C address.
#define PACKET_SYSTEM_TESTING 1 |
#define QT_ENTRY_SIZE 500 |
#define QT_MAX_SIZE 10 |
#define SD_CS_PIN 13 |
SD Card SPI CS Pin.
#define SD_SPI1 1 |
SD Card SPI Toggle.
#define SERIAL1_RX_PIN 1 |
UART0 RX Pin.
#define SERIAL1_TX_PIN 0 |
UART0 RX Pin.
#define SERIAL2_RX_PIN 9 |
MTK3339 GPS CS Pin.
#define SERIAL2_TX_PIN 8 |
#define SPI1_MISO_PIN 12 |
SPI1 MISO Pin.
#define SPI1_MOSI_PIN 11 |
SPI1 MOSI Pin.
#define SPI1_SCK_PIN 10 |
SPI1 SCK Pin.
#define STORING_PACKETS 1 |
Toggle sending packets vs C strings over transfer queue.
#define STRATOSENSE_I2C Wire1 |
StratoSense board I2C Bus.
#define TMP117_I2C_ADDR 0x48 |
Default I2C Address for TMP117.
#define UV_I2C_ADDR 0x74 |
UV sensor I2C Addresses.
const uint8_t SYNC_BYTES[] = {'A', 'S', 'U', '!'} |