NinjaFlight
|
Go to the source code of this file.
Macros | |
#define | USE_QUAD_MIXER_ONLY 0 |
#define | TARGET_BOARD_IDENTIFIER "CLBR" |
#define | USE_TILT 0 |
#define | LED0_GPIO GPIOC |
#define | LED0_PIN Pin_15 |
#define | LED0_PERIPHERAL RCC_AHBPeriph_GPIOC |
#define | LED1_GPIO GPIOC |
#define | LED1_PIN Pin_14 |
#define | LED1_PERIPHERAL RCC_AHBPeriph_GPIOC |
#define | LED2_GPIO GPIOC |
#define | LED2_PIN Pin_13 |
#define | LED2_PERIPHERAL RCC_AHBPeriph_GPIOC |
#define | BEEP_GPIO GPIOB |
#define | BEEP_PIN Pin_13 |
#define | BEEP_PERIPHERAL RCC_AHBPeriph_GPIOB |
#define | BEEPER_INVERTED |
#define | MPU6500_CS_GPIO_CLK_PERIPHERAL RCC_AHBPeriph_GPIOA |
#define | MPU6500_CS_GPIO GPIOA |
#define | MPU6500_CS_PIN GPIO_Pin_4 |
#define | MPU6500_SPI_INSTANCE SPI1 |
#define | USE_SPI |
#define | USE_SPI_DEVICE_1 |
#define | SPI1_GPIO GPIOB |
#define | SPI1_NSS_GPIO GPIOA |
#define | SPI1_NSS_PERIPHERAL RCC_AHBPeriph_GPIOA |
#define | SPI1_NSS_PIN GPIO_Pin_4 |
#define | SPI1_NSS_PIN_SOURCE GPIO_PinSource4 |
#define | SPI1_GPIO_PERIPHERAL RCC_AHBPeriph_GPIOB |
#define | SPI1_SCK_PIN GPIO_Pin_3 |
#define | SPI1_SCK_PIN_SOURCE GPIO_PinSource3 |
#define | SPI1_MISO_PIN GPIO_Pin_4 |
#define | SPI1_MISO_PIN_SOURCE GPIO_PinSource4 |
#define | SPI1_MOSI_PIN GPIO_Pin_5 |
#define | SPI1_MOSI_PIN_SOURCE GPIO_PinSource5 |
#define | USABLE_TIMER_CHANNEL_COUNT 11 |
#define | EXTI_CALLBACK_HANDLER_COUNT 1 |
#define | GYRO |
#define | USE_GYRO_MPU6500 |
#define | USE_GYRO_SPI_MPU6500 |
#define | GYRO_MPU6500_ALIGN CW270_DEG |
#define | ACC |
#define | USE_ACC_MPU6500 |
#define | USE_ACC_SPI_MPU6500 |
#define | ACC_MPU6500_ALIGN CW270_DEG |
#define | BARO |
#define | USE_BARO_MS5611 |
#define | USE_MAG 1 |
#define | USE_MPU9250_MAG |
#define | USE_MAG_HMC5883 |
#define | USE_MAG_AK8963 |
#define | USE_MAG_AK8975 |
#define | USE_BEEPER 1 |
#define | LED0 |
#define | LED1 |
#define | LED2 |
#define | USB_IO |
#define | USE_VCP |
#define | USE_UART1 |
#define | USE_UART2 |
#define | USE_UART3 |
#define | SERIAL_PORT_COUNT 4 |
#define | UART1_TX_PIN GPIO_Pin_4 |
#define | UART1_RX_PIN GPIO_Pin_5 |
#define | UART1_GPIO GPIOC |
#define | UART1_GPIO_AF GPIO_AF_7 |
#define | UART1_TX_PINSOURCE GPIO_PinSource4 |
#define | UART1_RX_PINSOURCE GPIO_PinSource5 |
#define | UART2_TX_PIN GPIO_Pin_14 |
#define | UART2_RX_PIN GPIO_Pin_15 |
#define | UART2_GPIO GPIOA |
#define | UART2_GPIO_AF GPIO_AF_7 |
#define | UART2_TX_PINSOURCE GPIO_PinSource14 |
#define | UART2_RX_PINSOURCE GPIO_PinSource15 |
#define | UART3_TX_PIN GPIO_Pin_10 |
#define | UART3_RX_PIN GPIO_Pin_11 |
#define | UART3_GPIO GPIOB |
#define | UART3_GPIO_AF GPIO_AF_7 |
#define | UART3_TX_PINSOURCE GPIO_PinSource10 |
#define | UART3_RX_PINSOURCE GPIO_PinSource11 |
#define | USE_I2C |
#define | I2C_DEVICE (I2CDEV_2) |
#define | I2C2_SCL_GPIO GPIOA |
#define | I2C2_SCL_GPIO_AF GPIO_AF_4 |
#define | I2C2_SCL_PIN GPIO_Pin_9 |
#define | I2C2_SCL_PIN_SOURCE GPIO_PinSource9 |
#define | I2C2_SCL_CLK_SOURCE RCC_AHBPeriph_GPIOA |
#define | I2C2_SDA_GPIO GPIOA |
#define | I2C2_SDA_GPIO_AF GPIO_AF_4 |
#define | I2C2_SDA_PIN GPIO_Pin_10 |
#define | I2C2_SDA_PIN_SOURCE GPIO_PinSource10 |
#define | I2C2_SDA_CLK_SOURCE RCC_AHBPeriph_GPIOA |
#define | USE_ADC |
#define | ADC_INSTANCE ADC1 |
#define | ADC_AHB_PERIPHERAL RCC_AHBPeriph_DMA1 |
#define | ADC_DMA_CHANNEL DMA1_Channel1 |
#define | BOARD_HAS_VOLTAGE_DIVIDER |
#define | VBAT_ADC_GPIO GPIOC |
#define | VBAT_ADC_GPIO_PIN GPIO_Pin_0 |
#define | VBAT_ADC_CHANNEL ADC_Channel_6 |
#define | CURRENT_METER_ADC_GPIO GPIOC |
#define | CURRENT_METER_ADC_GPIO_PIN GPIO_Pin_1 |
#define | CURRENT_METER_ADC_CHANNEL ADC_Channel_7 |
#define | RSSI_ADC_GPIO GPIOC |
#define | RSSI_ADC_GPIO_PIN GPIO_Pin_2 |
#define | RSSI_ADC_CHANNEL ADC_Channel_8 |
#define | EXTERNAL1_ADC_GPIO GPIOC |
#define | EXTERNAL1_ADC_GPIO_PIN GPIO_Pin_3 |
#define | EXTERNAL1_ADC_CHANNEL ADC_Channel_9 |
#define | LED_STRIP |
#define | LED_STRIP_TIMER TIM16 |
#define | WS2811_GPIO GPIOA |
#define | WS2811_GPIO_AHB_PERIPHERAL RCC_AHBPeriph_GPIOA |
#define | WS2811_GPIO_AF GPIO_AF_1 |
#define | WS2811_PIN GPIO_Pin_6 |
#define | WS2811_PIN_SOURCE GPIO_PinSource6 |
#define | WS2811_TIMER TIM16 |
#define | WS2811_TIMER_APB2_PERIPHERAL RCC_APB2Periph_TIM16 |
#define | WS2811_DMA_CHANNEL DMA1_Channel3 |
#define | WS2811_IRQ DMA1_Channel3_IRQn |
#define | WS2811_DMA_TC_FLAG DMA1_FLAG_TC3 |
#define | WS2811_DMA_HANDLER_IDENTIFER DMA1_CH3_HANDLER |
#define | USE_MPU_DATA_READY_SIGNAL |
#define | ENSURE_MPU_DATA_READY_IS_LOW |
#define | USE_SERIAL_4WAY_BLHELI_INTERFACE |
#define | DEFAULT_RX_FEATURE FEATURE_RX_PPM |
#define | DEFAULT FEATURES (FEATURE_ONESHOT125 | FEATURE_LED_STRIP) |
#define | BLACKBOX |
#define | GPS |
#define | GTUNE |
#define | TELEMETRY |
#define | SERIAL_RX |
#define | USE_SERVOS |
#define | USE_CLI |
#define ACC |
#define ACC_MPU6500_ALIGN CW270_DEG |
#define ADC_AHB_PERIPHERAL RCC_AHBPeriph_DMA1 |
#define ADC_DMA_CHANNEL DMA1_Channel1 |
#define ADC_INSTANCE ADC1 |
#define BARO |
#define BEEP_GPIO GPIOB |
#define BEEP_PERIPHERAL RCC_AHBPeriph_GPIOB |
#define BEEP_PIN Pin_13 |
#define BEEPER_INVERTED |
#define BLACKBOX |
#define BOARD_HAS_VOLTAGE_DIVIDER |
#define CURRENT_METER_ADC_CHANNEL ADC_Channel_7 |
#define CURRENT_METER_ADC_GPIO GPIOC |
#define CURRENT_METER_ADC_GPIO_PIN GPIO_Pin_1 |
#define DEFAULT FEATURES (FEATURE_ONESHOT125 | FEATURE_LED_STRIP) |
#define DEFAULT_RX_FEATURE FEATURE_RX_PPM |
#define ENSURE_MPU_DATA_READY_IS_LOW |
#define EXTERNAL1_ADC_CHANNEL ADC_Channel_9 |
#define EXTERNAL1_ADC_GPIO GPIOC |
#define EXTERNAL1_ADC_GPIO_PIN GPIO_Pin_3 |
#define EXTI_CALLBACK_HANDLER_COUNT 1 |
#define GPS |
#define GTUNE |
#define GYRO |
#define GYRO_MPU6500_ALIGN CW270_DEG |
#define I2C2_SCL_CLK_SOURCE RCC_AHBPeriph_GPIOA |
#define I2C2_SCL_GPIO GPIOA |
#define I2C2_SCL_GPIO_AF GPIO_AF_4 |
#define I2C2_SCL_PIN GPIO_Pin_9 |
#define I2C2_SCL_PIN_SOURCE GPIO_PinSource9 |
#define I2C2_SDA_CLK_SOURCE RCC_AHBPeriph_GPIOA |
#define I2C2_SDA_GPIO GPIOA |
#define I2C2_SDA_GPIO_AF GPIO_AF_4 |
#define I2C2_SDA_PIN GPIO_Pin_10 |
#define I2C2_SDA_PIN_SOURCE GPIO_PinSource10 |
#define I2C_DEVICE (I2CDEV_2) |
#define LED0 |
#define LED0_GPIO GPIOC |
#define LED0_PERIPHERAL RCC_AHBPeriph_GPIOC |
#define LED0_PIN Pin_15 |
#define LED1 |
#define LED1_GPIO GPIOC |
#define LED1_PERIPHERAL RCC_AHBPeriph_GPIOC |
#define LED1_PIN Pin_14 |
#define LED2 |
#define LED2_GPIO GPIOC |
#define LED2_PERIPHERAL RCC_AHBPeriph_GPIOC |
#define LED2_PIN Pin_13 |
#define LED_STRIP |
#define LED_STRIP_TIMER TIM16 |
#define MPU6500_CS_GPIO GPIOA |
#define MPU6500_CS_GPIO_CLK_PERIPHERAL RCC_AHBPeriph_GPIOA |
#define MPU6500_CS_PIN GPIO_Pin_4 |
#define MPU6500_SPI_INSTANCE SPI1 |
#define RSSI_ADC_CHANNEL ADC_Channel_8 |
#define RSSI_ADC_GPIO GPIOC |
#define RSSI_ADC_GPIO_PIN GPIO_Pin_2 |
#define SERIAL_PORT_COUNT 4 |
#define SERIAL_RX |
#define SPI1_GPIO GPIOB |
#define SPI1_GPIO_PERIPHERAL RCC_AHBPeriph_GPIOB |
#define SPI1_MISO_PIN GPIO_Pin_4 |
#define SPI1_MISO_PIN_SOURCE GPIO_PinSource4 |
#define SPI1_MOSI_PIN GPIO_Pin_5 |
#define SPI1_MOSI_PIN_SOURCE GPIO_PinSource5 |
#define SPI1_NSS_GPIO GPIOA |
#define SPI1_NSS_PERIPHERAL RCC_AHBPeriph_GPIOA |
#define SPI1_NSS_PIN GPIO_Pin_4 |
#define SPI1_NSS_PIN_SOURCE GPIO_PinSource4 |
#define SPI1_SCK_PIN GPIO_Pin_3 |
#define SPI1_SCK_PIN_SOURCE GPIO_PinSource3 |
#define TARGET_BOARD_IDENTIFIER "CLBR" |
#define TELEMETRY |
#define UART1_GPIO GPIOC |
#define UART1_GPIO_AF GPIO_AF_7 |
#define UART1_RX_PIN GPIO_Pin_5 |
#define UART1_RX_PINSOURCE GPIO_PinSource5 |
#define UART1_TX_PIN GPIO_Pin_4 |
#define UART1_TX_PINSOURCE GPIO_PinSource4 |
#define UART2_GPIO GPIOA |
#define UART2_GPIO_AF GPIO_AF_7 |
#define UART2_RX_PIN GPIO_Pin_15 |
#define UART2_RX_PINSOURCE GPIO_PinSource15 |
#define UART2_TX_PIN GPIO_Pin_14 |
#define UART2_TX_PINSOURCE GPIO_PinSource14 |
#define UART3_GPIO GPIOB |
#define UART3_GPIO_AF GPIO_AF_7 |
#define UART3_RX_PIN GPIO_Pin_11 |
#define UART3_RX_PINSOURCE GPIO_PinSource11 |
#define UART3_TX_PIN GPIO_Pin_10 |
#define UART3_TX_PINSOURCE GPIO_PinSource10 |
#define USABLE_TIMER_CHANNEL_COUNT 11 |
#define USB_IO |
#define USE_ACC_MPU6500 |
#define USE_ACC_SPI_MPU6500 |
#define USE_ADC |
#define USE_BARO_MS5611 |
#define USE_BEEPER 1 |
#define USE_CLI |
#define USE_GYRO_MPU6500 |
#define USE_GYRO_SPI_MPU6500 |
#define USE_I2C |
#define USE_MAG 1 |
#define USE_MAG_AK8963 |
#define USE_MAG_AK8975 |
#define USE_MAG_HMC5883 |
#define USE_MPU9250_MAG |
#define USE_MPU_DATA_READY_SIGNAL |
#define USE_QUAD_MIXER_ONLY 0 |
#define USE_SERIAL_4WAY_BLHELI_INTERFACE |
#define USE_SERVOS |
#define USE_SPI |
#define USE_SPI_DEVICE_1 |
#define USE_TILT 0 |
#define USE_UART1 |
#define USE_UART2 |
#define USE_UART3 |
#define USE_VCP |
#define VBAT_ADC_CHANNEL ADC_Channel_6 |
#define VBAT_ADC_GPIO GPIOC |
#define VBAT_ADC_GPIO_PIN GPIO_Pin_0 |
#define WS2811_DMA_CHANNEL DMA1_Channel3 |
#define WS2811_DMA_HANDLER_IDENTIFER DMA1_CH3_HANDLER |
#define WS2811_DMA_TC_FLAG DMA1_FLAG_TC3 |
#define WS2811_GPIO GPIOA |
#define WS2811_GPIO_AF GPIO_AF_1 |
#define WS2811_GPIO_AHB_PERIPHERAL RCC_AHBPeriph_GPIOA |
#define WS2811_IRQ DMA1_Channel3_IRQn |
#define WS2811_PIN GPIO_Pin_6 |
#define WS2811_PIN_SOURCE GPIO_PinSource6 |
#define WS2811_TIMER TIM16 |
#define WS2811_TIMER_APB2_PERIPHERAL RCC_APB2Periph_TIM16 |