Go to the source code of this file.
◆ 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 |
◆ AHB_CLK
#define AHB_CLK STM32_HCLK |
ChibiOS board file.
PPRZ definitions
Definition at line 18 of file px4fmu.h.
◆ BOARD_PX4FMU
◆ 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 320 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 336 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 |
◆ PWM_CONF1_DEF
Value: { \
PWM_FREQUENCY, \
NULL, \
{ \
}, \
0, \
0 \
}
Definition at line 199 of file px4fmu.h.
◆ PWM_CONF4_DEF
Value: { \
PWM_FREQUENCY, \
NULL, \
{ \
{ PWM_OUTPUT_DISABLED, NULL }, \
{ PWM_OUTPUT_DISABLED, NULL }, \
}, \
0, \
0 \
}
Definition at line 218 of file px4fmu.h.
◆ PWM_CONF_TIM1
◆ PWM_CONF_TIM4
◆ PWM_SERVO_0
◆ PWM_SERVO_0_ACTIVE
#define PWM_SERVO_0_ACTIVE PWM_OUTPUT_ACTIVE_HIGH |
◆ PWM_SERVO_0_AF
◆ PWM_SERVO_0_CHANNEL
#define PWM_SERVO_0_CHANNEL 3 |
◆ PWM_SERVO_0_DRIVER
#define PWM_SERVO_0_DRIVER PWMD1 |
◆ PWM_SERVO_0_GPIO
#define PWM_SERVO_0_GPIO GPIOE |
◆ PWM_SERVO_0_PIN
#define PWM_SERVO_0_PIN GPIO14 |
◆ PWM_SERVO_1
◆ PWM_SERVO_1_ACTIVE
#define PWM_SERVO_1_ACTIVE PWM_OUTPUT_ACTIVE_HIGH |
◆ PWM_SERVO_1_AF
◆ PWM_SERVO_1_CHANNEL
#define PWM_SERVO_1_CHANNEL 2 |
◆ PWM_SERVO_1_DRIVER
#define PWM_SERVO_1_DRIVER PWMD1 |
◆ PWM_SERVO_1_GPIO
#define PWM_SERVO_1_GPIO GPIOE |
◆ PWM_SERVO_1_PIN
#define PWM_SERVO_1_PIN GPIO13 |
◆ PWM_SERVO_2
◆ PWM_SERVO_2_ACTIVE
#define PWM_SERVO_2_ACTIVE PWM_OUTPUT_ACTIVE_HIGH |
◆ PWM_SERVO_2_AF
◆ PWM_SERVO_2_CHANNEL
#define PWM_SERVO_2_CHANNEL 1 |
◆ PWM_SERVO_2_DRIVER
#define PWM_SERVO_2_DRIVER PWMD1 |
◆ PWM_SERVO_2_GPIO
#define PWM_SERVO_2_GPIO GPIOE |
◆ PWM_SERVO_2_PIN
#define PWM_SERVO_2_PIN GPIO11 |
◆ PWM_SERVO_3
◆ PWM_SERVO_3_ACTIVE
#define PWM_SERVO_3_ACTIVE PWM_OUTPUT_ACTIVE_HIGH |
◆ PWM_SERVO_3_AF
◆ PWM_SERVO_3_CHANNEL
#define PWM_SERVO_3_CHANNEL 0 |
◆ PWM_SERVO_3_DRIVER
#define PWM_SERVO_3_DRIVER PWMD1 |
◆ PWM_SERVO_3_GPIO
#define PWM_SERVO_3_GPIO GPIOE |
◆ PWM_SERVO_3_PIN
#define PWM_SERVO_3_PIN GPIO9 |
◆ PWM_SERVO_4
◆ PWM_SERVO_4_ACTIVE
#define PWM_SERVO_4_ACTIVE PWM_OUTPUT_ACTIVE_HIGH |
◆ PWM_SERVO_4_AF
◆ PWM_SERVO_4_CHANNEL
#define PWM_SERVO_4_CHANNEL 1 |
◆ PWM_SERVO_4_DRIVER
#define PWM_SERVO_4_DRIVER PWMD4 |
◆ PWM_SERVO_4_GPIO
#define PWM_SERVO_4_GPIO GPIOD |
◆ PWM_SERVO_4_PIN
#define PWM_SERVO_4_PIN GPIO13 |
◆ PWM_SERVO_5
◆ PWM_SERVO_5_ACTIVE
#define PWM_SERVO_5_ACTIVE PWM_OUTPUT_ACTIVE_HIGH |
◆ PWM_SERVO_5_AF
◆ PWM_SERVO_5_CHANNEL
#define PWM_SERVO_5_CHANNEL 2 |
◆ PWM_SERVO_5_DRIVER
#define PWM_SERVO_5_DRIVER PWMD4 |
◆ PWM_SERVO_5_GPIO
#define PWM_SERVO_5_GPIO GPIOD |
◆ PWM_SERVO_5_PIN
#define PWM_SERVO_5_PIN GPIO14 |
◆ 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 348 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 387 of file px4fmu.h.
◆ USE_LED_1
◆ USE_LED_2
◆ USE_LED_3
◆ USE_PWM0
◆ USE_PWM1
◆ USE_PWM2
◆ USE_PWM3
◆ USE_PWM4
◆ USE_PWM5