Paparazzi UAS
v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the source code of this file.
Functions | |
void | boardInit (void) |
Board-specific initialization code. More... | |
#define ActuatorDefaultSet | ( | _x, | |
_y | |||
) | ActuatorPwmSet(_x,_y) |
#define ActuatorsDefaultCommit | ( | ) | ActuatorsPwmCommit() |
#define ActuatorsDefaultInit | ( | ) | ActuatorsPwmInit() |
#define AD1_4_CHANNEL ADC_CHANNEL_IN4 |
Definition at line 755 of file board.h.
Referenced by adc_init(), and thd_bat_survey().
#define ADC_4_GPIO_PIN GPIO4 |
Definition at line 758 of file board.h.
Referenced by adc_init().
#define ADC_4_GPIO_PORT GPIOA |
Definition at line 757 of file board.h.
Referenced by adc_init().
#define ADC_CHANNEL_VSUPPLY ADC_4 |
Definition at line 763 of file board.h.
Referenced by electrical_init().
#define AHB_CLK STM32_HCLK |
Definition at line 640 of file board.h.
Referenced by sys_time_arch_init().
#define DEFAULT_ACTUATORS "subsystems/actuators/actuators_pwm.h" |
#define GPIOA_OTG_FS_VBUS 9 |
Definition at line 68 of file board.h.
Referenced by thdUsbStorage().
#define GPIOC_LED4 3 |
Definition at line 96 of file board.h.
Referenced by usbActivity().
#define GPIOC_SDIO_CK 12 |
Definition at line 105 of file board.h.
Referenced by sdio_connect().
#define GPIOC_SDIO_D0 8 |
Definition at line 101 of file board.h.
Referenced by sdio_connect().
#define GPIOC_SDIO_D1 9 |
Definition at line 102 of file board.h.
Referenced by sdio_connect().
#define GPIOC_SDIO_D2 10 |
Definition at line 103 of file board.h.
Referenced by sdio_connect().
#define GPIOC_SDIO_D3 11 |
Definition at line 104 of file board.h.
Referenced by sdio_connect().
#define GPIOD_SDIO_CMD 2 |
Definition at line 110 of file board.h.
Referenced by sdio_connect().
#define I2C1_CFG_DEF |
#define I2C2_CFG_DEF |
#define LED_1_GPIO_ON gpio_clear |
#define LED_2_GPIO_ON gpio_clear |
#define LED_3_GPIO_ON gpio_clear |
#define LED_4_GPIO_ON gpio_clear |
#define LED_5_GPIO_OFF gpio_clear |
#define LED_6_GPIO_OFF gpio_clear |
#define LED_7_GPIO_OFF gpio_clear |
#define LED_8_GPIO_OFF gpio_clear |
#define PPM_CHANNEL ICU_CHANNEL_1 |
Definition at line 917 of file board.h.
Referenced by ppm_arch_init().
#define PPM_TIMER ICUD1 |
Definition at line 918 of file board.h.
Referenced by ppm_arch_init().
#define PWM_CONF2_DEF |
#define PWM_CONF3_DEF |
#define PWM_INPUT1_GPIO_AF GPIO_AF1 |
Definition at line 929 of file board.h.
Referenced by pwm_input_init().
#define PWM_INPUT1_GPIO_PIN GPIO8 |
Definition at line 928 of file board.h.
Referenced by pwm_input_init().
#define PWM_INPUT1_GPIO_PORT GPIOA |
Definition at line 927 of file board.h.
Referenced by pwm_input_init().
#define PWM_INPUT1_ICU ICUD1 |
Definition at line 924 of file board.h.
Referenced by pwm_input_init().
#define PWM_INPUT2_GPIO_AF GPIO_AF3 |
Definition at line 939 of file board.h.
Referenced by pwm_input_init().
#define PWM_INPUT2_GPIO_PIN GPIO2 |
Definition at line 938 of file board.h.
Referenced by pwm_input_init().
#define PWM_INPUT2_GPIO_PORT GPIOA |
Definition at line 937 of file board.h.
Referenced by pwm_input_init().
#define PWM_INPUT2_ICU ICUD2 |
Definition at line 935 of file board.h.
Referenced by pwm_input_init().
#define PWM_SERVO_0 0 |
Definition at line 775 of file board.h.
Referenced by actuators_pwm_commit().
#define PWM_SERVO_0_AF GPIO_AF2 |
Definition at line 778 of file board.h.
Referenced by actuators_pwm_arch_init().
#define PWM_SERVO_0_CHANNEL 2 |
Definition at line 780 of file board.h.
Referenced by actuators_pwm_commit().
#define PWM_SERVO_0_DRIVER PWMD3 |
Definition at line 779 of file board.h.
Referenced by actuators_pwm_commit().
#define PWM_SERVO_0_GPIO GPIOB |
Definition at line 776 of file board.h.
Referenced by actuators_pwm_arch_init().
#define PWM_SERVO_0_PIN GPIO0 |
Definition at line 777 of file board.h.
Referenced by actuators_pwm_arch_init().
#define PWM_SERVO_1 1 |
Definition at line 790 of file board.h.
Referenced by actuators_pwm_commit().
#define PWM_SERVO_1_AF GPIO_AF1 |
Definition at line 793 of file board.h.
Referenced by actuators_pwm_arch_init().
#define PWM_SERVO_1_CHANNEL 2 |
Definition at line 795 of file board.h.
Referenced by actuators_pwm_commit().
#define PWM_SERVO_1_DRIVER PWMD2 |
Definition at line 794 of file board.h.
Referenced by actuators_pwm_commit().
#define PWM_SERVO_1_GPIO GPIOA |
Definition at line 791 of file board.h.
Referenced by actuators_pwm_arch_init().
#define PWM_SERVO_1_PIN GPIO2 |
Definition at line 792 of file board.h.
Referenced by actuators_pwm_arch_init().
#define PWM_SERVO_2 2 |
Definition at line 805 of file board.h.
Referenced by actuators_pwm_commit().
#define PWM_SERVO_2_AF GPIO_AF2 |
Definition at line 808 of file board.h.
Referenced by actuators_pwm_arch_init().
#define PWM_SERVO_2_CHANNEL 1 |
Definition at line 810 of file board.h.
Referenced by actuators_pwm_commit().
#define PWM_SERVO_2_DRIVER PWMD3 |
Definition at line 809 of file board.h.
Referenced by actuators_pwm_commit().
#define PWM_SERVO_2_GPIO GPIOB |
Definition at line 806 of file board.h.
Referenced by actuators_pwm_arch_init().
#define PWM_SERVO_2_PIN GPIO5 |
Definition at line 807 of file board.h.
Referenced by actuators_pwm_arch_init().
#define PWM_SERVO_3 3 |
Definition at line 820 of file board.h.
Referenced by actuators_pwm_commit().
#define PWM_SERVO_3_AF GPIO_AF2 |
Definition at line 823 of file board.h.
Referenced by actuators_pwm_arch_init().
#define PWM_SERVO_3_CHANNEL 0 |
Definition at line 825 of file board.h.
Referenced by actuators_pwm_commit().
#define PWM_SERVO_3_DRIVER PWMD3 |
Definition at line 824 of file board.h.
Referenced by actuators_pwm_commit().
#define PWM_SERVO_3_GPIO GPIOB |
Definition at line 821 of file board.h.
Referenced by actuators_pwm_arch_init().
#define PWM_SERVO_3_PIN GPIO4 |
Definition at line 822 of file board.h.
Referenced by actuators_pwm_arch_init().
#define PWM_SERVO_4 4 |
Definition at line 835 of file board.h.
Referenced by actuators_pwm_commit().
#define PWM_SERVO_4_AF GPIO_AF1 |
Definition at line 838 of file board.h.
Referenced by actuators_pwm_arch_init().
#define PWM_SERVO_4_CHANNEL 1 |
Definition at line 840 of file board.h.
Referenced by actuators_pwm_commit().
#define PWM_SERVO_4_DRIVER PWMD2 |
Definition at line 839 of file board.h.
Referenced by actuators_pwm_commit().
#define PWM_SERVO_4_GPIO GPIOB |
Definition at line 836 of file board.h.
Referenced by actuators_pwm_arch_init().
#define PWM_SERVO_4_PIN GPIO3 |
Definition at line 837 of file board.h.
Referenced by actuators_pwm_arch_init().
#define PWM_SERVO_5 5 |
Definition at line 850 of file board.h.
Referenced by actuators_pwm_commit().
#define PWM_SERVO_5_AF GPIO_AF1 |
Definition at line 853 of file board.h.
Referenced by actuators_pwm_arch_init().
#define PWM_SERVO_5_CHANNEL 0 |
Definition at line 855 of file board.h.
Referenced by actuators_pwm_commit().
#define PWM_SERVO_5_DRIVER PWMD2 |
Definition at line 854 of file board.h.
Referenced by actuators_pwm_commit().
#define PWM_SERVO_5_GPIO GPIOA |
Definition at line 851 of file board.h.
Referenced by actuators_pwm_arch_init().
#define PWM_SERVO_5_PIN GPIO15 |
Definition at line 852 of file board.h.
Referenced by actuators_pwm_arch_init().
#define RC_POLARITY_GPIO_PIN GPIO13 |
Definition at line 721 of file board.h.
Referenced by radio_control_impl_init(), and sbus_common_init().
#define RC_POLARITY_GPIO_PORT GPIOB |
Definition at line 720 of file board.h.
Referenced by radio_control_impl_init(), and sbus_common_init().
#define SPI1_GPIO_AF GPIO_AF5 |
#define SPI1_GPIO_MISO GPIO6 |
Definition at line 963 of file board.h.
Referenced by spi1_arch_init().
#define SPI1_GPIO_MOSI GPIO7 |
Definition at line 965 of file board.h.
Referenced by spi1_arch_init().
#define SPI1_GPIO_PORT_MISO GPIOA |
Definition at line 962 of file board.h.
Referenced by spi1_arch_init().
#define SPI1_GPIO_PORT_MOSI GPIOA |
Definition at line 964 of file board.h.
Referenced by spi1_arch_init().
#define SPI1_GPIO_PORT_SCK GPIOA |
Definition at line 966 of file board.h.
Referenced by spi1_arch_init().
#define SPI1_GPIO_SCK GPIO5 |
Definition at line 967 of file board.h.
Referenced by spi1_arch_init().
#define SPI_SELECT_SLAVE0_PIN GPIO9 |
Definition at line 971 of file board.h.
Referenced by spi_init_slaves(), spi_resolve_slave_pin(), spi_slave_select(), spi_slave_unselect(), SpiSlaveSelect(), and SpiSlaveUnselect().
#define SPI_SELECT_SLAVE0_PORT GPIOB |
Definition at line 970 of file board.h.
Referenced by spi_init_slaves(), spi_resolve_slave_port(), spi_slave_select(), spi_slave_unselect(), SpiSlaveSelect(), and SpiSlaveUnselect().
#define SPI_SELECT_SLAVE1_PIN GPIO1 |
Definition at line 974 of file board.h.
Referenced by spi_init_slaves(), spi_resolve_slave_pin(), spi_slave_select(), spi_slave_unselect(), SpiSlaveSelect(), and SpiSlaveUnselect().
#define SPI_SELECT_SLAVE1_PORT GPIOB |
Definition at line 973 of file board.h.
Referenced by spi_init_slaves(), spi_resolve_slave_port(), spi_slave_select(), spi_slave_unselect(), SpiSlaveSelect(), and SpiSlaveUnselect().
#define SPI_SELECT_SLAVE2_PIN GPIO5 |
Definition at line 977 of file board.h.
Referenced by spi_init_slaves(), spi_resolve_slave_pin(), spi_slave_select(), spi_slave_unselect(), SpiSlaveSelect(), and SpiSlaveUnselect().
#define SPI_SELECT_SLAVE2_PORT GPIOC |
Definition at line 976 of file board.h.
Referenced by spi_init_slaves(), spi_resolve_slave_port(), spi_slave_select(), spi_slave_unselect(), SpiSlaveSelect(), and SpiSlaveUnselect().
#define SPI_SELECT_SLAVE3_PIN GPIO4 |
Definition at line 980 of file board.h.
Referenced by spi_init_slaves(), spi_resolve_slave_pin(), spi_slave_select(), spi_slave_unselect(), SpiSlaveSelect(), and SpiSlaveUnselect().
#define SPI_SELECT_SLAVE3_PORT GPIOC |
Definition at line 979 of file board.h.
Referenced by spi_init_slaves(), spi_resolve_slave_port(), spi_slave_select(), spi_slave_unselect(), SpiSlaveSelect(), and SpiSlaveUnselect().
#define SPI_SELECT_SLAVE4_PIN GPIO15 |
Definition at line 983 of file board.h.
Referenced by spi_init_slaves(), spi_resolve_slave_pin(), spi_slave_select(), spi_slave_unselect(), SpiSlaveSelect(), and SpiSlaveUnselect().
#define SPI_SELECT_SLAVE4_PORT GPIOB |
Definition at line 982 of file board.h.
Referenced by spi_init_slaves(), spi_resolve_slave_port(), spi_slave_select(), spi_slave_unselect(), SpiSlaveSelect(), and SpiSlaveUnselect().
#define USE_BARO_BOARD 1 |
#define VAL_GPIOA_AFRH |
#define VAL_GPIOA_AFRL |
#define VAL_GPIOA_MODER |
#define VAL_GPIOA_ODR |
#define VAL_GPIOA_OSPEEDR |
#define VAL_GPIOA_OTYPER |
#define VAL_GPIOA_PUPDR |
#define VAL_GPIOB_AFRH |
#define VAL_GPIOB_AFRL |
#define VAL_GPIOB_MODER |
#define VAL_GPIOB_ODR |
#define VAL_GPIOB_OSPEEDR |
#define VAL_GPIOB_OTYPER |
#define VAL_GPIOB_PUPDR |
#define VAL_GPIOC_AFRH |
#define VAL_GPIOC_AFRL |
#define VAL_GPIOC_MODER |
#define VAL_GPIOC_ODR |
#define VAL_GPIOC_OSPEEDR |
#define VAL_GPIOC_OTYPER |
#define VAL_GPIOC_PUPDR |
#define VAL_GPIOD_AFRL PIN_AFIO_AF(GPIOD_SDIO_CMD, 12) |
#define VAL_GPIOD_MODER PIN_MODE_ALTERNATE(GPIOD_SDIO_CMD) |
#define VAL_GPIOH_AFRH |
#define VAL_GPIOH_AFRL |
#define VAL_GPIOH_MODER |
#define VAL_GPIOH_ODR |
#define VAL_GPIOH_OSPEEDR |
#define VAL_GPIOH_OTYPER |
#define VAL_GPIOH_PUPDR |