NinjaFlight
|
Go to the source code of this file.
Macros | |
#define | USE_QUAD_MIXER_ONLY 0 |
#define | TARGET_BOARD_IDENTIFIER "SDF3" |
#define | LED0_GPIO GPIOE |
#define | LED0_PIN Pin_8|Pin_12 |
#define | LED0_PERIPHERAL RCC_AHBPeriph_GPIOE |
#define | LED0_INVERTED |
#define | LED1_GPIO GPIOE |
#define | LED1_PIN Pin_10|Pin_14 |
#define | LED1_PERIPHERAL RCC_AHBPeriph_GPIOE |
#define | LED1_INVERTED |
#define | BEEP_GPIO GPIOE |
#define | BEEP_PIN Pin_9|Pin_13 |
#define | BEEP_PERIPHERAL RCC_AHBPeriph_GPIOE |
#define | BEEPER_INVERTED |
#define | BEEPER_INVERTED |
#define | USE_SPI |
#define | USE_SPI_DEVICE_1 |
#define | USE_SPI_DEVICE_2 |
#define | SPI2_GPIO GPIOB |
#define | SPI2_GPIO_PERIPHERAL RCC_AHBPeriph_GPIOB |
#define | SPI2_NSS_PIN Pin_12 |
#define | SPI2_NSS_PIN_SOURCE GPIO_PinSource12 |
#define | SPI2_SCK_PIN Pin_13 |
#define | SPI2_SCK_PIN_SOURCE GPIO_PinSource13 |
#define | SPI2_MISO_PIN Pin_14 |
#define | SPI2_MISO_PIN_SOURCE GPIO_PinSource14 |
#define | SPI2_MOSI_PIN Pin_15 |
#define | SPI2_MOSI_PIN_SOURCE GPIO_PinSource15 |
#define | GYRO |
#define | USE_GYRO_L3GD20 |
#define | L3GD20_SPI SPI1 |
#define | L3GD20_CS_GPIO_CLK_PERIPHERAL RCC_AHBPeriph_GPIOE |
#define | L3GD20_CS_GPIO GPIOE |
#define | L3GD20_CS_PIN GPIO_Pin_3 |
#define | GYRO_L3GD20_ALIGN CW270_DEG |
#define | USE_SDCARD |
#define | USE_SDCARD_SPI2 |
#define | SDCARD_SPI_INSTANCE SPI2 |
#define | SDCARD_SPI_CS_GPIO SPI2_GPIO |
#define | SDCARD_SPI_CS_PIN SPI2_NSS_PIN |
#define | SDCARD_SPI_INITIALIZATION_CLOCK_DIVIDER 128 |
#define | SDCARD_SPI_FULL_SPEED_CLOCK_DIVIDER 2 |
#define | SDCARD_DMA_CHANNEL_TX DMA1_Channel5 |
#define | SDCARD_DMA_CHANNEL_TX_COMPLETE_FLAG DMA1_FLAG_TC5 |
#define | ACC |
#define | USE_ACC_LSM303DLHC |
#define | USE_MAG 1 |
#define | USE_MAG_HMC5883 |
#define | USE_BEEPER 1 |
#define | LED0 |
#define | LED1 |
#define | USB_IO |
#define | USE_VCP |
#define | USE_UART1 |
#define | USE_UART2 |
#define | USE_UART3 |
#define | USE_UART4 |
#define | USE_UART5 |
#define | SERIAL_PORT_COUNT 6 |
#define | USE_TILT 0 |
#define | UART1_TX_PIN GPIO_Pin_9 |
#define | UART1_RX_PIN GPIO_Pin_10 |
#define | UART1_GPIO GPIOA |
#define | UART1_GPIO_AF GPIO_AF_7 |
#define | UART1_TX_PINSOURCE GPIO_PinSource9 |
#define | UART1_RX_PINSOURCE GPIO_PinSource10 |
#define | UART2_TX_PIN GPIO_Pin_5 |
#define | UART2_RX_PIN GPIO_Pin_6 |
#define | UART2_GPIO GPIOD |
#define | UART2_GPIO_AF GPIO_AF_7 |
#define | UART2_TX_PINSOURCE GPIO_PinSource5 |
#define | UART2_RX_PINSOURCE GPIO_PinSource6 |
#define | USE_I2C |
#define | I2C_DEVICE (I2CDEV_1) |
#define | USE_ADC |
#define | ADC_INSTANCE ADC1 |
#define | ADC_AHB_PERIPHERAL RCC_AHBPeriph_DMA1 |
#define | ADC_DMA_CHANNEL DMA1_Channel1 |
#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 GPIOB |
#define | WS2811_GPIO_AHB_PERIPHERAL RCC_AHBPeriph_GPIOB |
#define | WS2811_GPIO_AF GPIO_AF_1 |
#define | WS2811_PIN GPIO_Pin_8 |
#define | WS2811_PIN_SOURCE GPIO_PinSource8 |
#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 | BLACKBOX |
#define | GPS |
#define | GTUNE |
#define | TELEMETRY |
#define | SERIAL_RX |
#define | USE_SERVOS |
#define | USE_CLI |
#define | USE_SERIAL_4WAY_BLHELI_INTERFACE |
#define ACC |
#define ADC_AHB_PERIPHERAL RCC_AHBPeriph_DMA1 |
#define ADC_DMA_CHANNEL DMA1_Channel1 |
#define ADC_INSTANCE ADC1 |
#define BEEP_GPIO GPIOE |
#define BEEP_PERIPHERAL RCC_AHBPeriph_GPIOE |
#define BEEPER_INVERTED |
#define BEEPER_INVERTED |
#define BLACKBOX |
#define CURRENT_METER_ADC_CHANNEL ADC_Channel_7 |
#define CURRENT_METER_ADC_GPIO GPIOC |
#define CURRENT_METER_ADC_GPIO_PIN GPIO_Pin_1 |
#define EXTERNAL1_ADC_CHANNEL ADC_Channel_9 |
#define EXTERNAL1_ADC_GPIO GPIOC |
#define EXTERNAL1_ADC_GPIO_PIN GPIO_Pin_3 |
#define GPS |
#define GTUNE |
#define GYRO |
#define GYRO_L3GD20_ALIGN CW270_DEG |
#define I2C_DEVICE (I2CDEV_1) |
#define L3GD20_CS_GPIO GPIOE |
#define L3GD20_CS_GPIO_CLK_PERIPHERAL RCC_AHBPeriph_GPIOE |
#define L3GD20_CS_PIN GPIO_Pin_3 |
#define L3GD20_SPI SPI1 |
#define LED0 |
#define LED0_GPIO GPIOE |
#define LED0_INVERTED |
#define LED0_PERIPHERAL RCC_AHBPeriph_GPIOE |
#define LED1 |
#define LED1_GPIO GPIOE |
#define LED1_INVERTED |
#define LED1_PERIPHERAL RCC_AHBPeriph_GPIOE |
#define LED_STRIP |
#define LED_STRIP_TIMER TIM16 |
#define RSSI_ADC_CHANNEL ADC_Channel_8 |
#define RSSI_ADC_GPIO GPIOC |
#define RSSI_ADC_GPIO_PIN GPIO_Pin_2 |
#define SDCARD_DMA_CHANNEL_TX DMA1_Channel5 |
#define SDCARD_DMA_CHANNEL_TX_COMPLETE_FLAG DMA1_FLAG_TC5 |
#define SDCARD_SPI_CS_GPIO SPI2_GPIO |
#define SDCARD_SPI_CS_PIN SPI2_NSS_PIN |
#define SDCARD_SPI_FULL_SPEED_CLOCK_DIVIDER 2 |
#define SDCARD_SPI_INITIALIZATION_CLOCK_DIVIDER 128 |
#define SDCARD_SPI_INSTANCE SPI2 |
#define SERIAL_PORT_COUNT 6 |
#define SERIAL_RX |
#define SPI2_GPIO GPIOB |
#define SPI2_GPIO_PERIPHERAL RCC_AHBPeriph_GPIOB |
#define SPI2_MISO_PIN Pin_14 |
#define SPI2_MISO_PIN_SOURCE GPIO_PinSource14 |
#define SPI2_MOSI_PIN Pin_15 |
#define SPI2_MOSI_PIN_SOURCE GPIO_PinSource15 |
#define SPI2_NSS_PIN Pin_12 |
#define SPI2_NSS_PIN_SOURCE GPIO_PinSource12 |
#define SPI2_SCK_PIN Pin_13 |
#define SPI2_SCK_PIN_SOURCE GPIO_PinSource13 |
#define TARGET_BOARD_IDENTIFIER "SDF3" |
#define TELEMETRY |
#define UART1_GPIO GPIOA |
#define UART1_GPIO_AF GPIO_AF_7 |
#define UART1_RX_PIN GPIO_Pin_10 |
#define UART1_RX_PINSOURCE GPIO_PinSource10 |
#define UART1_TX_PIN GPIO_Pin_9 |
#define UART1_TX_PINSOURCE GPIO_PinSource9 |
#define UART2_GPIO GPIOD |
#define UART2_GPIO_AF GPIO_AF_7 |
#define UART2_RX_PIN GPIO_Pin_6 |
#define UART2_RX_PINSOURCE GPIO_PinSource6 |
#define UART2_TX_PIN GPIO_Pin_5 |
#define UART2_TX_PINSOURCE GPIO_PinSource5 |
#define USB_IO |
#define USE_ACC_LSM303DLHC |
#define USE_ADC |
#define USE_BEEPER 1 |
#define USE_CLI |
#define USE_GYRO_L3GD20 |
#define USE_I2C |
#define USE_MAG 1 |
#define USE_MAG_HMC5883 |
#define USE_QUAD_MIXER_ONLY 0 |
#define USE_SDCARD |
#define USE_SDCARD_SPI2 |
#define USE_SERIAL_4WAY_BLHELI_INTERFACE |
#define USE_SERVOS |
#define USE_SPI |
#define USE_SPI_DEVICE_1 |
#define USE_SPI_DEVICE_2 |
#define USE_TILT 0 |
#define USE_UART1 |
#define USE_UART2 |
#define USE_UART3 |
#define USE_UART4 |
#define USE_UART5 |
#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 GPIOB |
#define WS2811_GPIO_AF GPIO_AF_1 |
#define WS2811_GPIO_AHB_PERIPHERAL RCC_AHBPeriph_GPIOB |
#define WS2811_IRQ DMA1_Channel3_IRQn |
#define WS2811_PIN GPIO_Pin_8 |
#define WS2811_PIN_SOURCE GPIO_PinSource8 |
#define WS2811_TIMER TIM16 |
#define WS2811_TIMER_APB2_PERIPHERAL RCC_APB2Periph_TIM16 |