Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
board.h File Reference

Go to the source code of this file.

Macros

#define BOARD_ST_STM32F3_DISCOVERY
 
#define BOARD_NAME   "STMicroelectronics STM32F3-Discovery"
 
#define STM32_LSECLK   0U
 
#define STM32_LSEDRV   (3U << 3U)
 
#define STM32_HSECLK   8000000U
 
#define STM32_HSE_BYPASS
 
#define STM32F303xC
 
#define GPIOA_BUTTON   0U
 
#define GPIOA_PIN1   1U
 
#define GPIOA_PIN2   2U
 
#define GPIOA_PIN3   3U
 
#define GPIOA_PIN4   4U
 
#define GPIOA_SPI1_SCK   5U
 
#define GPIOA_L3GD20_SCL   5U
 
#define GPIOA_SPI1_MISO   6U
 
#define GPIOA_L3GD20_SDO   6U
 
#define GPIOA_SPI1_MOSI   7U
 
#define GPIOA_L3GD20_SDI   7U
 
#define GPIOA_PIN8   8U
 
#define GPIOA_PIN9   9U
 
#define GPIOA_PIN10   10U
 
#define GPIOA_USB_DM   11U
 
#define GPIOA_USB_DP   12U
 
#define GPIOA_SWDIO   13U
 
#define GPIOA_SWCLK   14U
 
#define GPIOA_PIN15   15U
 
#define GPIOB_PIN0   0U
 
#define GPIOB_PIN1   1U
 
#define GPIOB_PIN2   2U
 
#define GPIOB_SWO   3U
 
#define GPIOB_PIN4   4U
 
#define GPIOB_PIN5   5U
 
#define GPIOB_I2C1_SCL   6U
 
#define GPIOB_LSM303DLHC_SCL   6U
 
#define GPIOB_I2C1_SDA   7U
 
#define GPIOB_LSM303DLHC_SDA   7U
 
#define GPIOB_PIN8   8U
 
#define GPIOB_PIN9   9U
 
#define GPIOB_PIN10   10U
 
#define GPIOB_PIN11   11U
 
#define GPIOB_PIN12   12U
 
#define GPIOB_PIN13   13U
 
#define GPIOB_PIN14   14U
 
#define GPIOB_PIN15   15U
 
#define GPIOC_PIN0   0U
 
#define GPIOC_PIN1   1U
 
#define GPIOC_PIN2   2U
 
#define GPIOC_PIN3   3U
 
#define GPIOC_PIN4   4U
 
#define GPIOC_PIN5   5U
 
#define GPIOC_PIN6   6U
 
#define GPIOC_PIN7   7U
 
#define GPIOC_PIN8   8U
 
#define GPIOC_PIN9   9U
 
#define GPIOC_PIN10   10U
 
#define GPIOC_PIN11   11U
 
#define GPIOC_PIN12   12U
 
#define GPIOC_PIN13   13U
 
#define GPIOC_OSC32_IN   14U
 
#define GPIOC_OSC32_OUT   15U
 
#define GPIOD_PIN0   0U
 
#define GPIOD_PIN1   1U
 
#define GPIOD_PIN2   2U
 
#define GPIOD_PIN3   3U
 
#define GPIOD_PIN4   4U
 
#define GPIOD_PIN5   5U
 
#define GPIOD_PIN6   6U
 
#define GPIOD_PIN7   7U
 
#define GPIOD_PIN8   8U
 
#define GPIOD_PIN9   9U
 
#define GPIOD_PIN10   10U
 
#define GPIOD_PIN11   11U
 
#define GPIOD_PIN12   12U
 
#define GPIOD_PIN13   13U
 
#define GPIOD_PIN14   14U
 
#define GPIOD_PIN15   15U
 
#define GPIOE_L3GD20_INT1   0U
 
#define GPIOE_L3GD20_INT2   1U
 
#define GPIOE_LSM303DLHC_DRDY   2U
 
#define GPIOE_SPI1_CS   3U
 
#define GPIOE_L3GD20_CS   3U
 
#define GPIOE_LSM303DLHC_INT1   4U
 
#define GPIOE_LSM303DLHC_INT2   5U
 
#define GPIOE_PIN6   6U
 
#define GPIOE_PIN7   7U
 
#define GPIOE_LED4_BLUE   8U
 
#define GPIOE_LED3_RED   9U
 
#define GPIOE_LED5_ORANGE   10U
 
#define GPIOE_LED7_GREEN   11U
 
#define GPIOE_LED9_BLUE   12U
 
#define GPIOE_LED10_RED   13U
 
#define GPIOE_LED8_ORANGE   14U
 
#define GPIOE_LED6_GREEN   15U
 
#define GPIOF_OSC_IN   0U
 
#define GPIOF_OSC_OUT   1U
 
#define GPIOF_PIN2   2U
 
#define GPIOF_PIN3   3U
 
#define GPIOF_PIN4   4U
 
#define GPIOF_PIN5   5U
 
#define GPIOF_PIN6   6U
 
#define GPIOF_PIN7   7U
 
#define GPIOF_PIN8   8U
 
#define GPIOF_PIN9   9U
 
#define GPIOF_PIN10   10U
 
#define GPIOF_PIN11   11U
 
#define GPIOF_PIN12   12U
 
#define GPIOF_PIN13   13U
 
#define GPIOF_PIN14   14U
 
#define GPIOF_PIN15   15U
 
#define GPIOG_PIN0   0U
 
#define GPIOG_PIN1   1U
 
#define GPIOG_PIN2   2U
 
#define GPIOG_PIN3   3U
 
#define GPIOG_PIN4   4U
 
#define GPIOG_PIN5   5U
 
#define GPIOG_PIN6   6U
 
#define GPIOG_PIN7   7U
 
#define GPIOG_PIN8   8U
 
#define GPIOG_PIN9   9U
 
#define GPIOG_PIN10   10U
 
#define GPIOG_PIN11   11U
 
#define GPIOG_PIN12   12U
 
#define GPIOG_PIN13   13U
 
#define GPIOG_PIN14   14U
 
#define GPIOG_PIN15   15U
 
#define GPIOH_PIN0   0U
 
#define GPIOH_PIN1   1U
 
#define GPIOH_PIN2   2U
 
#define GPIOH_PIN3   3U
 
#define GPIOH_PIN4   4U
 
#define GPIOH_PIN5   5U
 
#define GPIOH_PIN6   6U
 
#define GPIOH_PIN7   7U
 
#define GPIOH_PIN8   8U
 
#define GPIOH_PIN9   9U
 
#define GPIOH_PIN10   10U
 
#define GPIOH_PIN11   11U
 
#define GPIOH_PIN12   12U
 
#define GPIOH_PIN13   13U
 
#define GPIOH_PIN14   14U
 
#define GPIOH_PIN15   15U
 
#define LINE_BUTTON   PAL_LINE(GPIOA, 0U)
 
#define LINE_SPI1_SCK   PAL_LINE(GPIOA, 5U)
 
#define LINE_L3GD20_SCL   PAL_LINE(GPIOA, 5U)
 
#define LINE_SPI1_MISO   PAL_LINE(GPIOA, 6U)
 
#define LINE_L3GD20_SDO   PAL_LINE(GPIOA, 6U)
 
#define LINE_SPI1_MOSI   PAL_LINE(GPIOA, 7U)
 
#define LINE_L3GD20_SDI   PAL_LINE(GPIOA, 7U)
 
#define LINE_USB_DM   PAL_LINE(GPIOA, 11U)
 
#define LINE_USB_DP   PAL_LINE(GPIOA, 12U)
 
#define LINE_SWDIO   PAL_LINE(GPIOA, 13U)
 
#define LINE_SWCLK   PAL_LINE(GPIOA, 14U)
 
#define LINE_SWO   PAL_LINE(GPIOB, 3U)
 
#define LINE_I2C1_SCL   PAL_LINE(GPIOB, 6U)
 
#define LINE_LSM303DLHC_SCL   PAL_LINE(GPIOB, 6U)
 
#define LINE_I2C1_SDA   PAL_LINE(GPIOB, 7U)
 
#define LINE_LSM303DLHC_SDA   PAL_LINE(GPIOB, 7U)
 
#define LINE_OSC32_IN   PAL_LINE(GPIOC, 14U)
 
#define LINE_OSC32_OUT   PAL_LINE(GPIOC, 15U)
 
#define LINE_L3GD20_INT1   PAL_LINE(GPIOE, 0U)
 
#define LINE_L3GD20_INT2   PAL_LINE(GPIOE, 1U)
 
#define LINE_LSM303DLHC_DRDY   PAL_LINE(GPIOE, 2U)
 
#define LINE_SPI1_CS   PAL_LINE(GPIOE, 3U)
 
#define LINE_L3GD20_CS   PAL_LINE(GPIOE, 3U)
 
#define LINE_LSM303DLHC_INT1   PAL_LINE(GPIOE, 4U)
 
#define LINE_LSM303DLHC_INT2   PAL_LINE(GPIOE, 5U)
 
#define LINE_LED4_BLUE   PAL_LINE(GPIOE, 8U)
 
#define LINE_LED3_RED   PAL_LINE(GPIOE, 9U)
 
#define LINE_LED5_ORANGE   PAL_LINE(GPIOE, 10U)
 
#define LINE_LED7_GREEN   PAL_LINE(GPIOE, 11U)
 
#define LINE_LED9_BLUE   PAL_LINE(GPIOE, 12U)
 
#define LINE_LED10_RED   PAL_LINE(GPIOE, 13U)
 
#define LINE_LED8_ORANGE   PAL_LINE(GPIOE, 14U)
 
#define LINE_LED6_GREEN   PAL_LINE(GPIOE, 15U)
 
#define LINE_OSC_IN   PAL_LINE(GPIOF, 0U)
 
#define LINE_OSC_OUT   PAL_LINE(GPIOF, 1U)
 
#define PIN_MODE_INPUT(n)   (0U << ((n) * 2U))
 
#define PIN_MODE_OUTPUT(n)   (1U << ((n) * 2U))
 
#define PIN_MODE_ALTERNATE(n)   (2U << ((n) * 2U))
 
#define PIN_MODE_ANALOG(n)   (3U << ((n) * 2U))
 
#define PIN_ODR_LOW(n)   (0U << (n))
 
#define PIN_ODR_HIGH(n)   (1U << (n))
 
#define PIN_OTYPE_PUSHPULL(n)   (0U << (n))
 
#define PIN_OTYPE_OPENDRAIN(n)   (1U << (n))
 
#define PIN_OSPEED_VERYLOW(n)   (0U << ((n) * 2U))
 
#define PIN_OSPEED_LOW(n)   (1U << ((n) * 2U))
 
#define PIN_OSPEED_MEDIUM(n)   (2U << ((n) * 2U))
 
#define PIN_OSPEED_HIGH(n)   (3U << ((n) * 2U))
 
#define PIN_PUPDR_FLOATING(n)   (0U << ((n) * 2U))
 
#define PIN_PUPDR_PULLUP(n)   (1U << ((n) * 2U))
 
#define PIN_PUPDR_PULLDOWN(n)   (2U << ((n) * 2U))
 
#define PIN_AFIO_AF(n, v)   ((v) << (((n) % 8U) * 4U))
 
#define VAL_GPIOA_MODER
 
#define VAL_GPIOA_OTYPER
 
#define VAL_GPIOA_OSPEEDR
 
#define VAL_GPIOA_PUPDR
 
#define VAL_GPIOA_ODR
 
#define VAL_GPIOA_AFRL
 
#define VAL_GPIOA_AFRH
 
#define VAL_GPIOB_MODER
 
#define VAL_GPIOB_OTYPER
 
#define VAL_GPIOB_OSPEEDR
 
#define VAL_GPIOB_PUPDR
 
#define VAL_GPIOB_ODR
 
#define VAL_GPIOB_AFRL
 
#define VAL_GPIOB_AFRH
 
#define VAL_GPIOC_MODER
 
#define VAL_GPIOC_OTYPER
 
#define VAL_GPIOC_OSPEEDR
 
#define VAL_GPIOC_PUPDR
 
#define VAL_GPIOC_ODR
 
#define VAL_GPIOC_AFRL
 
#define VAL_GPIOC_AFRH
 
#define VAL_GPIOD_MODER
 
#define VAL_GPIOD_OTYPER
 
#define VAL_GPIOD_OSPEEDR
 
#define VAL_GPIOD_PUPDR
 
#define VAL_GPIOD_ODR
 
#define VAL_GPIOD_AFRL
 
#define VAL_GPIOD_AFRH
 
#define VAL_GPIOE_MODER
 
#define VAL_GPIOE_OTYPER
 
#define VAL_GPIOE_OSPEEDR
 
#define VAL_GPIOE_PUPDR
 
#define VAL_GPIOE_ODR
 
#define VAL_GPIOE_AFRL
 
#define VAL_GPIOE_AFRH
 
#define VAL_GPIOF_MODER
 
#define VAL_GPIOF_OTYPER
 
#define VAL_GPIOF_OSPEEDR
 
#define VAL_GPIOF_PUPDR
 
#define VAL_GPIOF_ODR
 
#define VAL_GPIOF_AFRL
 
#define VAL_GPIOF_AFRH
 
#define VAL_GPIOG_MODER
 
#define VAL_GPIOG_OTYPER
 
#define VAL_GPIOG_OSPEEDR
 
#define VAL_GPIOG_PUPDR
 
#define VAL_GPIOG_ODR
 
#define VAL_GPIOG_AFRL
 
#define VAL_GPIOG_AFRH
 
#define VAL_GPIOH_MODER
 
#define VAL_GPIOH_OTYPER
 
#define VAL_GPIOH_OSPEEDR
 
#define VAL_GPIOH_PUPDR
 
#define VAL_GPIOH_ODR
 
#define VAL_GPIOH_AFRL
 
#define VAL_GPIOH_AFRH
 
#define AHB_CLK   STM32_HCLK
 
#define USE_LED_1   1
 
#define LED_1_GPIO   GPIOE
 
#define LED_1_GPIO_PIN   GPIO9
 
#define LED_1_GPIO_ON   gpio_clear
 
#define LED_1_GPIO_OFF   gpio_set
 
#define USE_LED_2   1
 
#define LED_2_GPIO   GPIOE
 
#define LED_2_GPIO_PIN   GPIO8
 
#define LED_2_GPIO_ON   gpio_clear
 
#define LED_2_GPIO_OFF   gpio_set
 
#define USE_LED_3   1
 
#define LED_3_GPIO   GPIOE
 
#define LED_3_GPIO_PIN   GPIO10
 
#define LED_3_GPIO_ON   gpio_clear
 
#define LED_3_GPIO_OFF   gpio_set
 
#define USE_LED_4   1
 
#define LED_4_GPIO   GPIOE
 
#define LED_4_GPIO_PIN   GPIO11
 
#define LED_4_GPIO_ON   gpio_clear
 
#define LED_4_GPIO_OFF   gpio_set
 
#define USE_LED_5   0
 
#define LED_5_GPIO   GPIOE
 
#define LED_5_GPIO_PIN   GPIO12
 
#define LED_5_GPIO_ON   gpio_set
 
#define LED_5_GPIO_OFF   gpio_clear
 
#define USE_LED_6   0
 
#define LED_6_GPIO   GPIOE
 
#define LED_6_GPIO_PIN   GPIO13
 
#define LED_6_GPIO_ON   gpio_set
 
#define LED_6_GPIO_OFF   gpio_clear
 
#define USE_LED_7   0
 
#define LED_7_GPIO   GPIOE
 
#define LED_7_GPIO_PIN   GPIO13
 
#define LED_7_GPIO_ON   gpio_set
 
#define LED_7_GPIO_OFF   gpio_clear
 
#define USE_LED_8   0
 
#define LED_8_GPIO   GPIOE
 
#define LED_8_GPIO_PIN   GPIO15
 
#define LED_8_GPIO_ON   gpio_set
 
#define LED_8_GPIO_OFF   gpio_clear
 
#define RC_POLARITY_GPIO_PORT   GPIOB
 
#define RC_POLARITY_GPIO_PIN   GPIO13
 
#define USE_ADC_4   1
 
#define AD1_4_CHANNEL   ADC_CHANNEL_IN4
 
#define ADC_4   AD1_4
 
#define ADC_4_GPIO_PORT   GPIOA
 
#define ADC_4_GPIO_PIN   GPIO4
 
#define ADC_CHANNEL_VSUPPLY   ADC_4
 
#define DefaultVoltageOfAdc(adc)   (0.006185*adc)
 
#define USE_PWM0   1
 
#define PWM_SERVO_0   0
 
#define PWM_SERVO_0_GPIO   GPIOB
 
#define PWM_SERVO_0_PIN   GPIO0
 
#define PWM_SERVO_0_AF   GPIO_AF2
 
#define PWM_SERVO_0_DRIVER   PWMD3
 
#define PWM_SERVO_0_CHANNEL   2
 
#define PWM_SERVO_0_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define USE_PWM1   1
 
#define PWM_SERVO_1   1
 
#define PWM_SERVO_1_GPIO   GPIOA
 
#define PWM_SERVO_1_PIN   GPIO2
 
#define PWM_SERVO_1_AF   GPIO_AF1
 
#define PWM_SERVO_1_DRIVER   PWMD2
 
#define PWM_SERVO_1_CHANNEL   2
 
#define PWM_SERVO_1_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define USE_PWM2   1
 
#define PWM_SERVO_2   2
 
#define PWM_SERVO_2_GPIO   GPIOB
 
#define PWM_SERVO_2_PIN   GPIO5
 
#define PWM_SERVO_2_AF   GPIO_AF2
 
#define PWM_SERVO_2_DRIVER   PWMD3
 
#define PWM_SERVO_2_CHANNEL   1
 
#define PWM_SERVO_2_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define USE_PWM3   1
 
#define PWM_SERVO_3   3
 
#define PWM_SERVO_3_GPIO   GPIOB
 
#define PWM_SERVO_3_PIN   GPIO4
 
#define PWM_SERVO_3_AF   GPIO_AF2
 
#define PWM_SERVO_3_DRIVER   PWMD3
 
#define PWM_SERVO_3_CHANNEL   0
 
#define PWM_SERVO_3_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define USE_PWM4   1
 
#define PWM_SERVO_4   4
 
#define PWM_SERVO_4_GPIO   GPIOB
 
#define PWM_SERVO_4_PIN   GPIO3
 
#define PWM_SERVO_4_AF   GPIO_AF1
 
#define PWM_SERVO_4_DRIVER   PWMD2
 
#define PWM_SERVO_4_CHANNEL   1
 
#define PWM_SERVO_4_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define USE_PWM5   1
 
#define PWM_SERVO_5   5
 
#define PWM_SERVO_5_GPIO   GPIOA
 
#define PWM_SERVO_5_PIN   GPIO15
 
#define PWM_SERVO_5_AF   GPIO_AF1
 
#define PWM_SERVO_5_DRIVER   PWMD2
 
#define PWM_SERVO_5_CHANNEL   0
 
#define PWM_SERVO_5_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define PWM_SERVO_6_ACTIVE   PWM_OUTPUT_DISABLED
 
#define PWM_CONF_TIM2   1
 
#define PWM_CONF2_DEF
 
#define PWM_CONF_TIM3   1
 
#define PWM_CONF3_DEF
 
#define RC_PPM_TICKS_PER_USEC   2
 PPM radio defines. More...
 
#define PPM_TIMER_FREQUENCY   2000000
 
#define PPM_CHANNEL   ICU_CHANNEL_1
 
#define PPM_TIMER   ICUD1
 
#define PWM_INPUT1_ICU   ICUD1
 
#define PWM_INPUT1_CHANNEL   ICU_CHANNEL_1
 
#define PWM_INPUT1_GPIO_PORT   GPIOA
 
#define PWM_INPUT1_GPIO_PIN   GPIO8
 
#define PWM_INPUT1_GPIO_AF   GPIO_AF1
 
#define PWM_INPUT2_ICU   ICUD9
 
#define PWM_INPUT2_CHANNEL   ICU_CHANNEL_1
 
#define PWM_INPUT2_GPIO_PORT   GPIOA
 
#define PWM_INPUT2_GPIO_PIN   GPIO2
 
#define PWM_INPUT2_GPIO_AF   GPIO_AF3
 
#define I2C1_CLOCK_SPEED   400000
 I2C defines. More...
 
#define I2C1_DUTY_CYCLE   FAST_DUTY_CYCLE_2
 
#define I2C1_CFG_DEF
 
#define I2C2_CLOCK_SPEED   400000
 
#define I2C2_DUTY_CYCLE   FAST_DUTY_CYCLE_2
 
#define I2C2_CFG_DEF
 
#define SPI1_GPIO_AF   GPIO_AF5
 SPI Config. More...
 
#define SPI1_GPIO_PORT_MISO   GPIOA
 
#define SPI1_GPIO_MISO   GPIO6
 
#define SPI1_GPIO_PORT_MOSI   GPIOA
 
#define SPI1_GPIO_MOSI   GPIO7
 
#define SPI1_GPIO_PORT_SCK   GPIOA
 
#define SPI1_GPIO_SCK   GPIO5
 
#define SPI_SELECT_SLAVE0_PORT   GPIOB
 
#define SPI_SELECT_SLAVE0_PIN   GPIO9
 
#define SPI_SELECT_SLAVE1_PORT   GPIOB
 
#define SPI_SELECT_SLAVE1_PIN   GPIO1
 
#define SPI_SELECT_SLAVE2_PORT   GPIOC
 
#define SPI_SELECT_SLAVE2_PIN   GPIO5
 
#define SPI_SELECT_SLAVE3_PORT   GPIOC
 
#define SPI_SELECT_SLAVE3_PIN   GPIO4
 
#define SPI_SELECT_SLAVE4_PORT   GPIOB
 
#define SPI_SELECT_SLAVE4_PIN   GPIO15
 
#define DEFAULT_ACTUATORS   "subsystems/actuators/actuators_pwm.h"
 Baro. More...
 
#define ActuatorDefaultSet(_x, _y)   ActuatorPwmSet(_x,_y)
 
#define ActuatorsDefaultInit()   ActuatorsPwmInit()
 
#define ActuatorsDefaultCommit()   ActuatorsPwmCommit()
 
#define SDIO_D0_PORT   GPIOC
 SDIO. More...
 
#define SDIO_D0_PIN   GPIOC_SDIO_D0
 
#define SDIO_D1_PORT   GPIOC
 
#define SDIO_D1_PIN   GPIOC_SDIO_D1
 
#define SDIO_D2_PORT   GPIOC
 
#define SDIO_D2_PIN   GPIOC_SDIO_D2
 
#define SDIO_D3_PORT   GPIOC
 
#define SDIO_D3_PIN   GPIOC_SDIO_D3
 
#define SDIO_CK_PORT   GPIOC
 
#define SDIO_CK_PIN   GPIOC_SDIO_CK
 
#define SDIO_CMD_PORT   GPIOD
 
#define SDIO_CMD_PIN   GPIOD_SDIO_CMD
 
#define SDIO_AF   12
 
#define SDLOG_BAT_ADC   ADCD1
 
#define SDLOG_BAT_CHAN   AD1_4_CHANNEL
 
#define SDLOG_USB_LED   4
 
#define SDLOG_USB_VBUS_PORT   GPIOA
 
#define SDLOG_USB_VBUS_PIN   GPIO9
 

Functions

void boardInit (void)
 Board-specific initialization code. More...
 

Macro Definition Documentation

#define ActuatorDefaultSet (   _x,
  _y 
)    ActuatorPwmSet(_x,_y)

Definition at line 1587 of file board.h.

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

Definition at line 1589 of file board.h.

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

Definition at line 1588 of file board.h.

#define AD1_4_CHANNEL   ADC_CHANNEL_IN4

Definition at line 1324 of file board.h.

#define ADC_4   AD1_4

Definition at line 1325 of file board.h.

#define ADC_4_GPIO_PIN   GPIO4

Definition at line 1327 of file board.h.

#define ADC_4_GPIO_PORT   GPIOA

Definition at line 1326 of file board.h.

#define ADC_CHANNEL_VSUPPLY   ADC_4

Definition at line 1332 of file board.h.

#define AHB_CLK   STM32_HCLK

Definition at line 1210 of file board.h.

#define BOARD_NAME   "STMicroelectronics STM32F3-Discovery"

Definition at line 33 of file board.h.

#define BOARD_ST_STM32F3_DISCOVERY

Definition at line 32 of file board.h.

#define DEFAULT_ACTUATORS   "subsystems/actuators/actuators_pwm.h"

Baro.

Apparently needed for backwards compatibility with the ancient onboard baro boards

Definition at line 1586 of file board.h.

#define DefaultVoltageOfAdc (   adc)    (0.006185*adc)

Definition at line 1335 of file board.h.

#define GPIOA_BUTTON   0U

Definition at line 59 of file board.h.

#define GPIOA_L3GD20_SCL   5U

Definition at line 65 of file board.h.

#define GPIOA_L3GD20_SDI   7U

Definition at line 69 of file board.h.

#define GPIOA_L3GD20_SDO   6U

Definition at line 67 of file board.h.

#define GPIOA_PIN1   1U

Definition at line 60 of file board.h.

#define GPIOA_PIN10   10U

Definition at line 72 of file board.h.

#define GPIOA_PIN15   15U

Definition at line 77 of file board.h.

#define GPIOA_PIN2   2U

Definition at line 61 of file board.h.

#define GPIOA_PIN3   3U

Definition at line 62 of file board.h.

#define GPIOA_PIN4   4U

Definition at line 63 of file board.h.

#define GPIOA_PIN8   8U

Definition at line 70 of file board.h.

#define GPIOA_PIN9   9U

Definition at line 71 of file board.h.

#define GPIOA_SPI1_MISO   6U

Definition at line 66 of file board.h.

#define GPIOA_SPI1_MOSI   7U

Definition at line 68 of file board.h.

#define GPIOA_SPI1_SCK   5U

Definition at line 64 of file board.h.

#define GPIOA_SWCLK   14U

Definition at line 76 of file board.h.

#define GPIOA_SWDIO   13U

Definition at line 75 of file board.h.

#define GPIOA_USB_DM   11U

Definition at line 73 of file board.h.

#define GPIOA_USB_DP   12U

Definition at line 74 of file board.h.

#define GPIOB_I2C1_SCL   6U

Definition at line 85 of file board.h.

#define GPIOB_I2C1_SDA   7U

Definition at line 87 of file board.h.

#define GPIOB_LSM303DLHC_SCL   6U

Definition at line 86 of file board.h.

#define GPIOB_LSM303DLHC_SDA   7U

Definition at line 88 of file board.h.

#define GPIOB_PIN0   0U

Definition at line 79 of file board.h.

#define GPIOB_PIN1   1U

Definition at line 80 of file board.h.

#define GPIOB_PIN10   10U

Definition at line 91 of file board.h.

#define GPIOB_PIN11   11U

Definition at line 92 of file board.h.

#define GPIOB_PIN12   12U

Definition at line 93 of file board.h.

#define GPIOB_PIN13   13U

Definition at line 94 of file board.h.

#define GPIOB_PIN14   14U

Definition at line 95 of file board.h.

#define GPIOB_PIN15   15U

Definition at line 96 of file board.h.

#define GPIOB_PIN2   2U

Definition at line 81 of file board.h.

#define GPIOB_PIN4   4U

Definition at line 83 of file board.h.

#define GPIOB_PIN5   5U

Definition at line 84 of file board.h.

#define GPIOB_PIN8   8U

Definition at line 89 of file board.h.

#define GPIOB_PIN9   9U

Definition at line 90 of file board.h.

#define GPIOB_SWO   3U

Definition at line 82 of file board.h.

#define GPIOC_OSC32_IN   14U

Definition at line 112 of file board.h.

#define GPIOC_OSC32_OUT   15U

Definition at line 113 of file board.h.

#define GPIOC_PIN0   0U

Definition at line 98 of file board.h.

#define GPIOC_PIN1   1U

Definition at line 99 of file board.h.

#define GPIOC_PIN10   10U

Definition at line 108 of file board.h.

#define GPIOC_PIN11   11U

Definition at line 109 of file board.h.

#define GPIOC_PIN12   12U

Definition at line 110 of file board.h.

#define GPIOC_PIN13   13U

Definition at line 111 of file board.h.

#define GPIOC_PIN2   2U

Definition at line 100 of file board.h.

#define GPIOC_PIN3   3U

Definition at line 101 of file board.h.

#define GPIOC_PIN4   4U

Definition at line 102 of file board.h.

#define GPIOC_PIN5   5U

Definition at line 103 of file board.h.

#define GPIOC_PIN6   6U

Definition at line 104 of file board.h.

#define GPIOC_PIN7   7U

Definition at line 105 of file board.h.

#define GPIOC_PIN8   8U

Definition at line 106 of file board.h.

#define GPIOC_PIN9   9U

Definition at line 107 of file board.h.

#define GPIOD_PIN0   0U

Definition at line 115 of file board.h.

#define GPIOD_PIN1   1U

Definition at line 116 of file board.h.

#define GPIOD_PIN10   10U

Definition at line 125 of file board.h.

#define GPIOD_PIN11   11U

Definition at line 126 of file board.h.

#define GPIOD_PIN12   12U

Definition at line 127 of file board.h.

#define GPIOD_PIN13   13U

Definition at line 128 of file board.h.

#define GPIOD_PIN14   14U

Definition at line 129 of file board.h.

#define GPIOD_PIN15   15U

Definition at line 130 of file board.h.

#define GPIOD_PIN2   2U

Definition at line 117 of file board.h.

#define GPIOD_PIN3   3U

Definition at line 118 of file board.h.

#define GPIOD_PIN4   4U

Definition at line 119 of file board.h.

#define GPIOD_PIN5   5U

Definition at line 120 of file board.h.

#define GPIOD_PIN6   6U

Definition at line 121 of file board.h.

#define GPIOD_PIN7   7U

Definition at line 122 of file board.h.

#define GPIOD_PIN8   8U

Definition at line 123 of file board.h.

#define GPIOD_PIN9   9U

Definition at line 124 of file board.h.

#define GPIOE_L3GD20_CS   3U

Definition at line 136 of file board.h.

#define GPIOE_L3GD20_INT1   0U

Definition at line 132 of file board.h.

#define GPIOE_L3GD20_INT2   1U

Definition at line 133 of file board.h.

#define GPIOE_LED10_RED   13U

Definition at line 146 of file board.h.

#define GPIOE_LED3_RED   9U

Definition at line 142 of file board.h.

#define GPIOE_LED4_BLUE   8U

Definition at line 141 of file board.h.

#define GPIOE_LED5_ORANGE   10U

Definition at line 143 of file board.h.

#define GPIOE_LED6_GREEN   15U

Definition at line 148 of file board.h.

#define GPIOE_LED7_GREEN   11U

Definition at line 144 of file board.h.

#define GPIOE_LED8_ORANGE   14U

Definition at line 147 of file board.h.

#define GPIOE_LED9_BLUE   12U

Definition at line 145 of file board.h.

#define GPIOE_LSM303DLHC_DRDY   2U

Definition at line 134 of file board.h.

#define GPIOE_LSM303DLHC_INT1   4U

Definition at line 137 of file board.h.

#define GPIOE_LSM303DLHC_INT2   5U

Definition at line 138 of file board.h.

#define GPIOE_PIN6   6U

Definition at line 139 of file board.h.

#define GPIOE_PIN7   7U

Definition at line 140 of file board.h.

#define GPIOE_SPI1_CS   3U

Definition at line 135 of file board.h.

#define GPIOF_OSC_IN   0U

Definition at line 150 of file board.h.

#define GPIOF_OSC_OUT   1U

Definition at line 151 of file board.h.

#define GPIOF_PIN10   10U

Definition at line 160 of file board.h.

#define GPIOF_PIN11   11U

Definition at line 161 of file board.h.

#define GPIOF_PIN12   12U

Definition at line 162 of file board.h.

#define GPIOF_PIN13   13U

Definition at line 163 of file board.h.

#define GPIOF_PIN14   14U

Definition at line 164 of file board.h.

#define GPIOF_PIN15   15U

Definition at line 165 of file board.h.

#define GPIOF_PIN2   2U

Definition at line 152 of file board.h.

#define GPIOF_PIN3   3U

Definition at line 153 of file board.h.

#define GPIOF_PIN4   4U

Definition at line 154 of file board.h.

#define GPIOF_PIN5   5U

Definition at line 155 of file board.h.

#define GPIOF_PIN6   6U

Definition at line 156 of file board.h.

#define GPIOF_PIN7   7U

Definition at line 157 of file board.h.

#define GPIOF_PIN8   8U

Definition at line 158 of file board.h.

#define GPIOF_PIN9   9U

Definition at line 159 of file board.h.

#define GPIOG_PIN0   0U

Definition at line 167 of file board.h.

#define GPIOG_PIN1   1U

Definition at line 168 of file board.h.

#define GPIOG_PIN10   10U

Definition at line 177 of file board.h.

#define GPIOG_PIN11   11U

Definition at line 178 of file board.h.

#define GPIOG_PIN12   12U

Definition at line 179 of file board.h.

#define GPIOG_PIN13   13U

Definition at line 180 of file board.h.

#define GPIOG_PIN14   14U

Definition at line 181 of file board.h.

#define GPIOG_PIN15   15U

Definition at line 182 of file board.h.

#define GPIOG_PIN2   2U

Definition at line 169 of file board.h.

#define GPIOG_PIN3   3U

Definition at line 170 of file board.h.

#define GPIOG_PIN4   4U

Definition at line 171 of file board.h.

#define GPIOG_PIN5   5U

Definition at line 172 of file board.h.

#define GPIOG_PIN6   6U

Definition at line 173 of file board.h.

#define GPIOG_PIN7   7U

Definition at line 174 of file board.h.

#define GPIOG_PIN8   8U

Definition at line 175 of file board.h.

#define GPIOG_PIN9   9U

Definition at line 176 of file board.h.

#define GPIOH_PIN0   0U

Definition at line 184 of file board.h.

#define GPIOH_PIN1   1U

Definition at line 185 of file board.h.

#define GPIOH_PIN10   10U

Definition at line 194 of file board.h.

#define GPIOH_PIN11   11U

Definition at line 195 of file board.h.

#define GPIOH_PIN12   12U

Definition at line 196 of file board.h.

#define GPIOH_PIN13   13U

Definition at line 197 of file board.h.

#define GPIOH_PIN14   14U

Definition at line 198 of file board.h.

#define GPIOH_PIN15   15U

Definition at line 199 of file board.h.

#define GPIOH_PIN2   2U

Definition at line 186 of file board.h.

#define GPIOH_PIN3   3U

Definition at line 187 of file board.h.

#define GPIOH_PIN4   4U

Definition at line 188 of file board.h.

#define GPIOH_PIN5   5U

Definition at line 189 of file board.h.

#define GPIOH_PIN6   6U

Definition at line 190 of file board.h.

#define GPIOH_PIN7   7U

Definition at line 191 of file board.h.

#define GPIOH_PIN8   8U

Definition at line 192 of file board.h.

#define GPIOH_PIN9   9U

Definition at line 193 of file board.h.

#define I2C1_CFG_DEF
Value:
{ \
OPMODE_I2C, \
}
#define I2C1_DUTY_CYCLE
Definition: board.h:1517
#define I2C1_CLOCK_SPEED
I2C defines.
Definition: board.h:1514

Definition at line 1523 of file board.h.

#define I2C1_CLOCK_SPEED   400000

I2C defines.

Definition at line 1514 of file board.h.

#define I2C1_DUTY_CYCLE   FAST_DUTY_CYCLE_2

Definition at line 1517 of file board.h.

#define I2C2_CFG_DEF
Value:
{ \
OPMODE_I2C, \
}
#define I2C2_CLOCK_SPEED
Definition: board.h:1530
#define I2C2_DUTY_CYCLE
Definition: board.h:1533

Definition at line 1539 of file board.h.

#define I2C2_CLOCK_SPEED   400000

Definition at line 1530 of file board.h.

#define I2C2_DUTY_CYCLE   FAST_DUTY_CYCLE_2

Definition at line 1533 of file board.h.

#define LED_1_GPIO   GPIOE

Definition at line 1219 of file board.h.

#define LED_1_GPIO_OFF   gpio_set

Definition at line 1222 of file board.h.

#define LED_1_GPIO_ON   gpio_clear

Definition at line 1221 of file board.h.

#define LED_1_GPIO_PIN   GPIO9

Definition at line 1220 of file board.h.

#define LED_2_GPIO   GPIOE

Definition at line 1228 of file board.h.

#define LED_2_GPIO_OFF   gpio_set

Definition at line 1231 of file board.h.

#define LED_2_GPIO_ON   gpio_clear

Definition at line 1230 of file board.h.

#define LED_2_GPIO_PIN   GPIO8

Definition at line 1229 of file board.h.

#define LED_3_GPIO   GPIOE

Definition at line 1237 of file board.h.

#define LED_3_GPIO_OFF   gpio_set

Definition at line 1240 of file board.h.

#define LED_3_GPIO_ON   gpio_clear

Definition at line 1239 of file board.h.

#define LED_3_GPIO_PIN   GPIO10

Definition at line 1238 of file board.h.

#define LED_4_GPIO   GPIOE

Definition at line 1246 of file board.h.

#define LED_4_GPIO_OFF   gpio_set

Definition at line 1249 of file board.h.

#define LED_4_GPIO_ON   gpio_clear

Definition at line 1248 of file board.h.

#define LED_4_GPIO_PIN   GPIO11

Definition at line 1247 of file board.h.

#define LED_5_GPIO   GPIOE

Definition at line 1255 of file board.h.

#define LED_5_GPIO_OFF   gpio_clear

Definition at line 1258 of file board.h.

#define LED_5_GPIO_ON   gpio_set

Definition at line 1257 of file board.h.

#define LED_5_GPIO_PIN   GPIO12

Definition at line 1256 of file board.h.

#define LED_6_GPIO   GPIOE

Definition at line 1264 of file board.h.

#define LED_6_GPIO_OFF   gpio_clear

Definition at line 1267 of file board.h.

#define LED_6_GPIO_ON   gpio_set

Definition at line 1266 of file board.h.

#define LED_6_GPIO_PIN   GPIO13

Definition at line 1265 of file board.h.

#define LED_7_GPIO   GPIOE

Definition at line 1273 of file board.h.

#define LED_7_GPIO_OFF   gpio_clear

Definition at line 1276 of file board.h.

#define LED_7_GPIO_ON   gpio_set

Definition at line 1275 of file board.h.

#define LED_7_GPIO_PIN   GPIO13

Definition at line 1274 of file board.h.

#define LED_8_GPIO   GPIOE

Definition at line 1282 of file board.h.

#define LED_8_GPIO_OFF   gpio_clear

Definition at line 1285 of file board.h.

#define LED_8_GPIO_ON   gpio_set

Definition at line 1284 of file board.h.

#define LED_8_GPIO_PIN   GPIO15

Definition at line 1283 of file board.h.

#define LINE_BUTTON   PAL_LINE(GPIOA, 0U)

Definition at line 204 of file board.h.

#define LINE_I2C1_SCL   PAL_LINE(GPIOB, 6U)

Definition at line 217 of file board.h.

#define LINE_I2C1_SDA   PAL_LINE(GPIOB, 7U)

Definition at line 219 of file board.h.

#define LINE_L3GD20_CS   PAL_LINE(GPIOE, 3U)

Definition at line 230 of file board.h.

#define LINE_L3GD20_INT1   PAL_LINE(GPIOE, 0U)

Definition at line 226 of file board.h.

#define LINE_L3GD20_INT2   PAL_LINE(GPIOE, 1U)

Definition at line 227 of file board.h.

#define LINE_L3GD20_SCL   PAL_LINE(GPIOA, 5U)

Definition at line 206 of file board.h.

#define LINE_L3GD20_SDI   PAL_LINE(GPIOA, 7U)

Definition at line 210 of file board.h.

#define LINE_L3GD20_SDO   PAL_LINE(GPIOA, 6U)

Definition at line 208 of file board.h.

#define LINE_LED10_RED   PAL_LINE(GPIOE, 13U)

Definition at line 238 of file board.h.

#define LINE_LED3_RED   PAL_LINE(GPIOE, 9U)

Definition at line 234 of file board.h.

#define LINE_LED4_BLUE   PAL_LINE(GPIOE, 8U)

Definition at line 233 of file board.h.

#define LINE_LED5_ORANGE   PAL_LINE(GPIOE, 10U)

Definition at line 235 of file board.h.

#define LINE_LED6_GREEN   PAL_LINE(GPIOE, 15U)

Definition at line 240 of file board.h.

#define LINE_LED7_GREEN   PAL_LINE(GPIOE, 11U)

Definition at line 236 of file board.h.

#define LINE_LED8_ORANGE   PAL_LINE(GPIOE, 14U)

Definition at line 239 of file board.h.

#define LINE_LED9_BLUE   PAL_LINE(GPIOE, 12U)

Definition at line 237 of file board.h.

#define LINE_LSM303DLHC_DRDY   PAL_LINE(GPIOE, 2U)

Definition at line 228 of file board.h.

#define LINE_LSM303DLHC_INT1   PAL_LINE(GPIOE, 4U)

Definition at line 231 of file board.h.

#define LINE_LSM303DLHC_INT2   PAL_LINE(GPIOE, 5U)

Definition at line 232 of file board.h.

#define LINE_LSM303DLHC_SCL   PAL_LINE(GPIOB, 6U)

Definition at line 218 of file board.h.

#define LINE_LSM303DLHC_SDA   PAL_LINE(GPIOB, 7U)

Definition at line 220 of file board.h.

#define LINE_OSC32_IN   PAL_LINE(GPIOC, 14U)

Definition at line 222 of file board.h.

#define LINE_OSC32_OUT   PAL_LINE(GPIOC, 15U)

Definition at line 223 of file board.h.

#define LINE_OSC_IN   PAL_LINE(GPIOF, 0U)

Definition at line 242 of file board.h.

#define LINE_OSC_OUT   PAL_LINE(GPIOF, 1U)

Definition at line 243 of file board.h.

#define LINE_SPI1_CS   PAL_LINE(GPIOE, 3U)

Definition at line 229 of file board.h.

#define LINE_SPI1_MISO   PAL_LINE(GPIOA, 6U)

Definition at line 207 of file board.h.

#define LINE_SPI1_MOSI   PAL_LINE(GPIOA, 7U)

Definition at line 209 of file board.h.

#define LINE_SPI1_SCK   PAL_LINE(GPIOA, 5U)

Definition at line 205 of file board.h.

#define LINE_SWCLK   PAL_LINE(GPIOA, 14U)

Definition at line 214 of file board.h.

#define LINE_SWDIO   PAL_LINE(GPIOA, 13U)

Definition at line 213 of file board.h.

#define LINE_SWO   PAL_LINE(GPIOB, 3U)

Definition at line 216 of file board.h.

#define LINE_USB_DM   PAL_LINE(GPIOA, 11U)

Definition at line 211 of file board.h.

#define LINE_USB_DP   PAL_LINE(GPIOA, 12U)

Definition at line 212 of file board.h.

#define PIN_AFIO_AF (   n,
 
)    ((v) << (((n) % 8U) * 4U))

Definition at line 267 of file board.h.

#define PIN_MODE_ALTERNATE (   n)    (2U << ((n) * 2U))

Definition at line 254 of file board.h.

#define PIN_MODE_ANALOG (   n)    (3U << ((n) * 2U))

Definition at line 255 of file board.h.

#define PIN_MODE_INPUT (   n)    (0U << ((n) * 2U))

Definition at line 252 of file board.h.

#define PIN_MODE_OUTPUT (   n)    (1U << ((n) * 2U))

Definition at line 253 of file board.h.

#define PIN_ODR_HIGH (   n)    (1U << (n))

Definition at line 257 of file board.h.

#define PIN_ODR_LOW (   n)    (0U << (n))

Definition at line 256 of file board.h.

#define PIN_OSPEED_HIGH (   n)    (3U << ((n) * 2U))

Definition at line 263 of file board.h.

#define PIN_OSPEED_LOW (   n)    (1U << ((n) * 2U))

Definition at line 261 of file board.h.

#define PIN_OSPEED_MEDIUM (   n)    (2U << ((n) * 2U))

Definition at line 262 of file board.h.

#define PIN_OSPEED_VERYLOW (   n)    (0U << ((n) * 2U))

Definition at line 260 of file board.h.

#define PIN_OTYPE_OPENDRAIN (   n)    (1U << (n))

Definition at line 259 of file board.h.

#define PIN_OTYPE_PUSHPULL (   n)    (0U << (n))

Definition at line 258 of file board.h.

#define PIN_PUPDR_FLOATING (   n)    (0U << ((n) * 2U))

Definition at line 264 of file board.h.

#define PIN_PUPDR_PULLDOWN (   n)    (2U << ((n) * 2U))

Definition at line 266 of file board.h.

#define PIN_PUPDR_PULLUP (   n)    (1U << ((n) * 2U))

Definition at line 265 of file board.h.

#define PPM_CHANNEL   ICU_CHANNEL_1

Definition at line 1486 of file board.h.

#define PPM_TIMER   ICUD1

Definition at line 1487 of file board.h.

#define PPM_TIMER_FREQUENCY   2000000

Definition at line 1485 of file board.h.

#define PWM_CONF2_DEF
Value:
{ \
NULL, \
{ \
{ PWM_SERVO_5_ACTIVE, NULL }, \
{ PWM_SERVO_4_ACTIVE, NULL }, \
{ PWM_SERVO_1_ACTIVE, NULL }, \
{ PWM_OUTPUT_DISABLED, NULL }, \
}, \
0, \
0 \
}
#define PWM_SERVO_4_ACTIVE
Definition: board.h:1410
#define PWM_SERVO_1_ACTIVE
Definition: board.h:1365
#define PWM_SERVO_5_ACTIVE
Definition: board.h:1425
#define PWM_FREQUENCY
#define TIM2_SERVO_HZ

Definition at line 1448 of file board.h.

#define PWM_CONF3_DEF
Value:
{ \
NULL, \
{ \
{ PWM_SERVO_3_ACTIVE, NULL }, \
{ PWM_SERVO_2_ACTIVE, NULL }, \
{ PWM_SERVO_0_ACTIVE, NULL }, \
{ PWM_SERVO_6_ACTIVE, NULL }, \
}, \
0, \
0 \
}
#define TIM3_SERVO_HZ
#define PWM_FREQUENCY
#define PWM_SERVO_0_ACTIVE
Definition: board.h:1350
#define PWM_SERVO_3_ACTIVE
Definition: board.h:1395
#define PWM_SERVO_2_ACTIVE
Definition: board.h:1380
#define PWM_SERVO_6_ACTIVE
Definition: board.h:1439

Definition at line 1467 of file board.h.

#define PWM_CONF_TIM2   1

Definition at line 1446 of file board.h.

#define PWM_CONF_TIM3   1

Definition at line 1465 of file board.h.

#define PWM_INPUT1_CHANNEL   ICU_CHANNEL_1

Definition at line 1494 of file board.h.

#define PWM_INPUT1_GPIO_AF   GPIO_AF1

Definition at line 1498 of file board.h.

#define PWM_INPUT1_GPIO_PIN   GPIO8

Definition at line 1497 of file board.h.

#define PWM_INPUT1_GPIO_PORT   GPIOA

Definition at line 1496 of file board.h.

#define PWM_INPUT1_ICU   ICUD1

Definition at line 1493 of file board.h.

#define PWM_INPUT2_CHANNEL   ICU_CHANNEL_1

Definition at line 1505 of file board.h.

#define PWM_INPUT2_GPIO_AF   GPIO_AF3

Definition at line 1508 of file board.h.

#define PWM_INPUT2_GPIO_PIN   GPIO2

Definition at line 1507 of file board.h.

#define PWM_INPUT2_GPIO_PORT   GPIOA

Definition at line 1506 of file board.h.

#define PWM_INPUT2_ICU   ICUD9

Definition at line 1504 of file board.h.

#define PWM_SERVO_0   0

Definition at line 1344 of file board.h.

#define PWM_SERVO_0_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 1350 of file board.h.

#define PWM_SERVO_0_AF   GPIO_AF2

Definition at line 1347 of file board.h.

#define PWM_SERVO_0_CHANNEL   2

Definition at line 1349 of file board.h.

#define PWM_SERVO_0_DRIVER   PWMD3

Definition at line 1348 of file board.h.

#define PWM_SERVO_0_GPIO   GPIOB

Definition at line 1345 of file board.h.

#define PWM_SERVO_0_PIN   GPIO0

Definition at line 1346 of file board.h.

#define PWM_SERVO_1   1

Definition at line 1359 of file board.h.

#define PWM_SERVO_1_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 1365 of file board.h.

#define PWM_SERVO_1_AF   GPIO_AF1

Definition at line 1362 of file board.h.

#define PWM_SERVO_1_CHANNEL   2

Definition at line 1364 of file board.h.

#define PWM_SERVO_1_DRIVER   PWMD2

Definition at line 1363 of file board.h.

#define PWM_SERVO_1_GPIO   GPIOA

Definition at line 1360 of file board.h.

#define PWM_SERVO_1_PIN   GPIO2

Definition at line 1361 of file board.h.

#define PWM_SERVO_2   2

Definition at line 1374 of file board.h.

#define PWM_SERVO_2_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 1380 of file board.h.

#define PWM_SERVO_2_AF   GPIO_AF2

Definition at line 1377 of file board.h.

#define PWM_SERVO_2_CHANNEL   1

Definition at line 1379 of file board.h.

#define PWM_SERVO_2_DRIVER   PWMD3

Definition at line 1378 of file board.h.

#define PWM_SERVO_2_GPIO   GPIOB

Definition at line 1375 of file board.h.

#define PWM_SERVO_2_PIN   GPIO5

Definition at line 1376 of file board.h.

#define PWM_SERVO_3   3

Definition at line 1389 of file board.h.

#define PWM_SERVO_3_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 1395 of file board.h.

#define PWM_SERVO_3_AF   GPIO_AF2

Definition at line 1392 of file board.h.

#define PWM_SERVO_3_CHANNEL   0

Definition at line 1394 of file board.h.

#define PWM_SERVO_3_DRIVER   PWMD3

Definition at line 1393 of file board.h.

#define PWM_SERVO_3_GPIO   GPIOB

Definition at line 1390 of file board.h.

#define PWM_SERVO_3_PIN   GPIO4

Definition at line 1391 of file board.h.

#define PWM_SERVO_4   4

Definition at line 1404 of file board.h.

#define PWM_SERVO_4_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 1410 of file board.h.

#define PWM_SERVO_4_AF   GPIO_AF1

Definition at line 1407 of file board.h.

#define PWM_SERVO_4_CHANNEL   1

Definition at line 1409 of file board.h.

#define PWM_SERVO_4_DRIVER   PWMD2

Definition at line 1408 of file board.h.

#define PWM_SERVO_4_GPIO   GPIOB

Definition at line 1405 of file board.h.

#define PWM_SERVO_4_PIN   GPIO3

Definition at line 1406 of file board.h.

#define PWM_SERVO_5   5

Definition at line 1419 of file board.h.

#define PWM_SERVO_5_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 1425 of file board.h.

#define PWM_SERVO_5_AF   GPIO_AF1

Definition at line 1422 of file board.h.

#define PWM_SERVO_5_CHANNEL   0

Definition at line 1424 of file board.h.

#define PWM_SERVO_5_DRIVER   PWMD2

Definition at line 1423 of file board.h.

#define PWM_SERVO_5_GPIO   GPIOA

Definition at line 1420 of file board.h.

#define PWM_SERVO_5_PIN   GPIO15

Definition at line 1421 of file board.h.

#define PWM_SERVO_6_ACTIVE   PWM_OUTPUT_DISABLED

Definition at line 1439 of file board.h.

#define RC_POLARITY_GPIO_PIN   GPIO13

Definition at line 1290 of file board.h.

#define RC_POLARITY_GPIO_PORT   GPIOB

Definition at line 1289 of file board.h.

#define RC_PPM_TICKS_PER_USEC   2

PPM radio defines.

Definition at line 1484 of file board.h.

#define SDIO_AF   12

Definition at line 1607 of file board.h.

#define SDIO_CK_PIN   GPIOC_SDIO_CK

Definition at line 1604 of file board.h.

#define SDIO_CK_PORT   GPIOC

Definition at line 1603 of file board.h.

#define SDIO_CMD_PIN   GPIOD_SDIO_CMD

Definition at line 1606 of file board.h.

#define SDIO_CMD_PORT   GPIOD

Definition at line 1605 of file board.h.

#define SDIO_D0_PIN   GPIOC_SDIO_D0

Definition at line 1596 of file board.h.

#define SDIO_D0_PORT   GPIOC

SDIO.

Definition at line 1595 of file board.h.

#define SDIO_D1_PIN   GPIOC_SDIO_D1

Definition at line 1598 of file board.h.

#define SDIO_D1_PORT   GPIOC

Definition at line 1597 of file board.h.

#define SDIO_D2_PIN   GPIOC_SDIO_D2

Definition at line 1600 of file board.h.

#define SDIO_D2_PORT   GPIOC

Definition at line 1599 of file board.h.

#define SDIO_D3_PIN   GPIOC_SDIO_D3

Definition at line 1602 of file board.h.

#define SDIO_D3_PORT   GPIOC

Definition at line 1601 of file board.h.

#define SDLOG_BAT_ADC   ADCD1

Definition at line 1609 of file board.h.

#define SDLOG_BAT_CHAN   AD1_4_CHANNEL

Definition at line 1610 of file board.h.

#define SDLOG_USB_LED   4

Definition at line 1612 of file board.h.

#define SDLOG_USB_VBUS_PIN   GPIO9

Definition at line 1614 of file board.h.

#define SDLOG_USB_VBUS_PORT   GPIOA

Definition at line 1613 of file board.h.

#define SPI1_GPIO_AF   GPIO_AF5

SPI Config.

Definition at line 1548 of file board.h.

#define SPI1_GPIO_MISO   GPIO6

Definition at line 1550 of file board.h.

#define SPI1_GPIO_MOSI   GPIO7

Definition at line 1552 of file board.h.

#define SPI1_GPIO_PORT_MISO   GPIOA

Definition at line 1549 of file board.h.

#define SPI1_GPIO_PORT_MOSI   GPIOA

Definition at line 1551 of file board.h.

#define SPI1_GPIO_PORT_SCK   GPIOA

Definition at line 1553 of file board.h.

#define SPI1_GPIO_SCK   GPIO5

Definition at line 1554 of file board.h.

#define SPI_SELECT_SLAVE0_PIN   GPIO9

Definition at line 1558 of file board.h.

#define SPI_SELECT_SLAVE0_PORT   GPIOB

Definition at line 1557 of file board.h.

#define SPI_SELECT_SLAVE1_PIN   GPIO1

Definition at line 1561 of file board.h.

#define SPI_SELECT_SLAVE1_PORT   GPIOB

Definition at line 1560 of file board.h.

#define SPI_SELECT_SLAVE2_PIN   GPIO5

Definition at line 1564 of file board.h.

#define SPI_SELECT_SLAVE2_PORT   GPIOC

Definition at line 1563 of file board.h.

#define SPI_SELECT_SLAVE3_PIN   GPIO4

Definition at line 1567 of file board.h.

#define SPI_SELECT_SLAVE3_PORT   GPIOC

Definition at line 1566 of file board.h.

#define SPI_SELECT_SLAVE4_PIN   GPIO15

Definition at line 1570 of file board.h.

#define SPI_SELECT_SLAVE4_PORT   GPIOB

Definition at line 1569 of file board.h.

#define STM32_HSE_BYPASS

Definition at line 49 of file board.h.

#define STM32_HSECLK   8000000U

Definition at line 46 of file board.h.

#define STM32_LSECLK   0U

Definition at line 40 of file board.h.

#define STM32_LSEDRV   (3U << 3U)

Definition at line 43 of file board.h.

#define STM32F303xC

Definition at line 54 of file board.h.

#define USE_ADC_4   1

Definition at line 1321 of file board.h.

#define USE_LED_1   1

Definition at line 1217 of file board.h.

#define USE_LED_2   1

Definition at line 1226 of file board.h.

#define USE_LED_3   1

Definition at line 1235 of file board.h.

#define USE_LED_4   1

Definition at line 1244 of file board.h.

#define USE_LED_5   0

Definition at line 1253 of file board.h.

#define USE_LED_6   0

Definition at line 1262 of file board.h.

#define USE_LED_7   0

Definition at line 1271 of file board.h.

#define USE_LED_8   0

Definition at line 1280 of file board.h.

#define USE_PWM0   1

Definition at line 1341 of file board.h.

#define USE_PWM1   1

Definition at line 1356 of file board.h.

#define USE_PWM2   1

Definition at line 1371 of file board.h.

#define USE_PWM3   1

Definition at line 1386 of file board.h.

#define USE_PWM4   1

Definition at line 1401 of file board.h.

#define USE_PWM5   1

Definition at line 1416 of file board.h.

#define VAL_GPIOA_AFRH
Value:
#define GPIOA_PIN9
Definition: board.h:71
#define GPIOA_SWDIO
Definition: board.h:75
#define PIN_AFIO_AF(n, v)
Definition: board.h:267
#define GPIOA_USB_DM
Definition: board.h:73
#define GPIOA_SWCLK
Definition: board.h:76
#define GPIOA_PIN15
Definition: board.h:77
#define GPIOA_PIN10
Definition: board.h:72
#define GPIOA_PIN8
Definition: board.h:70
#define GPIOA_USB_DP
Definition: board.h:74

Definition at line 377 of file board.h.

#define VAL_GPIOA_AFRL
Value:
#define GPIOA_PIN1
Definition: board.h:60
#define GPIOA_SPI1_SCK
Definition: board.h:64
#define GPIOA_SPI1_MOSI
Definition: board.h:68
#define GPIOA_PIN4
Definition: board.h:63
#define GPIOA_SPI1_MISO
Definition: board.h:66
#define PIN_AFIO_AF(n, v)
Definition: board.h:267
#define GPIOA_PIN3
Definition: board.h:62
#define GPIOA_PIN2
Definition: board.h:61
#define GPIOA_BUTTON
Definition: board.h:59

Definition at line 369 of file board.h.

#define VAL_GPIOA_MODER
Value:
#define GPIOA_PIN1
Definition: board.h:60
#define GPIOA_SPI1_SCK
Definition: board.h:64
#define GPIOA_SPI1_MOSI
Definition: board.h:68
#define GPIOA_PIN9
Definition: board.h:71
#define GPIOA_PIN4
Definition: board.h:63
#define GPIOA_SWDIO
Definition: board.h:75
#define GPIOA_SPI1_MISO
Definition: board.h:66
#define GPIOA_USB_DM
Definition: board.h:73
#define GPIOA_PIN3
Definition: board.h:62
#define GPIOA_PIN2
Definition: board.h:61
#define GPIOA_SWCLK
Definition: board.h:76
#define PIN_MODE_ALTERNATE(n)
Definition: board.h:254
#define GPIOA_PIN15
Definition: board.h:77
#define GPIOA_PIN10
Definition: board.h:72
#define GPIOA_BUTTON
Definition: board.h:59
#define GPIOA_PIN8
Definition: board.h:70
#define PIN_MODE_INPUT(n)
Definition: board.h:252
#define GPIOA_USB_DP
Definition: board.h:74

Definition at line 289 of file board.h.

#define VAL_GPIOA_ODR
Value:
#define GPIOA_PIN1
Definition: board.h:60
#define GPIOA_SPI1_SCK
Definition: board.h:64
#define GPIOA_SPI1_MOSI
Definition: board.h:68
#define GPIOA_PIN9
Definition: board.h:71
#define GPIOA_PIN4
Definition: board.h:63
#define GPIOA_SWDIO
Definition: board.h:75
#define GPIOA_SPI1_MISO
Definition: board.h:66
#define GPIOA_USB_DM
Definition: board.h:73
#define GPIOA_PIN3
Definition: board.h:62
#define GPIOA_PIN2
Definition: board.h:61
#define GPIOA_SWCLK
Definition: board.h:76
#define GPIOA_PIN15
Definition: board.h:77
#define GPIOA_PIN10
Definition: board.h:72
#define GPIOA_BUTTON
Definition: board.h:59
#define PIN_ODR_HIGH(n)
Definition: board.h:257
#define GPIOA_PIN8
Definition: board.h:70
#define GPIOA_USB_DP
Definition: board.h:74

Definition at line 353 of file board.h.

#define VAL_GPIOA_OSPEEDR
Value:
#define GPIOA_PIN1
Definition: board.h:60
#define GPIOA_SPI1_SCK
Definition: board.h:64
#define GPIOA_SPI1_MOSI
Definition: board.h:68
#define GPIOA_PIN9
Definition: board.h:71
#define GPIOA_PIN4
Definition: board.h:63
#define GPIOA_SWDIO
Definition: board.h:75
#define GPIOA_SPI1_MISO
Definition: board.h:66
#define GPIOA_USB_DM
Definition: board.h:73
#define GPIOA_PIN3
Definition: board.h:62
#define GPIOA_PIN2
Definition: board.h:61
#define PIN_OSPEED_VERYLOW(n)
Definition: board.h:260
#define GPIOA_SWCLK
Definition: board.h:76
#define GPIOA_PIN15
Definition: board.h:77
#define GPIOA_PIN10
Definition: board.h:72
#define GPIOA_BUTTON
Definition: board.h:59
#define PIN_OSPEED_HIGH(n)
Definition: board.h:263
#define GPIOA_PIN8
Definition: board.h:70
#define GPIOA_USB_DP
Definition: board.h:74

Definition at line 321 of file board.h.

#define VAL_GPIOA_OTYPER
Value:
#define GPIOA_PIN1
Definition: board.h:60
#define GPIOA_SPI1_SCK
Definition: board.h:64
#define GPIOA_SPI1_MOSI
Definition: board.h:68
#define GPIOA_PIN9
Definition: board.h:71
#define GPIOA_PIN4
Definition: board.h:63
#define GPIOA_SWDIO
Definition: board.h:75
#define GPIOA_SPI1_MISO
Definition: board.h:66
#define GPIOA_USB_DM
Definition: board.h:73
#define GPIOA_PIN3
Definition: board.h:62
#define GPIOA_PIN2
Definition: board.h:61
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:258
#define GPIOA_SWCLK
Definition: board.h:76
#define GPIOA_PIN15
Definition: board.h:77
#define GPIOA_PIN10
Definition: board.h:72
#define GPIOA_BUTTON
Definition: board.h:59
#define GPIOA_PIN8
Definition: board.h:70
#define GPIOA_USB_DP
Definition: board.h:74

Definition at line 305 of file board.h.

#define VAL_GPIOA_PUPDR
Value:
#define GPIOA_PIN1
Definition: board.h:60
#define PIN_PUPDR_PULLDOWN(n)
Definition: board.h:266
#define GPIOA_SPI1_SCK
Definition: board.h:64
#define GPIOA_SPI1_MOSI
Definition: board.h:68
#define GPIOA_PIN9
Definition: board.h:71
#define GPIOA_PIN4
Definition: board.h:63
#define GPIOA_SWDIO
Definition: board.h:75
#define GPIOA_SPI1_MISO
Definition: board.h:66
#define GPIOA_USB_DM
Definition: board.h:73
#define GPIOA_PIN3
Definition: board.h:62
#define GPIOA_PIN2
Definition: board.h:61
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:265
#define GPIOA_SWCLK
Definition: board.h:76
#define GPIOA_PIN15
Definition: board.h:77
#define GPIOA_PIN10
Definition: board.h:72
#define GPIOA_BUTTON
Definition: board.h:59
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:264
#define GPIOA_PIN8
Definition: board.h:70
#define GPIOA_USB_DP
Definition: board.h:74

Definition at line 337 of file board.h.

#define VAL_GPIOB_AFRH
Value:
#define GPIOB_PIN12
Definition: board.h:93
#define GPIOB_PIN15
Definition: board.h:96
#define GPIOB_PIN10
Definition: board.h:91
#define GPIOB_PIN11
Definition: board.h:92
#define GPIOB_PIN13
Definition: board.h:94
#define GPIOB_PIN14
Definition: board.h:95
#define PIN_AFIO_AF(n, v)
Definition: board.h:267
#define GPIOB_PIN8
Definition: board.h:89
#define GPIOB_PIN9
Definition: board.h:90

Definition at line 494 of file board.h.

#define VAL_GPIOB_AFRL
Value:
#define GPIOB_SWO
Definition: board.h:82
#define PIN_AFIO_AF(n, v)
Definition: board.h:267
#define GPIOB_PIN1
Definition: board.h:80
#define GPIOB_PIN0
Definition: board.h:79
#define GPIOB_PIN5
Definition: board.h:84
#define GPIOB_PIN2
Definition: board.h:81
#define GPIOB_I2C1_SCL
Definition: board.h:85
#define GPIOB_PIN4
Definition: board.h:83
#define GPIOB_I2C1_SDA
Definition: board.h:87

Definition at line 486 of file board.h.

#define VAL_GPIOB_MODER
Value:
#define GPIOB_PIN12
Definition: board.h:93
#define GPIOB_PIN15
Definition: board.h:96
#define GPIOB_PIN10
Definition: board.h:91
#define GPIOB_SWO
Definition: board.h:82
#define GPIOB_PIN11
Definition: board.h:92
#define GPIOB_PIN13
Definition: board.h:94
#define GPIOB_PIN14
Definition: board.h:95
#define GPIOB_PIN1
Definition: board.h:80
#define GPIOB_PIN8
Definition: board.h:89
#define GPIOB_PIN0
Definition: board.h:79
#define GPIOB_PIN5
Definition: board.h:84
#define GPIOB_PIN9
Definition: board.h:90
#define PIN_MODE_ALTERNATE(n)
Definition: board.h:254
#define GPIOB_PIN2
Definition: board.h:81
#define GPIOB_I2C1_SCL
Definition: board.h:85
#define GPIOB_PIN4
Definition: board.h:83
#define GPIOB_I2C1_SDA
Definition: board.h:87
#define PIN_MODE_INPUT(n)
Definition: board.h:252

Definition at line 406 of file board.h.

#define VAL_GPIOB_ODR
Value:
#define GPIOB_PIN12
Definition: board.h:93
#define GPIOB_PIN15
Definition: board.h:96
#define GPIOB_PIN10
Definition: board.h:91
#define GPIOB_SWO
Definition: board.h:82
#define GPIOB_PIN11
Definition: board.h:92
#define GPIOB_PIN13
Definition: board.h:94
#define GPIOB_PIN14
Definition: board.h:95
#define GPIOB_PIN1
Definition: board.h:80
#define GPIOB_PIN8
Definition: board.h:89
#define GPIOB_PIN0
Definition: board.h:79
#define GPIOB_PIN5
Definition: board.h:84
#define GPIOB_PIN9
Definition: board.h:90
#define GPIOB_PIN2
Definition: board.h:81
#define GPIOB_I2C1_SCL
Definition: board.h:85
#define GPIOB_PIN4
Definition: board.h:83
#define GPIOB_I2C1_SDA
Definition: board.h:87
#define PIN_ODR_HIGH(n)
Definition: board.h:257

Definition at line 470 of file board.h.

#define VAL_GPIOB_OSPEEDR
Value:
#define GPIOB_PIN12
Definition: board.h:93
#define GPIOB_PIN15
Definition: board.h:96
#define GPIOB_PIN10
Definition: board.h:91
#define GPIOB_SWO
Definition: board.h:82
#define GPIOB_PIN11
Definition: board.h:92
#define GPIOB_PIN13
Definition: board.h:94
#define GPIOB_PIN14
Definition: board.h:95
#define GPIOB_PIN1
Definition: board.h:80
#define GPIOB_PIN8
Definition: board.h:89
#define GPIOB_PIN0
Definition: board.h:79
#define GPIOB_PIN5
Definition: board.h:84
#define PIN_OSPEED_VERYLOW(n)
Definition: board.h:260
#define GPIOB_PIN9
Definition: board.h:90
#define GPIOB_PIN2
Definition: board.h:81
#define GPIOB_I2C1_SCL
Definition: board.h:85
#define GPIOB_PIN4
Definition: board.h:83
#define GPIOB_I2C1_SDA
Definition: board.h:87
#define PIN_OSPEED_HIGH(n)
Definition: board.h:263

Definition at line 438 of file board.h.

#define VAL_GPIOB_OTYPER
Value:
#define GPIOB_PIN12
Definition: board.h:93
#define GPIOB_PIN15
Definition: board.h:96
#define GPIOB_PIN10
Definition: board.h:91
#define PIN_OTYPE_OPENDRAIN(n)
Definition: board.h:259
#define GPIOB_SWO
Definition: board.h:82
#define GPIOB_PIN11
Definition: board.h:92
#define GPIOB_PIN13
Definition: board.h:94
#define GPIOB_PIN14
Definition: board.h:95
#define GPIOB_PIN1
Definition: board.h:80
#define GPIOB_PIN8
Definition: board.h:89
#define GPIOB_PIN0
Definition: board.h:79
#define GPIOB_PIN5
Definition: board.h:84
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:258
#define GPIOB_PIN9
Definition: board.h:90
#define GPIOB_PIN2
Definition: board.h:81
#define GPIOB_I2C1_SCL
Definition: board.h:85
#define GPIOB_PIN4
Definition: board.h:83
#define GPIOB_I2C1_SDA
Definition: board.h:87

Definition at line 422 of file board.h.

#define VAL_GPIOB_PUPDR
Value:
#define GPIOB_PIN12
Definition: board.h:93
#define GPIOB_PIN15
Definition: board.h:96
#define GPIOB_PIN10
Definition: board.h:91
#define GPIOB_SWO
Definition: board.h:82
#define GPIOB_PIN11
Definition: board.h:92
#define GPIOB_PIN13
Definition: board.h:94
#define GPIOB_PIN14
Definition: board.h:95
#define GPIOB_PIN1
Definition: board.h:80
#define GPIOB_PIN8
Definition: board.h:89
#define GPIOB_PIN0
Definition: board.h:79
#define GPIOB_PIN5
Definition: board.h:84
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:265
#define GPIOB_PIN9
Definition: board.h:90
#define GPIOB_PIN2
Definition: board.h:81
#define GPIOB_I2C1_SCL
Definition: board.h:85
#define GPIOB_PIN4
Definition: board.h:83
#define GPIOB_I2C1_SDA
Definition: board.h:87
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:264

Definition at line 454 of file board.h.

#define VAL_GPIOC_AFRH
Value:
#define GPIOC_PIN10
Definition: board.h:108
#define GPIOC_OSC32_OUT
Definition: board.h:113
#define GPIOC_PIN12
Definition: board.h:110
#define GPIOC_PIN8
Definition: board.h:106
#define GPIOC_OSC32_IN
Definition: board.h:112
#define GPIOC_PIN13
Definition: board.h:111
#define PIN_AFIO_AF(n, v)
Definition: board.h:267
#define GPIOC_PIN9
Definition: board.h:107
#define GPIOC_PIN11
Definition: board.h:109

Definition at line 611 of file board.h.

#define VAL_GPIOC_AFRL
Value:
#define GPIOC_PIN1
Definition: board.h:99
#define GPIOC_PIN2
Definition: board.h:100
#define PIN_AFIO_AF(n, v)
Definition: board.h:267
#define GPIOC_PIN4
Definition: board.h:102
#define GPIOC_PIN7
Definition: board.h:105
#define GPIOC_PIN5
Definition: board.h:103
#define GPIOC_PIN6
Definition: board.h:104
#define GPIOC_PIN3
Definition: board.h:101
#define GPIOC_PIN0
Definition: board.h:98

Definition at line 603 of file board.h.

#define VAL_GPIOC_MODER
Value:
#define GPIOC_PIN1
Definition: board.h:99
#define GPIOC_PIN10
Definition: board.h:108
#define GPIOC_OSC32_OUT
Definition: board.h:113
#define GPIOC_PIN12
Definition: board.h:110
#define GPIOC_PIN8
Definition: board.h:106
#define GPIOC_OSC32_IN
Definition: board.h:112
#define GPIOC_PIN2
Definition: board.h:100
#define GPIOC_PIN13
Definition: board.h:111
#define GPIOC_PIN4
Definition: board.h:102
#define GPIOC_PIN7
Definition: board.h:105
#define GPIOC_PIN5
Definition: board.h:103
#define GPIOC_PIN6
Definition: board.h:104
#define GPIOC_PIN3
Definition: board.h:101
#define GPIOC_PIN9
Definition: board.h:107
#define GPIOC_PIN0
Definition: board.h:98
#define GPIOC_PIN11
Definition: board.h:109
#define PIN_MODE_INPUT(n)
Definition: board.h:252

Definition at line 523 of file board.h.

#define VAL_GPIOC_ODR
Value:
#define GPIOC_PIN1
Definition: board.h:99
#define GPIOC_PIN10
Definition: board.h:108
#define GPIOC_OSC32_OUT
Definition: board.h:113
#define GPIOC_PIN12
Definition: board.h:110
#define GPIOC_PIN8
Definition: board.h:106
#define GPIOC_OSC32_IN
Definition: board.h:112
#define GPIOC_PIN2
Definition: board.h:100
#define GPIOC_PIN13
Definition: board.h:111
#define GPIOC_PIN4
Definition: board.h:102
#define GPIOC_PIN7
Definition: board.h:105
#define GPIOC_PIN5
Definition: board.h:103
#define GPIOC_PIN6
Definition: board.h:104
#define GPIOC_PIN3
Definition: board.h:101
#define GPIOC_PIN9
Definition: board.h:107
#define GPIOC_PIN0
Definition: board.h:98
#define GPIOC_PIN11
Definition: board.h:109
#define PIN_ODR_HIGH(n)
Definition: board.h:257

Definition at line 587 of file board.h.

#define VAL_GPIOC_OSPEEDR
Value:
#define GPIOC_PIN1
Definition: board.h:99
#define GPIOC_PIN10
Definition: board.h:108
#define GPIOC_OSC32_OUT
Definition: board.h:113
#define GPIOC_PIN12
Definition: board.h:110
#define GPIOC_PIN8
Definition: board.h:106
#define GPIOC_OSC32_IN
Definition: board.h:112
#define GPIOC_PIN2
Definition: board.h:100
#define GPIOC_PIN13
Definition: board.h:111
#define GPIOC_PIN4
Definition: board.h:102
#define GPIOC_PIN7
Definition: board.h:105
#define GPIOC_PIN5
Definition: board.h:103
#define GPIOC_PIN6
Definition: board.h:104
#define GPIOC_PIN3
Definition: board.h:101
#define GPIOC_PIN9
Definition: board.h:107
#define GPIOC_PIN0
Definition: board.h:98
#define PIN_OSPEED_VERYLOW(n)
Definition: board.h:260
#define GPIOC_PIN11
Definition: board.h:109
#define PIN_OSPEED_HIGH(n)
Definition: board.h:263

Definition at line 555 of file board.h.

#define VAL_GPIOC_OTYPER
Value:
#define GPIOC_PIN1
Definition: board.h:99
#define GPIOC_PIN10
Definition: board.h:108
#define GPIOC_OSC32_OUT
Definition: board.h:113
#define GPIOC_PIN12
Definition: board.h:110
#define GPIOC_PIN8
Definition: board.h:106
#define GPIOC_OSC32_IN
Definition: board.h:112
#define GPIOC_PIN2
Definition: board.h:100
#define GPIOC_PIN13
Definition: board.h:111
#define GPIOC_PIN4
Definition: board.h:102
#define GPIOC_PIN7
Definition: board.h:105
#define GPIOC_PIN5
Definition: board.h:103
#define GPIOC_PIN6
Definition: board.h:104
#define GPIOC_PIN3
Definition: board.h:101
#define GPIOC_PIN9
Definition: board.h:107
#define GPIOC_PIN0
Definition: board.h:98
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:258
#define GPIOC_PIN11
Definition: board.h:109

Definition at line 539 of file board.h.

#define VAL_GPIOC_PUPDR
Value:
#define GPIOC_PIN1
Definition: board.h:99
#define GPIOC_PIN10
Definition: board.h:108
#define GPIOC_OSC32_OUT
Definition: board.h:113
#define GPIOC_PIN12
Definition: board.h:110
#define GPIOC_PIN8
Definition: board.h:106
#define GPIOC_OSC32_IN
Definition: board.h:112
#define GPIOC_PIN2
Definition: board.h:100
#define GPIOC_PIN13
Definition: board.h:111
#define GPIOC_PIN4
Definition: board.h:102
#define GPIOC_PIN7
Definition: board.h:105
#define GPIOC_PIN5
Definition: board.h:103
#define GPIOC_PIN6
Definition: board.h:104
#define GPIOC_PIN3
Definition: board.h:101
#define GPIOC_PIN9
Definition: board.h:107
#define GPIOC_PIN0
Definition: board.h:98
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:265
#define GPIOC_PIN11
Definition: board.h:109
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:264

Definition at line 571 of file board.h.

#define VAL_GPIOD_AFRH
Value:
#define GPIOD_PIN10
Definition: board.h:125
#define GPIOD_PIN14
Definition: board.h:129
#define GPIOD_PIN9
Definition: board.h:124
#define PIN_AFIO_AF(n, v)
Definition: board.h:267
#define GPIOD_PIN8
Definition: board.h:123
#define GPIOD_PIN13
Definition: board.h:128
#define GPIOD_PIN11
Definition: board.h:126
#define GPIOD_PIN12
Definition: board.h:127
#define GPIOD_PIN15
Definition: board.h:130

Definition at line 728 of file board.h.

#define VAL_GPIOD_AFRL
Value:
#define GPIOD_PIN5
Definition: board.h:120
#define GPIOD_PIN4
Definition: board.h:119
#define GPIOD_PIN1
Definition: board.h:116
#define GPIOD_PIN2
Definition: board.h:117
#define PIN_AFIO_AF(n, v)
Definition: board.h:267
#define GPIOD_PIN6
Definition: board.h:121
#define GPIOD_PIN7
Definition: board.h:122
#define GPIOD_PIN0
Definition: board.h:115
#define GPIOD_PIN3
Definition: board.h:118

Definition at line 720 of file board.h.

#define VAL_GPIOD_MODER
Value:
#define GPIOD_PIN10
Definition: board.h:125
#define GPIOD_PIN5
Definition: board.h:120
#define GPIOD_PIN4
Definition: board.h:119
#define GPIOD_PIN1
Definition: board.h:116
#define GPIOD_PIN14
Definition: board.h:129
#define GPIOD_PIN2
Definition: board.h:117
#define GPIOD_PIN9
Definition: board.h:124
#define GPIOD_PIN6
Definition: board.h:121
#define GPIOD_PIN8
Definition: board.h:123
#define GPIOD_PIN13
Definition: board.h:128
#define GPIOD_PIN11
Definition: board.h:126
#define GPIOD_PIN7
Definition: board.h:122
#define GPIOD_PIN0
Definition: board.h:115
#define GPIOD_PIN12
Definition: board.h:127
#define GPIOD_PIN15
Definition: board.h:130
#define GPIOD_PIN3
Definition: board.h:118
#define PIN_MODE_INPUT(n)
Definition: board.h:252

Definition at line 640 of file board.h.

#define VAL_GPIOD_ODR
Value:
#define GPIOD_PIN10
Definition: board.h:125
#define GPIOD_PIN5
Definition: board.h:120
#define GPIOD_PIN4
Definition: board.h:119
#define GPIOD_PIN1
Definition: board.h:116
#define GPIOD_PIN14
Definition: board.h:129
#define GPIOD_PIN2
Definition: board.h:117
#define GPIOD_PIN9
Definition: board.h:124
#define GPIOD_PIN6
Definition: board.h:121
#define GPIOD_PIN8
Definition: board.h:123
#define GPIOD_PIN13
Definition: board.h:128
#define GPIOD_PIN11
Definition: board.h:126
#define GPIOD_PIN7
Definition: board.h:122
#define GPIOD_PIN0
Definition: board.h:115
#define GPIOD_PIN12
Definition: board.h:127
#define GPIOD_PIN15
Definition: board.h:130
#define PIN_ODR_HIGH(n)
Definition: board.h:257
#define GPIOD_PIN3
Definition: board.h:118

Definition at line 704 of file board.h.

#define VAL_GPIOD_OSPEEDR
Value:
#define GPIOD_PIN10
Definition: board.h:125
#define GPIOD_PIN5
Definition: board.h:120
#define GPIOD_PIN4
Definition: board.h:119
#define GPIOD_PIN1
Definition: board.h:116
#define GPIOD_PIN14
Definition: board.h:129
#define GPIOD_PIN2
Definition: board.h:117
#define GPIOD_PIN9
Definition: board.h:124
#define GPIOD_PIN6
Definition: board.h:121
#define GPIOD_PIN8
Definition: board.h:123
#define GPIOD_PIN13
Definition: board.h:128
#define PIN_OSPEED_VERYLOW(n)
Definition: board.h:260
#define GPIOD_PIN11
Definition: board.h:126
#define GPIOD_PIN7
Definition: board.h:122
#define GPIOD_PIN0
Definition: board.h:115
#define GPIOD_PIN12
Definition: board.h:127
#define GPIOD_PIN15
Definition: board.h:130
#define GPIOD_PIN3
Definition: board.h:118

Definition at line 672 of file board.h.

#define VAL_GPIOD_OTYPER
Value:
#define GPIOD_PIN10
Definition: board.h:125
#define GPIOD_PIN5
Definition: board.h:120
#define GPIOD_PIN4
Definition: board.h:119
#define GPIOD_PIN1
Definition: board.h:116
#define GPIOD_PIN14
Definition: board.h:129
#define GPIOD_PIN2
Definition: board.h:117
#define GPIOD_PIN9
Definition: board.h:124
#define GPIOD_PIN6
Definition: board.h:121
#define GPIOD_PIN8
Definition: board.h:123
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:258
#define GPIOD_PIN13
Definition: board.h:128
#define GPIOD_PIN11
Definition: board.h:126
#define GPIOD_PIN7
Definition: board.h:122
#define GPIOD_PIN0
Definition: board.h:115
#define GPIOD_PIN12
Definition: board.h:127
#define GPIOD_PIN15
Definition: board.h:130
#define GPIOD_PIN3
Definition: board.h:118

Definition at line 656 of file board.h.

#define VAL_GPIOD_PUPDR
Value:
#define GPIOD_PIN10
Definition: board.h:125
#define GPIOD_PIN5
Definition: board.h:120
#define GPIOD_PIN4
Definition: board.h:119
#define GPIOD_PIN1
Definition: board.h:116
#define GPIOD_PIN14
Definition: board.h:129
#define GPIOD_PIN2
Definition: board.h:117
#define GPIOD_PIN9
Definition: board.h:124
#define GPIOD_PIN6
Definition: board.h:121
#define GPIOD_PIN8
Definition: board.h:123
#define GPIOD_PIN13
Definition: board.h:128
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:265
#define GPIOD_PIN11
Definition: board.h:126
#define GPIOD_PIN7
Definition: board.h:122
#define GPIOD_PIN0
Definition: board.h:115
#define GPIOD_PIN12
Definition: board.h:127
#define GPIOD_PIN15
Definition: board.h:130
#define GPIOD_PIN3
Definition: board.h:118

Definition at line 688 of file board.h.

#define VAL_GPIOE_AFRH
Value:
#define GPIOE_LED10_RED
Definition: board.h:146
#define GPIOE_LED4_BLUE
Definition: board.h:141
#define GPIOE_LED6_GREEN
Definition: board.h:148
#define GPIOE_LED8_ORANGE
Definition: board.h:147
#define GPIOE_LED9_BLUE
Definition: board.h:145
#define PIN_AFIO_AF(n, v)
Definition: board.h:267
#define GPIOE_LED5_ORANGE
Definition: board.h:143
#define GPIOE_LED7_GREEN
Definition: board.h:144
#define GPIOE_LED3_RED
Definition: board.h:142

Definition at line 845 of file board.h.

#define VAL_GPIOE_AFRL
Value:
#define GPIOE_PIN6
Definition: board.h:139
#define GPIOE_LSM303DLHC_DRDY
Definition: board.h:134
#define GPIOE_LSM303DLHC_INT1
Definition: board.h:137
#define GPIOE_PIN7
Definition: board.h:140
#define PIN_AFIO_AF(n, v)
Definition: board.h:267
#define GPIOE_L3GD20_INT2
Definition: board.h:133
#define GPIOE_L3GD20_INT1
Definition: board.h:132
#define GPIOE_SPI1_CS
Definition: board.h:135
#define GPIOE_LSM303DLHC_INT2
Definition: board.h:138

Definition at line 837 of file board.h.

#define VAL_GPIOE_MODER
Value:
#define GPIOE_LED10_RED
Definition: board.h:146
#define GPIOE_PIN6
Definition: board.h:139
#define PIN_MODE_OUTPUT(n)
Definition: board.h:253
#define GPIOE_LSM303DLHC_DRDY
Definition: board.h:134
#define GPIOE_LED4_BLUE
Definition: board.h:141
#define GPIOE_LED6_GREEN
Definition: board.h:148
#define GPIOE_LSM303DLHC_INT1
Definition: board.h:137
#define GPIOE_LED8_ORANGE
Definition: board.h:147
#define GPIOE_LED9_BLUE
Definition: board.h:145
#define GPIOE_PIN7
Definition: board.h:140
#define GPIOE_L3GD20_INT2
Definition: board.h:133
#define GPIOE_L3GD20_INT1
Definition: board.h:132
#define GPIOE_LED5_ORANGE
Definition: board.h:143
#define GPIOE_LED7_GREEN
Definition: board.h:144
#define GPIOE_SPI1_CS
Definition: board.h:135
#define GPIOE_LSM303DLHC_INT2
Definition: board.h:138
#define GPIOE_LED3_RED
Definition: board.h:142
#define PIN_MODE_INPUT(n)
Definition: board.h:252

Definition at line 757 of file board.h.

#define VAL_GPIOE_ODR
Value:
#define GPIOE_LED10_RED
Definition: board.h:146
#define GPIOE_PIN6
Definition: board.h:139
#define GPIOE_LSM303DLHC_DRDY
Definition: board.h:134
#define GPIOE_LED4_BLUE
Definition: board.h:141
#define GPIOE_LED6_GREEN
Definition: board.h:148
#define GPIOE_LSM303DLHC_INT1
Definition: board.h:137
#define GPIOE_LED8_ORANGE
Definition: board.h:147
#define GPIOE_LED9_BLUE
Definition: board.h:145
#define GPIOE_PIN7
Definition: board.h:140
#define GPIOE_L3GD20_INT2
Definition: board.h:133
#define GPIOE_L3GD20_INT1
Definition: board.h:132
#define PIN_ODR_LOW(n)
Definition: board.h:256
#define GPIOE_LED5_ORANGE
Definition: board.h:143
#define GPIOE_LED7_GREEN
Definition: board.h:144
#define GPIOE_SPI1_CS
Definition: board.h:135
#define GPIOE_LSM303DLHC_INT2
Definition: board.h:138
#define GPIOE_LED3_RED
Definition: board.h:142
#define PIN_ODR_HIGH(n)
Definition: board.h:257

Definition at line 821 of file board.h.

#define VAL_GPIOE_OSPEEDR
Value:
#define GPIOE_LED10_RED
Definition: board.h:146
#define GPIOE_PIN6
Definition: board.h:139
#define GPIOE_LSM303DLHC_DRDY
Definition: board.h:134
#define GPIOE_LED4_BLUE
Definition: board.h:141
#define GPIOE_LED6_GREEN
Definition: board.h:148
#define GPIOE_LSM303DLHC_INT1
Definition: board.h:137
#define GPIOE_LED8_ORANGE
Definition: board.h:147
#define GPIOE_LED9_BLUE
Definition: board.h:145
#define GPIOE_PIN7
Definition: board.h:140
#define GPIOE_L3GD20_INT2
Definition: board.h:133
#define GPIOE_L3GD20_INT1
Definition: board.h:132
#define GPIOE_LED5_ORANGE
Definition: board.h:143
#define GPIOE_LED7_GREEN
Definition: board.h:144
#define PIN_OSPEED_VERYLOW(n)
Definition: board.h:260
#define GPIOE_SPI1_CS
Definition: board.h:135
#define GPIOE_LSM303DLHC_INT2
Definition: board.h:138
#define PIN_OSPEED_HIGH(n)
Definition: board.h:263
#define GPIOE_LED3_RED
Definition: board.h:142

Definition at line 789 of file board.h.

#define VAL_GPIOE_OTYPER
Value:
#define GPIOE_LED10_RED
Definition: board.h:146
#define GPIOE_PIN6
Definition: board.h:139
#define GPIOE_LSM303DLHC_DRDY
Definition: board.h:134
#define GPIOE_LED4_BLUE
Definition: board.h:141
#define GPIOE_LED6_GREEN
Definition: board.h:148
#define GPIOE_LSM303DLHC_INT1
Definition: board.h:137
#define GPIOE_LED8_ORANGE
Definition: board.h:147
#define GPIOE_LED9_BLUE
Definition: board.h:145
#define GPIOE_PIN7
Definition: board.h:140
#define GPIOE_L3GD20_INT2
Definition: board.h:133
#define GPIOE_L3GD20_INT1
Definition: board.h:132
#define GPIOE_LED5_ORANGE
Definition: board.h:143
#define GPIOE_LED7_GREEN
Definition: board.h:144
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:258
#define GPIOE_SPI1_CS
Definition: board.h:135
#define GPIOE_LSM303DLHC_INT2
Definition: board.h:138
#define GPIOE_LED3_RED
Definition: board.h:142

Definition at line 773 of file board.h.

#define VAL_GPIOE_PUPDR
Value:
#define GPIOE_LED10_RED
Definition: board.h:146
#define GPIOE_PIN6
Definition: board.h:139
#define GPIOE_LSM303DLHC_DRDY
Definition: board.h:134
#define GPIOE_LED4_BLUE
Definition: board.h:141
#define GPIOE_LED6_GREEN
Definition: board.h:148
#define GPIOE_LSM303DLHC_INT1
Definition: board.h:137
#define GPIOE_LED8_ORANGE
Definition: board.h:147
#define GPIOE_LED9_BLUE
Definition: board.h:145
#define GPIOE_PIN7
Definition: board.h:140
#define GPIOE_L3GD20_INT2
Definition: board.h:133
#define GPIOE_L3GD20_INT1
Definition: board.h:132
#define GPIOE_LED5_ORANGE
Definition: board.h:143
#define GPIOE_LED7_GREEN
Definition: board.h:144
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:265
#define GPIOE_SPI1_CS
Definition: board.h:135
#define GPIOE_LSM303DLHC_INT2
Definition: board.h:138
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:264
#define GPIOE_LED3_RED
Definition: board.h:142

Definition at line 805 of file board.h.

#define VAL_GPIOF_AFRH
Value:
#define GPIOF_PIN11
Definition: board.h:161
#define GPIOF_PIN15
Definition: board.h:165
#define PIN_AFIO_AF(n, v)
Definition: board.h:267
#define GPIOF_PIN14
Definition: board.h:164
#define GPIOF_PIN10
Definition: board.h:160
#define GPIOF_PIN9
Definition: board.h:159
#define GPIOF_PIN12
Definition: board.h:162
#define GPIOF_PIN13
Definition: board.h:163
#define GPIOF_PIN8
Definition: board.h:158

Definition at line 962 of file board.h.

#define VAL_GPIOF_AFRL
Value:
#define GPIOF_PIN5
Definition: board.h:155
#define GPIOF_PIN6
Definition: board.h:156
#define GPIOF_OSC_OUT
Definition: board.h:151
#define PIN_AFIO_AF(n, v)
Definition: board.h:267
#define GPIOF_PIN2
Definition: board.h:152
#define GPIOF_OSC_IN
Definition: board.h:150
#define GPIOF_PIN7
Definition: board.h:157
#define GPIOF_PIN4
Definition: board.h:154
#define GPIOF_PIN3
Definition: board.h:153

Definition at line 954 of file board.h.

#define VAL_GPIOF_MODER
Value:
#define GPIOF_PIN5
Definition: board.h:155
#define GPIOF_PIN6
Definition: board.h:156
#define GPIOF_PIN11
Definition: board.h:161
#define GPIOF_PIN15
Definition: board.h:165
#define GPIOF_OSC_OUT
Definition: board.h:151
#define GPIOF_PIN2
Definition: board.h:152
#define GPIOF_OSC_IN
Definition: board.h:150
#define GPIOF_PIN14
Definition: board.h:164
#define GPIOF_PIN10
Definition: board.h:160
#define GPIOF_PIN7
Definition: board.h:157
#define GPIOF_PIN9
Definition: board.h:159
#define GPIOF_PIN12
Definition: board.h:162
#define GPIOF_PIN4
Definition: board.h:154
#define GPIOF_PIN13
Definition: board.h:163
#define GPIOF_PIN8
Definition: board.h:158
#define PIN_MODE_INPUT(n)
Definition: board.h:252
#define GPIOF_PIN3
Definition: board.h:153

Definition at line 874 of file board.h.

#define VAL_GPIOF_ODR
Value:
#define GPIOF_PIN5
Definition: board.h:155
#define GPIOF_PIN6
Definition: board.h:156
#define GPIOF_PIN11
Definition: board.h:161
#define GPIOF_PIN15
Definition: board.h:165
#define GPIOF_OSC_OUT
Definition: board.h:151
#define GPIOF_PIN2
Definition: board.h:152
#define GPIOF_OSC_IN
Definition: board.h:150
#define GPIOF_PIN14
Definition: board.h:164
#define GPIOF_PIN10
Definition: board.h:160
#define GPIOF_PIN7
Definition: board.h:157
#define GPIOF_PIN9
Definition: board.h:159
#define GPIOF_PIN12
Definition: board.h:162
#define GPIOF_PIN4
Definition: board.h:154
#define GPIOF_PIN13
Definition: board.h:163
#define GPIOF_PIN8
Definition: board.h:158
#define PIN_ODR_HIGH(n)
Definition: board.h:257
#define GPIOF_PIN3
Definition: board.h:153

Definition at line 938 of file board.h.

#define VAL_GPIOF_OSPEEDR
Value:
#define GPIOF_PIN5
Definition: board.h:155
#define GPIOF_PIN6
Definition: board.h:156
#define GPIOF_PIN11
Definition: board.h:161
#define GPIOF_PIN15
Definition: board.h:165
#define GPIOF_OSC_OUT
Definition: board.h:151
#define GPIOF_PIN2
Definition: board.h:152
#define GPIOF_OSC_IN
Definition: board.h:150
#define PIN_OSPEED_VERYLOW(n)
Definition: board.h:260
#define GPIOF_PIN14
Definition: board.h:164
#define GPIOF_PIN10
Definition: board.h:160
#define GPIOF_PIN7
Definition: board.h:157
#define GPIOF_PIN9
Definition: board.h:159
#define GPIOF_PIN12
Definition: board.h:162
#define GPIOF_PIN4
Definition: board.h:154
#define GPIOF_PIN13
Definition: board.h:163
#define GPIOF_PIN8
Definition: board.h:158
#define PIN_OSPEED_HIGH(n)
Definition: board.h:263
#define GPIOF_PIN3
Definition: board.h:153

Definition at line 906 of file board.h.

#define VAL_GPIOF_OTYPER
Value:
#define GPIOF_PIN5
Definition: board.h:155
#define GPIOF_PIN6
Definition: board.h:156
#define GPIOF_PIN11
Definition: board.h:161
#define GPIOF_PIN15
Definition: board.h:165
#define GPIOF_OSC_OUT
Definition: board.h:151
#define GPIOF_PIN2
Definition: board.h:152
#define GPIOF_OSC_IN
Definition: board.h:150
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:258
#define GPIOF_PIN14
Definition: board.h:164
#define GPIOF_PIN10
Definition: board.h:160
#define GPIOF_PIN7
Definition: board.h:157
#define GPIOF_PIN9
Definition: board.h:159
#define GPIOF_PIN12
Definition: board.h:162
#define GPIOF_PIN4
Definition: board.h:154
#define GPIOF_PIN13
Definition: board.h:163
#define GPIOF_PIN8
Definition: board.h:158
#define GPIOF_PIN3
Definition: board.h:153

Definition at line 890 of file board.h.

#define VAL_GPIOF_PUPDR
Value:
#define GPIOF_PIN5
Definition: board.h:155
#define GPIOF_PIN6
Definition: board.h:156
#define GPIOF_PIN11
Definition: board.h:161
#define GPIOF_PIN15
Definition: board.h:165
#define GPIOF_OSC_OUT
Definition: board.h:151
#define GPIOF_PIN2
Definition: board.h:152
#define GPIOF_OSC_IN
Definition: board.h:150
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:265
#define GPIOF_PIN14
Definition: board.h:164
#define GPIOF_PIN10
Definition: board.h:160
#define GPIOF_PIN7
Definition: board.h:157
#define GPIOF_PIN9
Definition: board.h:159
#define GPIOF_PIN12
Definition: board.h:162
#define GPIOF_PIN4
Definition: board.h:154
#define GPIOF_PIN13
Definition: board.h:163
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:264
#define GPIOF_PIN8
Definition: board.h:158
#define GPIOF_PIN3
Definition: board.h:153

Definition at line 922 of file board.h.

#define VAL_GPIOG_AFRH
Value:
#define GPIOG_PIN15
Definition: board.h:182
#define PIN_AFIO_AF(n, v)
Definition: board.h:267
#define GPIOG_PIN14
Definition: board.h:181
#define GPIOG_PIN11
Definition: board.h:178
#define GPIOG_PIN13
Definition: board.h:180
#define GPIOG_PIN12
Definition: board.h:179
#define GPIOG_PIN10
Definition: board.h:177
#define GPIOG_PIN9
Definition: board.h:176
#define GPIOG_PIN8
Definition: board.h:175

Definition at line 1079 of file board.h.

#define VAL_GPIOG_AFRL
Value:
#define GPIOG_PIN4
Definition: board.h:171
#define GPIOG_PIN5
Definition: board.h:172
#define PIN_AFIO_AF(n, v)
Definition: board.h:267
#define GPIOG_PIN0
Definition: board.h:167
#define GPIOG_PIN2
Definition: board.h:169
#define GPIOG_PIN6
Definition: board.h:173
#define GPIOG_PIN7
Definition: board.h:174
#define GPIOG_PIN1
Definition: board.h:168
#define GPIOG_PIN3
Definition: board.h:170

Definition at line 1071 of file board.h.

#define VAL_GPIOG_MODER
Value:
#define GPIOG_PIN4
Definition: board.h:171
#define GPIOG_PIN5
Definition: board.h:172
#define GPIOG_PIN15
Definition: board.h:182
#define GPIOG_PIN14
Definition: board.h:181
#define GPIOG_PIN11
Definition: board.h:178
#define GPIOG_PIN0
Definition: board.h:167
#define GPIOG_PIN13
Definition: board.h:180
#define GPIOG_PIN2
Definition: board.h:169
#define GPIOG_PIN6
Definition: board.h:173
#define GPIOG_PIN12
Definition: board.h:179
#define GPIOG_PIN7
Definition: board.h:174
#define GPIOG_PIN10
Definition: board.h:177
#define GPIOG_PIN9
Definition: board.h:176
#define GPIOG_PIN1
Definition: board.h:168
#define GPIOG_PIN3
Definition: board.h:170
#define GPIOG_PIN8
Definition: board.h:175
#define PIN_MODE_INPUT(n)
Definition: board.h:252

Definition at line 991 of file board.h.

#define VAL_GPIOG_ODR
Value:
#define GPIOG_PIN4
Definition: board.h:171
#define GPIOG_PIN5
Definition: board.h:172
#define GPIOG_PIN15
Definition: board.h:182
#define GPIOG_PIN14
Definition: board.h:181
#define GPIOG_PIN11
Definition: board.h:178
#define GPIOG_PIN0
Definition: board.h:167
#define GPIOG_PIN13
Definition: board.h:180
#define GPIOG_PIN2
Definition: board.h:169
#define GPIOG_PIN6
Definition: board.h:173
#define GPIOG_PIN12
Definition: board.h:179
#define GPIOG_PIN7
Definition: board.h:174
#define GPIOG_PIN10
Definition: board.h:177
#define GPIOG_PIN9
Definition: board.h:176
#define GPIOG_PIN1
Definition: board.h:168
#define GPIOG_PIN3
Definition: board.h:170
#define GPIOG_PIN8
Definition: board.h:175
#define PIN_ODR_HIGH(n)
Definition: board.h:257

Definition at line 1055 of file board.h.

#define VAL_GPIOG_OSPEEDR
Value:
#define GPIOG_PIN4
Definition: board.h:171
#define GPIOG_PIN5
Definition: board.h:172
#define GPIOG_PIN15
Definition: board.h:182
#define GPIOG_PIN14
Definition: board.h:181
#define GPIOG_PIN11
Definition: board.h:178
#define GPIOG_PIN0
Definition: board.h:167
#define PIN_OSPEED_VERYLOW(n)
Definition: board.h:260
#define GPIOG_PIN13
Definition: board.h:180
#define GPIOG_PIN2
Definition: board.h:169
#define GPIOG_PIN6
Definition: board.h:173
#define GPIOG_PIN12
Definition: board.h:179
#define GPIOG_PIN7
Definition: board.h:174
#define GPIOG_PIN10
Definition: board.h:177
#define GPIOG_PIN9
Definition: board.h:176
#define GPIOG_PIN1
Definition: board.h:168
#define GPIOG_PIN3
Definition: board.h:170
#define GPIOG_PIN8
Definition: board.h:175

Definition at line 1023 of file board.h.

#define VAL_GPIOG_OTYPER
Value:
#define GPIOG_PIN4
Definition: board.h:171
#define GPIOG_PIN5
Definition: board.h:172
#define GPIOG_PIN15
Definition: board.h:182
#define GPIOG_PIN14
Definition: board.h:181
#define GPIOG_PIN11
Definition: board.h:178
#define GPIOG_PIN0
Definition: board.h:167
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:258
#define GPIOG_PIN13
Definition: board.h:180
#define GPIOG_PIN2
Definition: board.h:169
#define GPIOG_PIN6
Definition: board.h:173
#define GPIOG_PIN12
Definition: board.h:179
#define GPIOG_PIN7
Definition: board.h:174
#define GPIOG_PIN10
Definition: board.h:177
#define GPIOG_PIN9
Definition: board.h:176
#define GPIOG_PIN1
Definition: board.h:168
#define GPIOG_PIN3
Definition: board.h:170
#define GPIOG_PIN8
Definition: board.h:175

Definition at line 1007 of file board.h.

#define VAL_GPIOG_PUPDR
Value:
#define GPIOG_PIN4
Definition: board.h:171
#define GPIOG_PIN5
Definition: board.h:172
#define GPIOG_PIN15
Definition: board.h:182
#define GPIOG_PIN14
Definition: board.h:181
#define GPIOG_PIN11
Definition: board.h:178
#define GPIOG_PIN0
Definition: board.h:167
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:265
#define GPIOG_PIN13
Definition: board.h:180
#define GPIOG_PIN2
Definition: board.h:169
#define GPIOG_PIN6
Definition: board.h:173
#define GPIOG_PIN12
Definition: board.h:179
#define GPIOG_PIN7
Definition: board.h:174
#define GPIOG_PIN10
Definition: board.h:177
#define GPIOG_PIN9
Definition: board.h:176
#define GPIOG_PIN1
Definition: board.h:168
#define GPIOG_PIN3
Definition: board.h:170
#define GPIOG_PIN8
Definition: board.h:175

Definition at line 1039 of file board.h.

#define VAL_GPIOH_AFRH
Value:
#define GPIOH_PIN12
Definition: board.h:196
#define GPIOH_PIN11
Definition: board.h:195
#define GPIOH_PIN15
Definition: board.h:199
#define GPIOH_PIN10
Definition: board.h:194
#define GPIOH_PIN9
Definition: board.h:193
#define GPIOH_PIN13
Definition: board.h:197
#define PIN_AFIO_AF(n, v)
Definition: board.h:267
#define GPIOH_PIN14
Definition: board.h:198
#define GPIOH_PIN8
Definition: board.h:192

Definition at line 1196 of file board.h.

#define VAL_GPIOH_AFRL
Value:
#define GPIOH_PIN7
Definition: board.h:191
#define GPIOH_PIN1
Definition: board.h:185
#define GPIOH_PIN0
Definition: board.h:184
#define GPIOH_PIN3
Definition: board.h:187
#define PIN_AFIO_AF(n, v)
Definition: board.h:267
#define GPIOH_PIN6
Definition: board.h:190
#define GPIOH_PIN4
Definition: board.h:188
#define GPIOH_PIN5
Definition: board.h:189
#define GPIOH_PIN2
Definition: board.h:186

Definition at line 1188 of file board.h.

#define VAL_GPIOH_MODER
Value:
#define GPIOH_PIN12
Definition: board.h:196
#define GPIOH_PIN7
Definition: board.h:191
#define GPIOH_PIN1
Definition: board.h:185
#define GPIOH_PIN0
Definition: board.h:184
#define GPIOH_PIN11
Definition: board.h:195
#define GPIOH_PIN15
Definition: board.h:199
#define GPIOH_PIN3
Definition: board.h:187
#define GPIOH_PIN10
Definition: board.h:194
#define GPIOH_PIN9
Definition: board.h:193
#define GPIOH_PIN13
Definition: board.h:197
#define GPIOH_PIN6
Definition: board.h:190
#define GPIOH_PIN4
Definition: board.h:188
#define GPIOH_PIN14
Definition: board.h:198
#define GPIOH_PIN5
Definition: board.h:189
#define GPIOH_PIN2
Definition: board.h:186
#define GPIOH_PIN8
Definition: board.h:192
#define PIN_MODE_INPUT(n)
Definition: board.h:252

Definition at line 1108 of file board.h.

#define VAL_GPIOH_ODR
Value:
#define GPIOH_PIN12
Definition: board.h:196
#define GPIOH_PIN7
Definition: board.h:191
#define GPIOH_PIN1
Definition: board.h:185
#define GPIOH_PIN0
Definition: board.h:184
#define GPIOH_PIN11
Definition: board.h:195
#define GPIOH_PIN15
Definition: board.h:199
#define GPIOH_PIN3
Definition: board.h:187
#define GPIOH_PIN10
Definition: board.h:194
#define GPIOH_PIN9
Definition: board.h:193
#define GPIOH_PIN13
Definition: board.h:197
#define GPIOH_PIN6
Definition: board.h:190
#define GPIOH_PIN4
Definition: board.h:188
#define GPIOH_PIN14
Definition: board.h:198
#define GPIOH_PIN5
Definition: board.h:189
#define GPIOH_PIN2
Definition: board.h:186
#define GPIOH_PIN8
Definition: board.h:192
#define PIN_ODR_HIGH(n)
Definition: board.h:257

Definition at line 1172 of file board.h.

#define VAL_GPIOH_OSPEEDR
Value:
#define GPIOH_PIN12
Definition: board.h:196
#define GPIOH_PIN7
Definition: board.h:191
#define GPIOH_PIN1
Definition: board.h:185
#define GPIOH_PIN0
Definition: board.h:184
#define GPIOH_PIN11
Definition: board.h:195
#define GPIOH_PIN15
Definition: board.h:199
#define GPIOH_PIN3
Definition: board.h:187
#define GPIOH_PIN10
Definition: board.h:194
#define GPIOH_PIN9
Definition: board.h:193
#define GPIOH_PIN13
Definition: board.h:197
#define PIN_OSPEED_VERYLOW(n)
Definition: board.h:260
#define GPIOH_PIN6
Definition: board.h:190
#define GPIOH_PIN4
Definition: board.h:188
#define GPIOH_PIN14
Definition: board.h:198
#define GPIOH_PIN5
Definition: board.h:189
#define GPIOH_PIN2
Definition: board.h:186
#define GPIOH_PIN8
Definition: board.h:192

Definition at line 1140 of file board.h.

#define VAL_GPIOH_OTYPER
Value:
#define GPIOH_PIN12
Definition: board.h:196
#define GPIOH_PIN7
Definition: board.h:191
#define GPIOH_PIN1
Definition: board.h:185
#define GPIOH_PIN0
Definition: board.h:184
#define GPIOH_PIN11
Definition: board.h:195
#define GPIOH_PIN15
Definition: board.h:199
#define GPIOH_PIN3
Definition: board.h:187
#define GPIOH_PIN10
Definition: board.h:194
#define GPIOH_PIN9
Definition: board.h:193
#define GPIOH_PIN13
Definition: board.h:197
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:258
#define GPIOH_PIN6
Definition: board.h:190
#define GPIOH_PIN4
Definition: board.h:188
#define GPIOH_PIN14
Definition: board.h:198
#define GPIOH_PIN5
Definition: board.h:189
#define GPIOH_PIN2
Definition: board.h:186
#define GPIOH_PIN8
Definition: board.h:192

Definition at line 1124 of file board.h.

#define VAL_GPIOH_PUPDR
Value:
#define GPIOH_PIN12
Definition: board.h:196
#define GPIOH_PIN7
Definition: board.h:191
#define GPIOH_PIN1
Definition: board.h:185
#define GPIOH_PIN0
Definition: board.h:184
#define GPIOH_PIN11
Definition: board.h:195
#define GPIOH_PIN15
Definition: board.h:199
#define GPIOH_PIN3
Definition: board.h:187
#define GPIOH_PIN10
Definition: board.h:194
#define GPIOH_PIN9
Definition: board.h:193
#define GPIOH_PIN13
Definition: board.h:197
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:265
#define GPIOH_PIN6
Definition: board.h:190
#define GPIOH_PIN4
Definition: board.h:188
#define GPIOH_PIN14
Definition: board.h:198
#define GPIOH_PIN5
Definition: board.h:189
#define GPIOH_PIN2
Definition: board.h:186
#define GPIOH_PIN8
Definition: board.h:192

Definition at line 1156 of file board.h.

Function Documentation

void boardInit ( void  )

Board-specific initialization code.

Todo:
Add your board-specific code, if any.
Todo:
Add your board-specific code, if any.
Todo:
Add your board-specific code, if any.
Todo:
Add your board-specific code, if any.
Todo:
Add your board-specific code, if any.
Todo:
Add your board-specific code, if any.
Todo:
Add your board-specific code, if any.
Todo:
Add your board-specific code, if any.
Todo:
Add your board-specific code, if any.
Todo:
Add your board-specific code, if any.
Todo:
Add your board-specific code, if any.
Todo:
Add your board-specific code, if any.

Definition at line 261 of file board.c.