Go to the source code of this file.
◆ ActuatorDefaultSet
◆ ActuatorsDefaultCommit
◆ ActuatorsDefaultInit
◆ 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.3208191126f * adc) |
◆ I2C1_CFG_DEF
◆ I2C1_CLOCK_SPEED
#define I2C1_CLOCK_SPEED 400000 |
◆ I2C2_CFG_DEF
◆ I2C2_CLOCK_SPEED
#define I2C2_CLOCK_SPEED 400000 |
◆ I2C3_CFG_DEF
◆ I2C3_CLOCK_SPEED
#define I2C3_CLOCK_SPEED 400000 |
◆ I2C4_CFG_DEF
◆ I2C4_CLOCK_SPEED
#define I2C4_CLOCK_SPEED 400000 |
◆ I2C_FAST_400KHZ_DNF0_100NS_PCLK54MHZ_TIMINGR
#define I2C_FAST_400KHZ_DNF0_100NS_PCLK54MHZ_TIMINGR |
Value: (STM32_TIMINGR_PRESC(0U) | \
STM32_TIMINGR_SCLDEL(10U) | STM32_TIMINGR_SDADEL(0U) | \
STM32_TIMINGR_SCLH(34U) | STM32_TIMINGR_SCLL(86U))
Definition at line 469 of file px4fmu.h.
◆ I2C_STD_100KHZ_DNF0_100NS_PCLK54MHZ_TIMINGR
#define I2C_STD_100KHZ_DNF0_100NS_PCLK54MHZ_TIMINGR |
Value: (STM32_TIMINGR_PRESC(1U) | \
STM32_TIMINGR_SCLDEL(9U) | STM32_TIMINGR_SDADEL(0U) | \
STM32_TIMINGR_SCLH(105U) | STM32_TIMINGR_SCLL(153U))
Definition at line 472 of file px4fmu.h.
◆ MilliAmpereOfAdc
#define MilliAmpereOfAdc |
( |
|
adc | ) |
((3.3f/4096.0f) * 24000.0f * adc) |
◆ PWM_CONF12_DEF
Value: { \
PWM_FREQUENCY, \
NULL, \
{ \
{ PWM_OUTPUT_DISABLED, NULL }, \
{ PWM_OUTPUT_DISABLED, NULL }, \
}, \
0, \
0 \
}
Definition at line 315 of file px4fmu.h.
◆ PWM_CONF1_DEF
Value: { \
PWM_FREQUENCY, \
NULL, \
{ \
}, \
0, \
0 \
}
Definition at line 277 of file px4fmu.h.
◆ PWM_CONF4_DEF
Value: { \
PWM_FREQUENCY, \
NULL, \
{ \
{ PWM_OUTPUT_DISABLED, NULL }, \
{ PWM_OUTPUT_DISABLED, NULL }, \
}, \
0, \
0 \
}
Definition at line 296 of file px4fmu.h.
◆ PWM_CONF_TIM1
◆ PWM_CONF_TIM12
◆ PWM_CONF_TIM4
◆ SDLOG_BAT_ADC
#define SDLOG_BAT_ADC ADCD1 |
◆ SDLOG_BAT_CHAN
◆ SDLOG_USB_LED
◆ STM32_CR1_DNF
#define STM32_CR1_DNF |
( |
|
n | ) |
((n & 0x0f) << 8) |
I2C defines.
I2C defines
Definition at line 467 of file px4fmu.h.
◆ UART1_GPIO_AF
#define UART1_GPIO_AF ((void)0) |
◆ UART2_GPIO_AF
#define UART2_GPIO_AF ((void)0) |
◆ UART3_GPIO_AF
#define UART3_GPIO_AF ((void)0) |
◆ UART4_GPIO_AF
#define UART4_GPIO_AF ((void)0) |
◆ UART5_GPIO_AF
#define UART5_GPIO_AF ((void)0) |
◆ UART6_GPIO_AF
#define UART6_GPIO_AF ((void)0) |
◆ UART7_GPIO_AF
#define UART7_GPIO_AF ((void)0) |
◆ UART8_GPIO_AF
#define UART8_GPIO_AF ((void)0) |
◆ USE_BARO_BOARD
SPI Config.
SPI Slaves Baro
Apparently needed for backwards compatibility with the ancient onboard baro boards
Definition at line 684 of file px4fmu.h.