Paparazzi UAS
v5.12_stable-4-g9b43e9b
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().
#define ADC_4 AD1_4 |
Definition at line 756 of file board.h.
Referenced by vms_ecu_demo_init().
#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 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 ICUD9 |
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().
#define RC_POLARITY_GPIO_PORT GPIOB |
Definition at line 720 of file board.h.
Referenced by radio_control_impl_init().
#define SDIO_AF 12 |
Definition at line 1038 of file board.h.
Referenced by sdio_connect().
#define SDIO_CK_PIN GPIOC_SDIO_CK |
Definition at line 1035 of file board.h.
Referenced by sdio_connect().
#define SDIO_CK_PORT GPIOC |
Definition at line 1034 of file board.h.
Referenced by sdio_connect().
#define SDIO_CMD_PIN GPIOD_SDIO_CMD |
Definition at line 1037 of file board.h.
Referenced by sdio_connect().
#define SDIO_CMD_PORT GPIOD |
Definition at line 1036 of file board.h.
Referenced by sdio_connect().
#define SDIO_D0_PIN GPIOC_SDIO_D0 |
Definition at line 1027 of file board.h.
Referenced by sdio_connect().
#define SDIO_D0_PORT GPIOC |
#define SDIO_D1_PIN GPIOC_SDIO_D1 |
Definition at line 1029 of file board.h.
Referenced by sdio_connect().
#define SDIO_D1_PORT GPIOC |
Definition at line 1028 of file board.h.
Referenced by sdio_connect().
#define SDIO_D2_PIN GPIOC_SDIO_D2 |
Definition at line 1031 of file board.h.
Referenced by sdio_connect().
#define SDIO_D2_PORT GPIOC |
Definition at line 1030 of file board.h.
Referenced by sdio_connect().
#define SDIO_D3_PIN GPIOC_SDIO_D3 |
Definition at line 1033 of file board.h.
Referenced by sdio_connect().
#define SDIO_D3_PORT GPIOC |
Definition at line 1032 of file board.h.
Referenced by sdio_connect().
#define SDLOG_BAT_ADC ADCD1 |
Definition at line 1040 of file board.h.
Referenced by thd_bat_survey().
#define SDLOG_BAT_CHAN AD1_4_CHANNEL |
Definition at line 1041 of file board.h.
Referenced by thd_bat_survey().
#define SDLOG_USB_LED 4 |
Definition at line 1043 of file board.h.
Referenced by usbActivity().
#define SDLOG_USB_VBUS_PIN GPIO9 |
Definition at line 1045 of file board.h.
Referenced by thdUsbStorage().
#define SDLOG_USB_VBUS_PORT GPIOA |
Definition at line 1044 of file board.h.
Referenced by thdUsbStorage().
#define SPI1_GPIO_AF GPIO_AF5 |
#define SPI1_GPIO_MISO GPIO6 |
Definition at line 981 of file board.h.
Referenced by spi1_arch_init().
#define SPI1_GPIO_MOSI GPIO7 |
Definition at line 983 of file board.h.
Referenced by spi1_arch_init().
#define SPI1_GPIO_PORT_MISO GPIOA |
Definition at line 980 of file board.h.
Referenced by spi1_arch_init().
#define SPI1_GPIO_PORT_MOSI GPIOA |
Definition at line 982 of file board.h.
Referenced by spi1_arch_init().
#define SPI1_GPIO_PORT_SCK GPIOA |
Definition at line 984 of file board.h.
Referenced by spi1_arch_init().
#define SPI1_GPIO_SCK GPIO5 |
Definition at line 985 of file board.h.
Referenced by spi1_arch_init().
#define SPI_SELECT_SLAVE0_PIN GPIO9 |
Definition at line 989 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 988 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 992 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 991 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 995 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 994 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 998 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 997 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 1001 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 1000 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 |
void boardInit | ( | void | ) |