Go to the source code of this file.
◆ _CONCAT_BOARD_PARAM
#define _CONCAT_BOARD_PARAM |
( |
|
_s1, |
|
|
|
_s2 |
|
) |
| _s1 ## _s2 |
ChibiOS board file.
PPRZ definitions
Definition at line 18 of file px4fmu.h.
◆ ActuatorDefaultSet
◆ ActuatorsDefaultCommit
◆ ActuatorsDefaultInit
◆ AD1_1_CHANNEL
#define AD1_1_CHANNEL ADC_CHANNEL_IN2 |
◆ AD1_2_CHANNEL
#define AD1_2_CHANNEL ADC_CHANNEL_IN3 |
◆ ADC_1
◆ ADC_1_GPIO_PIN
#define ADC_1_GPIO_PIN GPIO2 |
◆ ADC_1_GPIO_PORT
#define ADC_1_GPIO_PORT GPIOA |
◆ ADC_2
◆ ADC_2_GPIO_PIN
#define ADC_2_GPIO_PIN GPIO3 |
◆ ADC_2_GPIO_PORT
#define ADC_2_GPIO_PORT GPIOA |
◆ ADC_CHANNEL_CURRENT
#define ADC_CHANNEL_CURRENT ADC_2 |
◆ ADC_CHANNEL_VSUPPLY
#define ADC_CHANNEL_VSUPPLY ADC_1 |
◆ BOARD_PX4FMU
◆ CONCAT_BOARD_PARAM
◆ DEFAULT_ACTUATORS
◆ DefaultVoltageOfAdc
#define DefaultVoltageOfAdc |
( |
|
adc | ) |
((3.3f/4096.0f) * 10.27708149f * adc) |
◆ I2C1_CFG_DEF
Value: { \
OPMODE_I2C, \
I2C1_CLOCK_SPEED, \
I2C1_DUTY_CYCLE, \
}
Definition at line 324 of file px4fmu.h.
◆ I2C1_CLOCK_SPEED
#define I2C1_CLOCK_SPEED 400000 |
◆ I2C1_DUTY_CYCLE
#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2 |
◆ I2C2_CFG_DEF
Value: { \
OPMODE_I2C, \
I2C2_CLOCK_SPEED, \
I2C2_DUTY_CYCLE, \
}
Definition at line 340 of file px4fmu.h.
◆ I2C2_CLOCK_SPEED
#define I2C2_CLOCK_SPEED 400000 |
◆ I2C2_DUTY_CYCLE
#define I2C2_DUTY_CYCLE FAST_DUTY_CYCLE_2 |
◆ LED_1_AFIO_REMAP
#define LED_1_AFIO_REMAP ((void)0) |
◆ LED_1_GPIO
◆ LED_1_GPIO_OFF
◆ LED_1_GPIO_ON
◆ LED_1_GPIO_PIN
◆ LED_2_AFIO_REMAP
#define LED_2_AFIO_REMAP ((void)0) |
◆ LED_2_GPIO
◆ LED_2_GPIO_OFF
◆ LED_2_GPIO_ON
◆ LED_2_GPIO_PIN
#define LED_2_GPIO_PIN GPIO1 |
◆ LED_3_AFIO_REMAP
#define LED_3_AFIO_REMAP ((void)0) |
◆ LED_3_GPIO
◆ LED_3_GPIO_OFF
◆ LED_3_GPIO_ON
◆ LED_3_GPIO_PIN
#define LED_3_GPIO_PIN GPIO3 |
◆ MilliAmpereOfAdc
#define MilliAmpereOfAdc |
( |
|
adc | ) |
((3.3f/4096.0f) * 36367.51556f * adc) |
◆ PERIPHERAL3V3_ENABLE_OFF
◆ PERIPHERAL3V3_ENABLE_ON
#define PERIPHERAL3V3_ENABLE_ON gpio_set |
◆ PERIPHERAL3V3_ENABLE_PIN
#define PERIPHERAL3V3_ENABLE_PIN GPIO5 |
◆ PERIPHERAL3V3_ENABLE_PORT
#define PERIPHERAL3V3_ENABLE_PORT GPIOC |
◆ RADIO_CONTROL_POWER_OFF
#define RADIO_CONTROL_POWER_OFF gpio_set |
◆ RADIO_CONTROL_POWER_ON
◆ RADIO_CONTROL_POWER_PIN
#define RADIO_CONTROL_POWER_PIN GPIO4 |
◆ RADIO_CONTROL_POWER_PORT
#define RADIO_CONTROL_POWER_PORT GPIOE |
◆ SDIO_AF
◆ SDIO_CK_PIN
◆ SDIO_CK_PORT
#define SDIO_CK_PORT GPIOC |
◆ SDIO_CMD_PIN
#define SDIO_CMD_PIN GPIO2 |
◆ SDIO_CMD_PORT
#define SDIO_CMD_PORT GPIOD |
◆ SDIO_D0_PIN
#define SDIO_D0_PIN GPIO8 |
◆ SDIO_D0_PORT
#define SDIO_D0_PORT GPIOC |
◆ SDIO_D1_PIN
#define SDIO_D1_PIN GPIO9 |
◆ SDIO_D1_PORT
#define SDIO_D1_PORT GPIOC |
◆ SDIO_D2_PIN
◆ SDIO_D2_PORT
#define SDIO_D2_PORT GPIOC |
◆ SDIO_D3_PIN
◆ SDIO_D3_PORT
#define SDIO_D3_PORT GPIOC |
◆ SDLOG_BAT_ADC
#define SDLOG_BAT_ADC ADCD1 |
◆ SDLOG_BAT_CHAN
◆ SDLOG_USB_LED
◆ SDLOG_USB_VBUS_PIN
#define SDLOG_USB_VBUS_PIN GPIO9 |
◆ SDLOG_USB_VBUS_PORT
#define SDLOG_USB_VBUS_PORT GPIOA |
◆ SPI1_GPIO_AF
SPI Config SPI1 si for MPU9250 SPI2 is for FRAM.
Definition at line 352 of file px4fmu.h.
◆ SPI1_GPIO_MISO
#define SPI1_GPIO_MISO GPIO6 |
◆ SPI1_GPIO_MOSI
#define SPI1_GPIO_MOSI GPIO7 |
◆ SPI1_GPIO_PORT_MISO
#define SPI1_GPIO_PORT_MISO GPIOA |
◆ SPI1_GPIO_PORT_MOSI
#define SPI1_GPIO_PORT_MOSI GPIOA |
◆ SPI1_GPIO_PORT_SCK
#define SPI1_GPIO_PORT_SCK GPIOA |
◆ SPI1_GPIO_SCK
#define SPI1_GPIO_SCK GPIO5 |
◆ SPI2_GPIO_AF
◆ SPI2_GPIO_MISO
◆ SPI2_GPIO_MOSI
◆ SPI2_GPIO_PORT_MISO
#define SPI2_GPIO_PORT_MISO GPIOB |
◆ SPI2_GPIO_PORT_MOSI
#define SPI2_GPIO_PORT_MOSI GPIOB |
◆ SPI2_GPIO_PORT_SCK
#define SPI2_GPIO_PORT_SCK GPIOB |
◆ SPI2_GPIO_SCK
◆ SPI_SELECT_SLAVE0_PIN
#define SPI_SELECT_SLAVE0_PIN GPIO15 |
◆ SPI_SELECT_SLAVE0_PORT
#define SPI_SELECT_SLAVE0_PORT GPIOC |
◆ SPI_SELECT_SLAVE1_PIN
#define SPI_SELECT_SLAVE1_PIN GPIO15 |
◆ SPI_SELECT_SLAVE1_PORT
#define SPI_SELECT_SLAVE1_PORT GPIOE |
◆ SPI_SELECT_SLAVE2_PIN
#define SPI_SELECT_SLAVE2_PIN GPIO2 |
◆ SPI_SELECT_SLAVE2_PORT
#define SPI_SELECT_SLAVE2_PORT GPIOC |
◆ SPI_SELECT_SLAVE3_PIN
#define SPI_SELECT_SLAVE3_PIN GPIO7 |
◆ SPI_SELECT_SLAVE3_PORT
#define SPI_SELECT_SLAVE3_PORT GPIOD |
◆ SPI_SELECT_SLAVE4_PIN
#define SPI_SELECT_SLAVE4_PIN GPIO10 |
◆ SPI_SELECT_SLAVE4_PORT
#define SPI_SELECT_SLAVE4_PORT GPIOD |
◆ UART1_GPIO_AF
◆ UART1_GPIO_PORT_RX
#define UART1_GPIO_PORT_RX GPIOB |
◆ UART1_GPIO_PORT_TX
#define UART1_GPIO_PORT_TX GPIOB |
◆ UART1_GPIO_RX
#define UART1_GPIO_RX GPIO7 |
◆ UART1_GPIO_TX
#define UART1_GPIO_TX GPIO6 |
◆ UART2_GPIO_AF
◆ UART2_GPIO_PORT_RX
#define UART2_GPIO_PORT_RX GPIOD |
◆ UART2_GPIO_PORT_TX
#define UART2_GPIO_PORT_TX GPIOD |
◆ UART2_GPIO_RX
#define UART2_GPIO_RX GPIO6 |
◆ UART2_GPIO_TX
#define UART2_GPIO_TX GPIO5 |
◆ UART3_GPIO_AF
◆ UART3_GPIO_PORT_RX
#define UART3_GPIO_PORT_RX GPIOD |
◆ UART3_GPIO_PORT_TX
#define UART3_GPIO_PORT_TX GPIOD |
◆ UART3_GPIO_RX
#define UART3_GPIO_RX GPIO9 |
◆ UART3_GPIO_TX
#define UART3_GPIO_TX GPIO8 |
◆ UART4_GPIO_AF
◆ UART4_GPIO_PORT_RX
#define UART4_GPIO_PORT_RX GPIOA |
◆ UART4_GPIO_PORT_TX
#define UART4_GPIO_PORT_TX GPIOA |
◆ UART4_GPIO_RX
#define UART4_GPIO_RX GPIO1 |
◆ UART4_GPIO_TX
#define UART4_GPIO_TX GPIO0 |
◆ UART6_GPIO_AF
◆ UART6_GPIO_PORT_RX
#define UART6_GPIO_PORT_RX GPIOC |
◆ UART6_GPIO_RX
#define UART6_GPIO_RX GPIO7 |
◆ UART7_GPIO_AF
◆ UART7_GPIO_PORT_RX
#define UART7_GPIO_PORT_RX GPIOE |
◆ UART7_GPIO_PORT_TX
#define UART7_GPIO_PORT_TX GPIOE |
◆ UART7_GPIO_RX
#define UART7_GPIO_RX GPIO7 |
◆ UART7_GPIO_TX
#define UART7_GPIO_TX GPIO8 |
◆ UART8_GPIO_AF
◆ UART8_GPIO_PORT_RX
#define UART8_GPIO_PORT_RX GPIOE |
◆ UART8_GPIO_PORT_TX
#define UART8_GPIO_PORT_TX GPIOE |
◆ UART8_GPIO_RX
#define UART8_GPIO_RX GPIO0 |
◆ UART8_GPIO_TX
#define UART8_GPIO_TX GPIO1 |
◆ USE_ADC_1
◆ USE_ADC_2
◆ USE_BARO_BOARD
Baro.
Apparently needed for backwards compatibility with the ancient onboard baro boards
Definition at line 391 of file px4fmu.h.
◆ USE_LED_1
◆ USE_LED_2
◆ USE_LED_3
◆ USE_PWM_TIM1
◆ USE_PWM_TIM4