Paparazzi UAS
v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the source code of this file.
#define AD1_1_CHANNEL 14 |
Definition at line 153 of file opa_ap_1.0.h.
#define AD1_3_CHANNEL 10 |
Definition at line 172 of file opa_ap_1.0.h.
#define AD1_4_CHANNEL 11 |
Definition at line 183 of file opa_ap_1.0.h.
#define ADC_1 AD1_1 |
Definition at line 154 of file opa_ap_1.0.h.
#define ADC_1_GPIO_PIN GPIO4 |
Definition at line 156 of file opa_ap_1.0.h.
#define ADC_1_GPIO_PORT GPIOC |
Definition at line 155 of file opa_ap_1.0.h.
#define ADC_3 AD1_3 |
Definition at line 173 of file opa_ap_1.0.h.
#define ADC_3_GPIO_PIN GPIO0 |
Definition at line 175 of file opa_ap_1.0.h.
#define ADC_3_GPIO_PORT GPIOC |
Definition at line 174 of file opa_ap_1.0.h.
#define ADC_4 AD1_4 |
Definition at line 184 of file opa_ap_1.0.h.
#define ADC_4_GPIO_PIN GPIO1 |
Definition at line 186 of file opa_ap_1.0.h.
#define ADC_4_GPIO_PORT GPIOC |
Definition at line 185 of file opa_ap_1.0.h.
#define ADC_CHANNEL_VSUPPLY ADC_1 |
Definition at line 191 of file opa_ap_1.0.h.
#define AHB_CLK 168000000 |
Definition at line 30 of file opa_ap_1.0.h.
#define BOARD_OPA_AP |
Definition at line 26 of file opa_ap_1.0.h.
#define DefaultMilliAmpereOfAdc | ( | adc | ) | (20.142*(adc-2048) * 5.0/3.3) |
Definition at line 203 of file opa_ap_1.0.h.
#define DefaultVoltageOfAdc | ( | adc | ) | (0.0063*adc) |
Definition at line 197 of file opa_ap_1.0.h.
#define EXT_CLK 12000000 |
Definition at line 29 of file opa_ap_1.0.h.
#define LED_1_AFIO_REMAP ((void)0) |
Definition at line 54 of file opa_ap_1.0.h.
#define LED_1_GPIO GPIOA |
Definition at line 50 of file opa_ap_1.0.h.
#define LED_1_GPIO_OFF gpio_clear |
Definition at line 53 of file opa_ap_1.0.h.
#define LED_1_GPIO_ON gpio_set |
Definition at line 52 of file opa_ap_1.0.h.
#define LED_1_GPIO_PIN GPIO8 |
Definition at line 51 of file opa_ap_1.0.h.
#define SPI1_GPIO_AF GPIO_AF5 |
Definition at line 87 of file opa_ap_1.0.h.
#define SPI1_GPIO_MISO GPIO6 |
Definition at line 89 of file opa_ap_1.0.h.
#define SPI1_GPIO_MOSI GPIO7 |
Definition at line 91 of file opa_ap_1.0.h.
#define SPI1_GPIO_NSS GPIO4 |
Definition at line 95 of file opa_ap_1.0.h.
#define SPI1_GPIO_PORT_MISO GPIOA |
Definition at line 88 of file opa_ap_1.0.h.
#define SPI1_GPIO_PORT_MOSI GPIOA |
Definition at line 90 of file opa_ap_1.0.h.
#define SPI1_GPIO_PORT_NSS GPIOA |
Definition at line 94 of file opa_ap_1.0.h.
#define SPI1_GPIO_PORT_SCK GPIOA |
Definition at line 92 of file opa_ap_1.0.h.
#define SPI1_GPIO_SCK GPIO5 |
Definition at line 93 of file opa_ap_1.0.h.
#define SPI2_GPIO_AF GPIO_AF5 |
Definition at line 97 of file opa_ap_1.0.h.
#define SPI2_GPIO_MISO GPIO14 |
Definition at line 99 of file opa_ap_1.0.h.
#define SPI2_GPIO_MOSI GPIO15 |
Definition at line 101 of file opa_ap_1.0.h.
#define SPI2_GPIO_NSS GPIO12 |
Definition at line 105 of file opa_ap_1.0.h.
#define SPI2_GPIO_PORT_MISO GPIOB |
Definition at line 98 of file opa_ap_1.0.h.
#define SPI2_GPIO_PORT_MOSI GPIOB |
Definition at line 100 of file opa_ap_1.0.h.
#define SPI2_GPIO_PORT_NSS GPIOB |
Definition at line 104 of file opa_ap_1.0.h.
#define SPI2_GPIO_PORT_SCK GPIOB |
Definition at line 102 of file opa_ap_1.0.h.
#define SPI2_GPIO_SCK GPIO13 |
Definition at line 103 of file opa_ap_1.0.h.
#define SPI_SELECT_SLAVE0_PIN GPIO4 |
Definition at line 108 of file opa_ap_1.0.h.
#define SPI_SELECT_SLAVE0_PORT GPIOA |
Definition at line 107 of file opa_ap_1.0.h.
#define SPI_SELECT_SLAVE1_PIN GPIO12 |
Definition at line 111 of file opa_ap_1.0.h.
#define SPI_SELECT_SLAVE1_PORT GPIOB |
Definition at line 110 of file opa_ap_1.0.h.
#define SPI_SELECT_SLAVE2_PIN GPIO13 |
Definition at line 114 of file opa_ap_1.0.h.
#define SPI_SELECT_SLAVE2_PORT GPIOC |
Definition at line 113 of file opa_ap_1.0.h.
#define TEMP_ADC_CHANNEL1 ADC_3 |
Definition at line 212 of file opa_ap_1.0.h.
Referenced by temp_adc_init().
#define TEMP_ADC_CHANNEL1_A 0.00103753243 |
Definition at line 215 of file opa_ap_1.0.h.
Referenced by temp_adc_periodic().
#define TEMP_ADC_CHANNEL1_B 0.00025150905 |
Definition at line 216 of file opa_ap_1.0.h.
Referenced by temp_adc_periodic().
#define TEMP_ADC_CHANNEL1_C 0 |
Definition at line 217 of file opa_ap_1.0.h.
Referenced by temp_adc_periodic().
#define TEMP_ADC_CHANNEL1_PU_R 2000 |
Definition at line 214 of file opa_ap_1.0.h.
Referenced by temp_adc_periodic().
#define TEMP_ADC_CHANNEL1_TYPE NTC |
Definition at line 213 of file opa_ap_1.0.h.
#define TEMP_ADC_CHANNEL2 ADC_4 |
Definition at line 226 of file opa_ap_1.0.h.
Referenced by temp_adc_init().
#define TEMP_ADC_CHANNEL2_A 0.00103753243 |
Definition at line 229 of file opa_ap_1.0.h.
Referenced by temp_adc_periodic().
#define TEMP_ADC_CHANNEL2_B 0.00025150905 |
Definition at line 230 of file opa_ap_1.0.h.
Referenced by temp_adc_periodic().
#define TEMP_ADC_CHANNEL2_C 0 |
Definition at line 231 of file opa_ap_1.0.h.
Referenced by temp_adc_periodic().
#define TEMP_ADC_CHANNEL2_PU_R 2000 |
Definition at line 228 of file opa_ap_1.0.h.
Referenced by temp_adc_periodic().
#define TEMP_ADC_CHANNEL2_TYPE NTC |
Definition at line 227 of file opa_ap_1.0.h.
#define UART1_GPIO_AF GPIO_AF7 |
Definition at line 58 of file opa_ap_1.0.h.
#define UART1_GPIO_PORT_RX GPIOA |
Definition at line 59 of file opa_ap_1.0.h.
#define UART1_GPIO_PORT_TX GPIOA |
Definition at line 61 of file opa_ap_1.0.h.
#define UART1_GPIO_RX GPIO10 |
Definition at line 60 of file opa_ap_1.0.h.
#define UART1_GPIO_TX GPIO9 |
Definition at line 62 of file opa_ap_1.0.h.
#define UART2_GPIO_AF GPIO_AF7 |
Definition at line 64 of file opa_ap_1.0.h.
#define UART2_GPIO_PORT_RX GPIOA |
Definition at line 65 of file opa_ap_1.0.h.
#define UART2_GPIO_PORT_TX GPIOA |
Definition at line 67 of file opa_ap_1.0.h.
#define UART2_GPIO_RX GPIO3 |
Definition at line 66 of file opa_ap_1.0.h.
#define UART2_GPIO_TX GPIO2 |
Definition at line 68 of file opa_ap_1.0.h.
#define UART3_GPIO_AF GPIO_AF7 |
Definition at line 70 of file opa_ap_1.0.h.
#define UART3_GPIO_PORT_RX GPIOB |
Definition at line 71 of file opa_ap_1.0.h.
#define UART3_GPIO_PORT_TX GPIOB |
Definition at line 73 of file opa_ap_1.0.h.
#define UART3_GPIO_RX GPIO11 |
Definition at line 72 of file opa_ap_1.0.h.
#define UART3_GPIO_TX GPIO10 |
Definition at line 74 of file opa_ap_1.0.h.
#define UART4_GPIO_AF GPIO_AF8 |
Definition at line 76 of file opa_ap_1.0.h.
#define UART4_GPIO_PORT_RX GPIOC |
Definition at line 77 of file opa_ap_1.0.h.
#define UART4_GPIO_PORT_TX GPIOC |
Definition at line 79 of file opa_ap_1.0.h.
#define UART4_GPIO_RX GPIO11 |
Definition at line 78 of file opa_ap_1.0.h.
#define UART4_GPIO_TX GPIO10 |
Definition at line 80 of file opa_ap_1.0.h.
#define UART5_GPIO_AF GPIO_AF8 |
Definition at line 82 of file opa_ap_1.0.h.
#define UART5_GPIO_PORT_RX GPIOD |
Definition at line 83 of file opa_ap_1.0.h.
#define UART5_GPIO_RX GPIO2 |
Definition at line 84 of file opa_ap_1.0.h.
#define USE_ADC_1 1 |
Definition at line 150 of file opa_ap_1.0.h.
#define USE_ADC_3 1 |
Definition at line 169 of file opa_ap_1.0.h.
#define USE_ADC_4 1 |
Definition at line 180 of file opa_ap_1.0.h.
#define USE_BARO_BOARD 1 |
Definition at line 235 of file opa_ap_1.0.h.
#define USE_LED_1 1 |
Definition at line 48 of file opa_ap_1.0.h.
#define VISION_PWR GPIOA |
Definition at line 37 of file opa_ap_1.0.h.
Referenced by opa_controller_init(), and opa_controller_periodic().
#define VISION_PWR_OFF gpio_clear |
Definition at line 40 of file opa_ap_1.0.h.
Referenced by opa_controller_init(), and opa_controller_periodic().
#define VISION_PWR_ON gpio_set |
Definition at line 39 of file opa_ap_1.0.h.
Referenced by opa_controller_periodic().
#define VISION_PWR_PIN GPIO1 |
Definition at line 38 of file opa_ap_1.0.h.
Referenced by opa_controller_init(), and opa_controller_periodic().