NinjaFlight
|
Go to the source code of this file.
#define ACC |
#define ACC_MPU6500_ALIGN CW180_DEG |
#define ADC_AHB_PERIPHERAL RCC_AHBPeriph_DMA2 |
#define ADC_DMA_CHANNEL DMA2_Channel1 |
#define ADC_INSTANCE ADC2 |
#define BARO |
#define BEEP_GPIO GPIOC |
#define BEEP_PERIPHERAL RCC_AHBPeriph_GPIOC |
#define BEEP_PIN Pin_15 |
#define BEEPER_INVERTED |
#define BIND_PIN Pin_11 |
#define BIND_PORT GPIOB |
#define BINDPLUG_PIN BUTTON_B_PIN |
#define BINDPLUG_PORT BUTTON_B_PORT |
#define BLACKBOX |
#define BOARD_HAS_VOLTAGE_DIVIDER |
#define BUTTON_A_PIN Pin_1 |
#define BUTTON_A_PORT GPIOB |
#define BUTTON_B_PIN Pin_0 |
#define BUTTON_B_PORT GPIOB |
#define BUTTONS |
#define CURRENT_METER_ADC_CHANNEL ADC_Channel_2 |
#define CURRENT_METER_ADC_GPIO GPIOA |
#define CURRENT_METER_ADC_GPIO_PIN GPIO_Pin_5 |
#define DEFAULT_RX_FEATURE FEATURE_RX_PPM |
#define DISPLAY |
#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT |
#define ENSURE_MAG_DATA_READY_IS_HIGH |
#define ENSURE_MPU_DATA_READY_IS_LOW |
#define EXTI15_10_CALLBACK_HANDLER_COUNT 2 |
#define GPS |
#define GTUNE |
#define GYRO |
#define GYRO_MPU6500_ALIGN CW180_DEG |
#define HARDWARE_BIND_PLUG |
#define I2C_DEVICE (I2CDEV_1) |
#define LED0 |
#define LED0_GPIO GPIOB |
#define LED0_PERIPHERAL RCC_AHBPeriph_GPIOB |
#define LED0_PIN Pin_3 |
#define LED_STRIP |
#define LED_STRIP_TIMER TIM1 |
#define MAG_AK8963_ALIGN CW90_DEG_FLIP |
#define REDUCE_TRANSPONDER_CURRENT_DRAW_WHEN_USB_CABLE_PRESENT |
#define RSSI_ADC_CHANNEL ADC_Channel_12 |
#define RSSI_ADC_GPIO GPIOB |
#define RSSI_ADC_GPIO_PIN GPIO_Pin_2 |
#define SDCARD_DETECT_EXTI_IRQn EXTI15_10_IRQn |
#define SDCARD_DETECT_EXTI_LINE EXTI_Line14 |
#define SDCARD_DETECT_EXTI_PIN_SOURCE EXTI_PinSource14 |
#define SDCARD_DETECT_EXTI_PORT_SOURCE EXTI_PortSourceGPIOC |
#define SDCARD_DETECT_GPIO_CLK RCC_AHBPeriph_GPIOC |
#define SDCARD_DETECT_GPIO_PORT GPIOC |
#define SDCARD_DETECT_INVERTED |
#define SDCARD_DETECT_PIN GPIO_Pin_14 |
#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 5 |
#define SERIAL_RX |
#define SOFTSERIAL_1_TIMER TIM2 |
#define SOFTSERIAL_1_TIMER_RX_HARDWARE 9 |
#define SOFTSERIAL_1_TIMER_TX_HARDWARE 10 |
#define SONAR |
#define SONAR_ECHO_GPIO GPIOB |
#define SONAR_ECHO_PIN Pin_1 |
#define SONAR_EXTI_IRQN EXTI1_IRQn |
#define SONAR_EXTI_LINE EXTI_Line1 |
#define SONAR_EXTI_PIN_SOURCE EXTI_PinSource1 |
#define SONAR_TRIGGER_GPIO GPIOB |
#define SONAR_TRIGGER_PIN Pin_0 |
#define SPEKTRUM_BIND |
#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 "SRFM" |
#define TELEMETRY |
#define TRANSPONDER |
#define TRANSPONDER_DMA_CHANNEL DMA1_Channel2 |
#define TRANSPONDER_DMA_HANDLER_IDENTIFER DMA1_CH2_HANDLER |
#define TRANSPONDER_DMA_TC_FLAG DMA1_FLAG_TC2 |
#define TRANSPONDER_GPIO GPIOA |
#define TRANSPONDER_GPIO_AF GPIO_AF_6 |
#define TRANSPONDER_GPIO_AHB_PERIPHERAL RCC_AHBPeriph_GPIOA |
#define TRANSPONDER_IRQ DMA1_Channel2_IRQn |
#define TRANSPONDER_PIN GPIO_Pin_8 |
#define TRANSPONDER_PIN_SOURCE GPIO_PinSource8 |
#define TRANSPONDER_TIMER TIM1 |
#define TRANSPONDER_TIMER_APB2_PERIPHERAL RCC_APB2Periph_TIM1 |
#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 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 12 |
#define USB_CABLE_DETECTION |
#define USB_DETECT_GPIO_CLK RCC_AHBPeriph_GPIOC |
#define USB_DETECT_GPIO_PORT GPIOB |
#define USB_DETECT_PIN GPIO_Pin_5 |
#define USB_IO |
#define USE_ACC_MPU6500 |
#define USE_ADC |
#define USE_BARO_BMP280 |
#define USE_BEEPER 1 |
#define USE_CLI |
#define USE_GYRO_MPU6500 |
#define USE_I2C |
#define USE_MAG 1 |
#define USE_MAG_AK8963 |
#define USE_MAG_DATA_READY_SIGNAL |
#define USE_MAG_HMC5883 |
#define USE_MPU9250_MAG |
#define USE_MPU_DATA_READY_SIGNAL |
#define USE_QUAD_MIXER_ONLY 0 |
#define USE_SDCARD |
#define USE_SDCARD_SPI2 |
#define USE_SERIAL_4WAY_BLHELI_INTERFACE |
#define USE_SERVOS |
#define USE_SOFTSERIAL1 |
#define USE_SPI |
#define USE_SPI_DEVICE_2 |
#define USE_TILT 0 |
#define USE_UART1 |
#define USE_UART2 |
#define USE_UART3 |
#define USE_VCP |
#define VBAT_ADC_CHANNEL ADC_Channel_1 |
#define VBAT_ADC_GPIO GPIOA |
#define VBAT_ADC_GPIO_PIN GPIO_Pin_4 |
#define WS2811_DMA_CHANNEL DMA1_Channel2 |
#define WS2811_DMA_HANDLER_IDENTIFER DMA1_CH2_HANDLER |
#define WS2811_DMA_TC_FLAG DMA1_FLAG_TC2 |
#define WS2811_GPIO GPIOA |
#define WS2811_GPIO_AF GPIO_AF_6 |
#define WS2811_GPIO_AHB_PERIPHERAL RCC_AHBPeriph_GPIOA |
#define WS2811_IRQ DMA1_Channel2_IRQn |
#define WS2811_PIN GPIO_Pin_8 |
#define WS2811_PIN_SOURCE GPIO_PinSource8 |
#define WS2811_TIMER TIM1 |
#define WS2811_TIMER_APB2_PERIPHERAL RCC_APB2Periph_TIM1 |