Paparazzi UAS  v5.12_stable-4-g9b43e9b
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_APOGEE
 
#define BOARD_NAME   "AB/GRZ STM32F4 Apogee 1.0"
 
#define STM32_LSECLK   32768
 
#define STM32_HSECLK   16000000
 
#define STM32_VDD   300
 
#define STM32F407xx
 
#define GPIOA_UART4_TX   0
 
#define GPIOA_UART4_RX   1
 
#define GPIOA_PWM2_CH3   2
 
#define GPIOA_UART2_RX   3
 
#define GPIOA_ADC1_IN4   4
 
#define GPIOA_SPI1_SCK   5
 
#define GPIOA_SPI1_MISO   6
 
#define GPIOA_SPI1_MOSI   7
 
#define GPIOA_ICU1_CH1   8
 
#define GPIOA_OTG_FS_VBUS   9
 
#define GPIOA_USART1_RX   10
 
#define GPIOA_OTG_FS_DM   11
 
#define GPIOA_OTG_FS_DP   12
 
#define GPIOA_SWDIO   13
 
#define GPIOA_SWCLK   14
 
#define GPIOA_PWM2_CH1   15
 
#define GPIOB_PWM3_CH3   0
 
#define GPIOB_AUX1   1
 
#define GPIOB_BOOT1   2
 
#define GPIOB_PWM2_CH2   3
 
#define GPIOB_PWM3_CH1   4
 
#define GPIOB_PWM3_CH2   5
 
#define GPIOB_USART1_TX   6
 
#define GPIOB_I2C1_SDA   7
 
#define GPIOB_I2C1_SCL   8
 
#define GPIOB_SPI1_CS   9
 
#define GPIOB_I2C2_SCL   10
 
#define GPIOB_I2C2_SDA   11
 
#define GPIOB_POWER_SWITCH   12
 
#define GPIOB_RX2_POL   13
 
#define GPIOB_SDIO_DETECT   14
 
#define GPIOB_AUX4   15
 
#define GPIOC_LED1   0
 
#define GPIOC_LED3   1
 
#define GPIOC_PIN2   2
 
#define GPIOC_LED4   3
 
#define GPIOC_AUX3   4
 
#define GPIOC_AUX2   5
 
#define GPIOC_USART6_TX   6
 
#define GPIOC_USART6_RX   7
 
#define GPIOC_SDIO_D0   8
 
#define GPIOC_SDIO_D1   9
 
#define GPIOC_SDIO_D2   10
 
#define GPIOC_SDIO_D3   11
 
#define GPIOC_SDIO_CK   12
 
#define GPIOC_LED2   13
 
#define GPIOC_OSC32_IN   14
 
#define GPIOC_OSC32_OUT   15
 
#define GPIOD_SDIO_CMD   2
 
#define GPIOH_OSC_IN   0
 
#define GPIOH_OSC_OUT   1
 
#define GPIOH_PIN2   2
 
#define GPIOH_PIN3   3
 
#define GPIOH_PIN4   4
 
#define GPIOH_PIN5   5
 
#define GPIOH_PIN6   6
 
#define GPIOH_PIN7   7
 
#define GPIOH_PIN8   8
 
#define GPIOH_PIN9   9
 
#define GPIOH_PIN10   10
 
#define GPIOH_PIN11   11
 
#define GPIOH_PIN12   12
 
#define GPIOH_PIN13   13
 
#define GPIOH_PIN14   14
 
#define GPIOH_PIN15   15
 
#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_2M(n)   (0U << ((n) * 2U))
 
#define PIN_OSPEED_25M(n)   (1U << ((n) * 2U))
 
#define PIN_OSPEED_50M(n)   (2U << ((n) * 2U))
 
#define PIN_OSPEED_100M(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   PIN_MODE_ALTERNATE(GPIOD_SDIO_CMD)
 
#define VAL_GPIOD_OTYPER   0x00000000
 
#define VAL_GPIOD_OSPEEDR   0xFFFFFFFF
 
#define VAL_GPIOD_PUPDR   0x55555555
 
#define VAL_GPIOD_ODR   0xFFFFFFFF
 
#define VAL_GPIOD_AFRL   PIN_AFIO_AF(GPIOD_SDIO_CMD, 12)
 
#define VAL_GPIOD_AFRH   0x00000000
 
#define VAL_GPIOE_MODER   0x00000000
 
#define VAL_GPIOE_OTYPER   0x00000000
 
#define VAL_GPIOE_OSPEEDR   0x00000000
 
#define VAL_GPIOE_PUPDR   0x55555555
 
#define VAL_GPIOE_ODR   0xFFFFFFFF
 
#define VAL_GPIOE_AFRL   0x00000000
 
#define VAL_GPIOE_AFRH   0x00000000
 
#define VAL_GPIOF_MODER   0x00000000
 
#define VAL_GPIOF_OTYPER   0x00000000
 
#define VAL_GPIOF_OSPEEDR   0x00000000
 
#define VAL_GPIOF_PUPDR   0x55555555
 
#define VAL_GPIOF_ODR   0xFFFFFFFF
 
#define VAL_GPIOF_AFRL   0x00000000
 
#define VAL_GPIOF_AFRH   0x00000000
 
#define VAL_GPIOG_MODER   0x00000000
 
#define VAL_GPIOG_OTYPER   0x00000000
 
#define VAL_GPIOG_OSPEEDR   0x00000000
 
#define VAL_GPIOG_PUPDR   0x55555555
 
#define VAL_GPIOG_ODR   0xFFFFFFFF
 
#define VAL_GPIOG_AFRL   0x00000000
 
#define VAL_GPIOG_AFRH   0x00000000
 
#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 VAL_GPIOI_MODER   0x00000000
 
#define VAL_GPIOI_OTYPER   0x00000000
 
#define VAL_GPIOI_OSPEEDR   0x00000000
 
#define VAL_GPIOI_PUPDR   0x55555555
 
#define VAL_GPIOI_ODR   0xFFFFFFFF
 
#define VAL_GPIOI_AFRL   0x00000000
 
#define VAL_GPIOI_AFRH   0x00000000
 
#define AHB_CLK   STM32_HCLK
 
#define USE_LED_1   1
 
#define LED_1_GPIO   GPIOC
 
#define LED_1_GPIO_PIN   GPIO0
 
#define LED_1_GPIO_ON   gpio_clear
 
#define LED_1_GPIO_OFF   gpio_set
 
#define USE_LED_2   1
 
#define LED_2_GPIO   GPIOC
 
#define LED_2_GPIO_PIN   GPIO13
 
#define LED_2_GPIO_ON   gpio_clear
 
#define LED_2_GPIO_OFF   gpio_set
 
#define USE_LED_3   1
 
#define LED_3_GPIO   GPIOC
 
#define LED_3_GPIO_PIN   GPIO1
 
#define LED_3_GPIO_ON   gpio_clear
 
#define LED_3_GPIO_OFF   gpio_set
 
#define USE_LED_4   1
 
#define LED_4_GPIO   GPIOC
 
#define LED_4_GPIO_PIN   GPIO3
 
#define LED_4_GPIO_ON   gpio_clear
 
#define LED_4_GPIO_OFF   gpio_set
 
#define USE_LED_5   0
 
#define LED_5_GPIO   GPIOB
 
#define LED_5_GPIO_PIN   GPIO1
 
#define LED_5_GPIO_ON   gpio_set
 
#define LED_5_GPIO_OFF   gpio_clear
 
#define USE_LED_6   0
 
#define LED_6_GPIO   GPIOC
 
#define LED_6_GPIO_PIN   GPIO5
 
#define LED_6_GPIO_ON   gpio_set
 
#define LED_6_GPIO_OFF   gpio_clear
 
#define USE_LED_7   0
 
#define LED_7_GPIO   GPIOC
 
#define LED_7_GPIO_PIN   GPIO4
 
#define LED_7_GPIO_ON   gpio_set
 
#define LED_7_GPIO_OFF   gpio_clear
 
#define USE_LED_8   0
 
#define LED_8_GPIO   GPIOB
 
#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 USE_BARO_BOARD   1
 Baro. More...
 
#define DEFAULT_ACTUATORS   "subsystems/actuators/actuators_pwm.h"
 
#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 1018 of file board.h.

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

Definition at line 1020 of file board.h.

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

Definition at line 1019 of file board.h.

#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 BOARD_NAME   "AB/GRZ STM32F4 Apogee 1.0"

Definition at line 28 of file board.h.

#define BOARD_ST_APOGEE

Definition at line 27 of file board.h.

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

Definition at line 1017 of file board.h.

#define DefaultVoltageOfAdc (   adc)    (0.006185*adc)

Definition at line 766 of file board.h.

#define GPIOA_ADC1_IN4   4

Definition at line 63 of file board.h.

#define GPIOA_ICU1_CH1   8

Definition at line 67 of file board.h.

#define GPIOA_OTG_FS_DM   11

Definition at line 70 of file board.h.

#define GPIOA_OTG_FS_DP   12

Definition at line 71 of file board.h.

#define GPIOA_OTG_FS_VBUS   9

Definition at line 68 of file board.h.

#define GPIOA_PWM2_CH1   15

Definition at line 74 of file board.h.

#define GPIOA_PWM2_CH3   2

Definition at line 61 of file board.h.

#define GPIOA_SPI1_MISO   6

Definition at line 65 of file board.h.

#define GPIOA_SPI1_MOSI   7

Definition at line 66 of file board.h.

#define GPIOA_SPI1_SCK   5

Definition at line 64 of file board.h.

#define GPIOA_SWCLK   14

Definition at line 73 of file board.h.

#define GPIOA_SWDIO   13

Definition at line 72 of file board.h.

#define GPIOA_UART2_RX   3

Definition at line 62 of file board.h.

#define GPIOA_UART4_RX   1

Definition at line 60 of file board.h.

#define GPIOA_UART4_TX   0

Definition at line 59 of file board.h.

#define GPIOA_USART1_RX   10

Definition at line 69 of file board.h.

#define GPIOB_AUX1   1

Definition at line 77 of file board.h.

#define GPIOB_AUX4   15

Definition at line 91 of file board.h.

#define GPIOB_BOOT1   2

Definition at line 78 of file board.h.

#define GPIOB_I2C1_SCL   8

Definition at line 84 of file board.h.

#define GPIOB_I2C1_SDA   7

Definition at line 83 of file board.h.

#define GPIOB_I2C2_SCL   10

Definition at line 86 of file board.h.

#define GPIOB_I2C2_SDA   11

Definition at line 87 of file board.h.

#define GPIOB_POWER_SWITCH   12

Definition at line 88 of file board.h.

#define GPIOB_PWM2_CH2   3

Definition at line 79 of file board.h.

#define GPIOB_PWM3_CH1   4

Definition at line 80 of file board.h.

#define GPIOB_PWM3_CH2   5

Definition at line 81 of file board.h.

#define GPIOB_PWM3_CH3   0

Definition at line 76 of file board.h.

#define GPIOB_RX2_POL   13

Definition at line 89 of file board.h.

#define GPIOB_SDIO_DETECT   14

Definition at line 90 of file board.h.

#define GPIOB_SPI1_CS   9

Definition at line 85 of file board.h.

#define GPIOB_USART1_TX   6

Definition at line 82 of file board.h.

#define GPIOC_AUX2   5

Definition at line 98 of file board.h.

#define GPIOC_AUX3   4

Definition at line 97 of file board.h.

#define GPIOC_LED1   0

Definition at line 93 of file board.h.

#define GPIOC_LED2   13

Definition at line 106 of file board.h.

#define GPIOC_LED3   1

Definition at line 94 of file board.h.

#define GPIOC_LED4   3

Definition at line 96 of file board.h.

#define GPIOC_OSC32_IN   14

Definition at line 107 of file board.h.

#define GPIOC_OSC32_OUT   15

Definition at line 108 of file board.h.

#define GPIOC_PIN2   2

Definition at line 95 of file board.h.

#define GPIOC_SDIO_CK   12

Definition at line 105 of file board.h.

#define GPIOC_SDIO_D0   8

Definition at line 101 of file board.h.

#define GPIOC_SDIO_D1   9

Definition at line 102 of file board.h.

#define GPIOC_SDIO_D2   10

Definition at line 103 of file board.h.

#define GPIOC_SDIO_D3   11

Definition at line 104 of file board.h.

#define GPIOC_USART6_RX   7

Definition at line 100 of file board.h.

#define GPIOC_USART6_TX   6

Definition at line 99 of file board.h.

#define GPIOD_SDIO_CMD   2

Definition at line 110 of file board.h.

#define GPIOH_OSC_IN   0

Definition at line 112 of file board.h.

#define GPIOH_OSC_OUT   1

Definition at line 113 of file board.h.

#define GPIOH_PIN10   10

Definition at line 122 of file board.h.

#define GPIOH_PIN11   11

Definition at line 123 of file board.h.

#define GPIOH_PIN12   12

Definition at line 124 of file board.h.

#define GPIOH_PIN13   13

Definition at line 125 of file board.h.

#define GPIOH_PIN14   14

Definition at line 126 of file board.h.

#define GPIOH_PIN15   15

Definition at line 127 of file board.h.

#define GPIOH_PIN2   2

Definition at line 114 of file board.h.

#define GPIOH_PIN3   3

Definition at line 115 of file board.h.

#define GPIOH_PIN4   4

Definition at line 116 of file board.h.

#define GPIOH_PIN5   5

Definition at line 117 of file board.h.

#define GPIOH_PIN6   6

Definition at line 118 of file board.h.

#define GPIOH_PIN7   7

Definition at line 119 of file board.h.

#define GPIOH_PIN8   8

Definition at line 120 of file board.h.

#define GPIOH_PIN9   9

Definition at line 121 of file board.h.

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

Definition at line 954 of file board.h.

#define I2C1_CLOCK_SPEED   400000

I2C defines.

Definition at line 945 of file board.h.

#define I2C1_DUTY_CYCLE   FAST_DUTY_CYCLE_2

Definition at line 948 of file board.h.

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

Definition at line 970 of file board.h.

#define I2C2_CLOCK_SPEED   400000

Definition at line 961 of file board.h.

#define I2C2_DUTY_CYCLE   FAST_DUTY_CYCLE_2

Definition at line 964 of file board.h.

#define LED_1_GPIO   GPIOC

Definition at line 650 of file board.h.

#define LED_1_GPIO_OFF   gpio_set

Definition at line 653 of file board.h.

#define LED_1_GPIO_ON   gpio_clear

Definition at line 652 of file board.h.

#define LED_1_GPIO_PIN   GPIO0

Definition at line 651 of file board.h.

#define LED_2_GPIO   GPIOC

Definition at line 659 of file board.h.

#define LED_2_GPIO_OFF   gpio_set

Definition at line 662 of file board.h.

#define LED_2_GPIO_ON   gpio_clear

Definition at line 661 of file board.h.

#define LED_2_GPIO_PIN   GPIO13

Definition at line 660 of file board.h.

#define LED_3_GPIO   GPIOC

Definition at line 668 of file board.h.

#define LED_3_GPIO_OFF   gpio_set

Definition at line 671 of file board.h.

#define LED_3_GPIO_ON   gpio_clear

Definition at line 670 of file board.h.

#define LED_3_GPIO_PIN   GPIO1

Definition at line 669 of file board.h.

#define LED_4_GPIO   GPIOC

Definition at line 677 of file board.h.

#define LED_4_GPIO_OFF   gpio_set

Definition at line 680 of file board.h.

#define LED_4_GPIO_ON   gpio_clear

Definition at line 679 of file board.h.

#define LED_4_GPIO_PIN   GPIO3

Definition at line 678 of file board.h.

#define LED_5_GPIO   GPIOB

Definition at line 686 of file board.h.

#define LED_5_GPIO_OFF   gpio_clear

Definition at line 689 of file board.h.

#define LED_5_GPIO_ON   gpio_set

Definition at line 688 of file board.h.

#define LED_5_GPIO_PIN   GPIO1

Definition at line 687 of file board.h.

#define LED_6_GPIO   GPIOC

Definition at line 695 of file board.h.

#define LED_6_GPIO_OFF   gpio_clear

Definition at line 698 of file board.h.

#define LED_6_GPIO_ON   gpio_set

Definition at line 697 of file board.h.

#define LED_6_GPIO_PIN   GPIO5

Definition at line 696 of file board.h.

#define LED_7_GPIO   GPIOC

Definition at line 704 of file board.h.

#define LED_7_GPIO_OFF   gpio_clear

Definition at line 707 of file board.h.

#define LED_7_GPIO_ON   gpio_set

Definition at line 706 of file board.h.

#define LED_7_GPIO_PIN   GPIO4

Definition at line 705 of file board.h.

#define LED_8_GPIO   GPIOB

Definition at line 713 of file board.h.

#define LED_8_GPIO_OFF   gpio_clear

Definition at line 716 of file board.h.

#define LED_8_GPIO_ON   gpio_set

Definition at line 715 of file board.h.

#define LED_8_GPIO_PIN   GPIO15

Definition at line 714 of file board.h.

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

Definition at line 150 of file board.h.

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

Definition at line 137 of file board.h.

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

Definition at line 138 of file board.h.

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

Definition at line 135 of file board.h.

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

Definition at line 136 of file board.h.

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

Definition at line 140 of file board.h.

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

Definition at line 139 of file board.h.

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

Definition at line 146 of file board.h.

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

Definition at line 144 of file board.h.

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

Definition at line 143 of file board.h.

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

Definition at line 145 of file board.h.

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

Definition at line 142 of file board.h.

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

Definition at line 141 of file board.h.

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

Definition at line 147 of file board.h.

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

Definition at line 149 of file board.h.

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

Definition at line 148 of file board.h.

#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 PPM_TIMER_FREQUENCY   2000000

Definition at line 916 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_1_ACTIVE
Definition: board.h:796
#define PWM_SERVO_4_ACTIVE
Definition: board.h:841
#define PWM_SERVO_5_ACTIVE
Definition: board.h:856
#define PWM_FREQUENCY
#define TIM2_SERVO_HZ

Definition at line 879 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 PWM_SERVO_3_ACTIVE
Definition: board.h:826
#define PWM_SERVO_2_ACTIVE
Definition: board.h:811
#define TIM3_SERVO_HZ
#define PWM_SERVO_0_ACTIVE
Definition: board.h:781
#define PWM_FREQUENCY
#define PWM_SERVO_6_ACTIVE
Definition: board.h:870

Definition at line 898 of file board.h.

#define PWM_CONF_TIM2   1

Definition at line 877 of file board.h.

#define PWM_CONF_TIM3   1

Definition at line 896 of file board.h.

#define PWM_INPUT1_CHANNEL   ICU_CHANNEL_1

Definition at line 925 of file board.h.

#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_CHANNEL   ICU_CHANNEL_1

Definition at line 936 of file board.h.

#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_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 781 of file board.h.

#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_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 796 of file board.h.

#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_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 811 of file board.h.

#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_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 826 of file board.h.

#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_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 841 of file board.h.

#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_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 856 of file board.h.

#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 PWM_SERVO_6_ACTIVE   PWM_OUTPUT_DISABLED

Definition at line 870 of file board.h.

#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 RC_PPM_TICKS_PER_USEC   2

PPM radio defines.

Definition at line 915 of file board.h.

#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

SDIO.

Definition at line 1026 of file board.h.

Referenced by sdio_connect().

#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

SPI Config.

Definition at line 979 of file board.h.

Referenced by spi1_arch_init().

#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
#define SPI_SELECT_SLAVE0_PORT   GPIOB
#define SPI_SELECT_SLAVE1_PIN   GPIO1
#define SPI_SELECT_SLAVE1_PORT   GPIOB
#define SPI_SELECT_SLAVE2_PIN   GPIO5
#define SPI_SELECT_SLAVE2_PORT   GPIOC
#define SPI_SELECT_SLAVE3_PIN   GPIO4
#define SPI_SELECT_SLAVE3_PORT   GPIOC
#define SPI_SELECT_SLAVE4_PIN   GPIO15
#define SPI_SELECT_SLAVE4_PORT   GPIOB
#define STM32_HSECLK   16000000

Definition at line 39 of file board.h.

#define STM32_LSECLK   32768

Definition at line 35 of file board.h.

#define STM32_VDD   300

Definition at line 47 of file board.h.

#define STM32F407xx

Definition at line 52 of file board.h.

#define USE_ADC_4   1

Definition at line 752 of file board.h.

#define USE_BARO_BOARD   1

Baro.

Apparently needed for backwards compatibility with the ancient onboard baro boards

Definition at line 1010 of file board.h.

#define USE_LED_1   1

Definition at line 648 of file board.h.

#define USE_LED_2   1

Definition at line 657 of file board.h.

#define USE_LED_3   1

Definition at line 666 of file board.h.

#define USE_LED_4   1

Definition at line 675 of file board.h.

#define USE_LED_5   0

Definition at line 684 of file board.h.

#define USE_LED_6   0

Definition at line 693 of file board.h.

#define USE_LED_7   0

Definition at line 702 of file board.h.

#define USE_LED_8   0

Definition at line 711 of file board.h.

#define USE_PWM0   1

Definition at line 772 of file board.h.

#define USE_PWM1   1

Definition at line 787 of file board.h.

#define USE_PWM2   1

Definition at line 802 of file board.h.

#define USE_PWM3   1

Definition at line 817 of file board.h.

#define USE_PWM4   1

Definition at line 832 of file board.h.

#define USE_PWM5   1

Definition at line 847 of file board.h.

#define VAL_GPIOA_AFRH
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:150
#define GPIOA_SWCLK
Definition: board.h:73
#define GPIOA_ICU1_CH1
Definition: board.h:67
#define GPIOA_OTG_FS_DM
Definition: board.h:70
#define GPIOA_USART1_RX
Definition: board.h:69
#define GPIOA_OTG_FS_DP
Definition: board.h:71
#define GPIOA_SWDIO
Definition: board.h:72
#define GPIOA_PWM2_CH1
Definition: board.h:74
#define GPIOA_OTG_FS_VBUS
Definition: board.h:68

Definition at line 250 of file board.h.

#define VAL_GPIOA_AFRL
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:150
#define GPIOA_UART2_RX
Definition: board.h:62
#define GPIOA_PWM2_CH3
Definition: board.h:61
#define GPIOA_UART4_RX
Definition: board.h:60
#define GPIOA_UART4_TX
Definition: board.h:59
#define GPIOA_ADC1_IN4
Definition: board.h:63
#define GPIOA_SPI1_MISO
Definition: board.h:65
#define GPIOA_SPI1_MOSI
Definition: board.h:66
#define GPIOA_SPI1_SCK
Definition: board.h:64

Definition at line 241 of file board.h.

#define VAL_GPIOA_MODER
Value:
#define GPIOA_UART2_RX
Definition: board.h:62
#define PIN_MODE_ANALOG(n)
Definition: board.h:138
#define GPIOA_SWCLK
Definition: board.h:73
#define GPIOA_PWM2_CH3
Definition: board.h:61
#define GPIOA_UART4_RX
Definition: board.h:60
#define PIN_MODE_INPUT(n)
Definition: board.h:135
#define GPIOA_ICU1_CH1
Definition: board.h:67
#define GPIOA_OTG_FS_DM
Definition: board.h:70
#define GPIOA_USART1_RX
Definition: board.h:69
#define GPIOA_OTG_FS_DP
Definition: board.h:71
#define GPIOA_UART4_TX
Definition: board.h:59
#define GPIOA_ADC1_IN4
Definition: board.h:63
#define PIN_MODE_ALTERNATE(n)
Definition: board.h:137
#define GPIOA_SPI1_MISO
Definition: board.h:65
#define GPIOA_SPI1_MOSI
Definition: board.h:66
#define GPIOA_SWDIO
Definition: board.h:72
#define GPIOA_SPI1_SCK
Definition: board.h:64
#define GPIOA_PWM2_CH1
Definition: board.h:74
#define GPIOA_OTG_FS_VBUS
Definition: board.h:68

Definition at line 156 of file board.h.

#define VAL_GPIOA_ODR
Value:
#define GPIOA_UART2_RX
Definition: board.h:62
#define GPIOA_SWCLK
Definition: board.h:73
#define GPIOA_PWM2_CH3
Definition: board.h:61
#define GPIOA_UART4_RX
Definition: board.h:60
#define GPIOA_ICU1_CH1
Definition: board.h:67
#define GPIOA_OTG_FS_DM
Definition: board.h:70
#define GPIOA_USART1_RX
Definition: board.h:69
#define GPIOA_OTG_FS_DP
Definition: board.h:71
#define GPIOA_UART4_TX
Definition: board.h:59
#define GPIOA_ADC1_IN4
Definition: board.h:63
#define GPIOA_SPI1_MISO
Definition: board.h:65
#define GPIOA_SPI1_MOSI
Definition: board.h:66
#define PIN_ODR_HIGH(n)
Definition: board.h:140
#define GPIOA_SWDIO
Definition: board.h:72
#define GPIOA_SPI1_SCK
Definition: board.h:64
#define GPIOA_PWM2_CH1
Definition: board.h:74
#define GPIOA_OTG_FS_VBUS
Definition: board.h:68

Definition at line 224 of file board.h.

#define VAL_GPIOA_OSPEEDR
Value:
#define GPIOA_UART2_RX
Definition: board.h:62
#define GPIOA_SWCLK
Definition: board.h:73
#define GPIOA_PWM2_CH3
Definition: board.h:61
#define GPIOA_UART4_RX
Definition: board.h:60
#define GPIOA_ICU1_CH1
Definition: board.h:67
#define GPIOA_OTG_FS_DM
Definition: board.h:70
#define GPIOA_USART1_RX
Definition: board.h:69
#define GPIOA_OTG_FS_DP
Definition: board.h:71
#define GPIOA_UART4_TX
Definition: board.h:59
#define GPIOA_ADC1_IN4
Definition: board.h:63
#define GPIOA_SPI1_MISO
Definition: board.h:65
#define GPIOA_SPI1_MOSI
Definition: board.h:66
#define PIN_OSPEED_100M(n)
Definition: board.h:146
#define GPIOA_SWDIO
Definition: board.h:72
#define GPIOA_SPI1_SCK
Definition: board.h:64
#define GPIOA_PWM2_CH1
Definition: board.h:74
#define GPIOA_OTG_FS_VBUS
Definition: board.h:68

Definition at line 190 of file board.h.

#define VAL_GPIOA_OTYPER
Value:
#define GPIOA_UART2_RX
Definition: board.h:62
#define GPIOA_SWCLK
Definition: board.h:73
#define GPIOA_PWM2_CH3
Definition: board.h:61
#define GPIOA_UART4_RX
Definition: board.h:60
#define GPIOA_ICU1_CH1
Definition: board.h:67
#define GPIOA_OTG_FS_DM
Definition: board.h:70
#define GPIOA_USART1_RX
Definition: board.h:69
#define GPIOA_OTG_FS_DP
Definition: board.h:71
#define GPIOA_UART4_TX
Definition: board.h:59
#define GPIOA_ADC1_IN4
Definition: board.h:63
#define GPIOA_SPI1_MISO
Definition: board.h:65
#define GPIOA_SPI1_MOSI
Definition: board.h:66
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:141
#define GPIOA_SWDIO
Definition: board.h:72
#define GPIOA_SPI1_SCK
Definition: board.h:64
#define GPIOA_PWM2_CH1
Definition: board.h:74
#define GPIOA_OTG_FS_VBUS
Definition: board.h:68

Definition at line 173 of file board.h.

#define VAL_GPIOA_PUPDR
Value:
#define GPIOA_UART2_RX
Definition: board.h:62
#define GPIOA_SWCLK
Definition: board.h:73
#define GPIOA_PWM2_CH3
Definition: board.h:61
#define GPIOA_UART4_RX
Definition: board.h:60
#define GPIOA_ICU1_CH1
Definition: board.h:67
#define GPIOA_OTG_FS_DM
Definition: board.h:70
#define GPIOA_USART1_RX
Definition: board.h:69
#define PIN_PUPDR_PULLDOWN(n)
Definition: board.h:149
#define GPIOA_OTG_FS_DP
Definition: board.h:71
#define GPIOA_UART4_TX
Definition: board.h:59
#define GPIOA_ADC1_IN4
Definition: board.h:63
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:148
#define GPIOA_SPI1_MISO
Definition: board.h:65
#define GPIOA_SPI1_MOSI
Definition: board.h:66
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:147
#define GPIOA_SWDIO
Definition: board.h:72
#define GPIOA_SPI1_SCK
Definition: board.h:64
#define GPIOA_PWM2_CH1
Definition: board.h:74
#define GPIOA_OTG_FS_VBUS
Definition: board.h:68

Definition at line 207 of file board.h.

#define VAL_GPIOB_AFRH
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:150
#define GPIOB_POWER_SWITCH
Definition: board.h:88
#define GPIOB_I2C1_SCL
Definition: board.h:84
#define GPIOB_SDIO_DETECT
Definition: board.h:90
#define GPIOB_I2C2_SCL
Definition: board.h:86
#define GPIOB_AUX4
Definition: board.h:91
#define GPIOB_RX2_POL
Definition: board.h:89
#define GPIOB_SPI1_CS
Definition: board.h:85
#define GPIOB_I2C2_SDA
Definition: board.h:87

Definition at line 356 of file board.h.

#define VAL_GPIOB_AFRL
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:150
#define GPIOB_PWM3_CH2
Definition: board.h:81
#define GPIOB_I2C1_SDA
Definition: board.h:83
#define GPIOB_PWM3_CH1
Definition: board.h:80
#define GPIOB_PWM2_CH2
Definition: board.h:79
#define GPIOB_AUX1
Definition: board.h:77
#define GPIOB_PWM3_CH3
Definition: board.h:76
#define GPIOB_USART1_TX
Definition: board.h:82
#define GPIOB_BOOT1
Definition: board.h:78

Definition at line 348 of file board.h.

#define VAL_GPIOB_MODER
Value:
#define GPIOB_PWM3_CH2
Definition: board.h:81
#define GPIOB_POWER_SWITCH
Definition: board.h:88
#define GPIOB_I2C1_SDA
Definition: board.h:83
#define GPIOB_I2C1_SCL
Definition: board.h:84
#define GPIOB_SDIO_DETECT
Definition: board.h:90
#define PIN_MODE_INPUT(n)
Definition: board.h:135
#define GPIOB_PWM3_CH1
Definition: board.h:80
#define GPIOB_I2C2_SCL
Definition: board.h:86
#define PIN_MODE_ALTERNATE(n)
Definition: board.h:137
#define PIN_MODE_OUTPUT(n)
Definition: board.h:136
#define GPIOB_PWM2_CH2
Definition: board.h:79
#define GPIOB_AUX4
Definition: board.h:91
#define GPIOB_AUX1
Definition: board.h:77
#define GPIOB_PWM3_CH3
Definition: board.h:76
#define GPIOB_RX2_POL
Definition: board.h:89
#define GPIOB_SPI1_CS
Definition: board.h:85
#define GPIOB_I2C2_SDA
Definition: board.h:87
#define GPIOB_USART1_TX
Definition: board.h:82
#define GPIOB_BOOT1
Definition: board.h:78

Definition at line 263 of file board.h.

#define VAL_GPIOB_ODR
Value:
#define GPIOB_PWM3_CH2
Definition: board.h:81
#define PIN_ODR_LOW(n)
Definition: board.h:139
#define GPIOB_POWER_SWITCH
Definition: board.h:88
#define GPIOB_I2C1_SDA
Definition: board.h:83
#define GPIOB_I2C1_SCL
Definition: board.h:84
#define GPIOB_SDIO_DETECT
Definition: board.h:90
#define GPIOB_PWM3_CH1
Definition: board.h:80
#define GPIOB_I2C2_SCL
Definition: board.h:86
#define PIN_ODR_HIGH(n)
Definition: board.h:140
#define GPIOB_PWM2_CH2
Definition: board.h:79
#define GPIOB_AUX4
Definition: board.h:91
#define GPIOB_AUX1
Definition: board.h:77
#define GPIOB_PWM3_CH3
Definition: board.h:76
#define GPIOB_RX2_POL
Definition: board.h:89
#define GPIOB_SPI1_CS
Definition: board.h:85
#define GPIOB_I2C2_SDA
Definition: board.h:87
#define GPIOB_USART1_TX
Definition: board.h:82
#define GPIOB_BOOT1
Definition: board.h:78

Definition at line 331 of file board.h.

#define VAL_GPIOB_OSPEEDR
Value:
#define GPIOB_PWM3_CH2
Definition: board.h:81
#define GPIOB_POWER_SWITCH
Definition: board.h:88
#define GPIOB_I2C1_SDA
Definition: board.h:83
#define GPIOB_I2C1_SCL
Definition: board.h:84
#define GPIOB_SDIO_DETECT
Definition: board.h:90
#define GPIOB_PWM3_CH1
Definition: board.h:80
#define GPIOB_I2C2_SCL
Definition: board.h:86
#define GPIOB_PWM2_CH2
Definition: board.h:79
#define PIN_OSPEED_100M(n)
Definition: board.h:146
#define GPIOB_AUX4
Definition: board.h:91
#define GPIOB_AUX1
Definition: board.h:77
#define GPIOB_PWM3_CH3
Definition: board.h:76
#define GPIOB_RX2_POL
Definition: board.h:89
#define GPIOB_SPI1_CS
Definition: board.h:85
#define GPIOB_I2C2_SDA
Definition: board.h:87
#define GPIOB_USART1_TX
Definition: board.h:82
#define GPIOB_BOOT1
Definition: board.h:78

Definition at line 297 of file board.h.

#define VAL_GPIOB_OTYPER
Value:
#define GPIOB_PWM3_CH2
Definition: board.h:81
#define GPIOB_POWER_SWITCH
Definition: board.h:88
#define GPIOB_I2C1_SDA
Definition: board.h:83
#define GPIOB_I2C1_SCL
Definition: board.h:84
#define GPIOB_SDIO_DETECT
Definition: board.h:90
#define GPIOB_PWM3_CH1
Definition: board.h:80
#define GPIOB_I2C2_SCL
Definition: board.h:86
#define PIN_OTYPE_OPENDRAIN(n)
Definition: board.h:142
#define GPIOB_PWM2_CH2
Definition: board.h:79
#define GPIOB_AUX4
Definition: board.h:91
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:141
#define GPIOB_AUX1
Definition: board.h:77
#define GPIOB_PWM3_CH3
Definition: board.h:76
#define GPIOB_RX2_POL
Definition: board.h:89
#define GPIOB_SPI1_CS
Definition: board.h:85
#define GPIOB_I2C2_SDA
Definition: board.h:87
#define GPIOB_USART1_TX
Definition: board.h:82
#define GPIOB_BOOT1
Definition: board.h:78

Definition at line 280 of file board.h.

#define VAL_GPIOB_PUPDR
Value:
#define GPIOB_PWM3_CH2
Definition: board.h:81
#define GPIOB_POWER_SWITCH
Definition: board.h:88
#define GPIOB_I2C1_SDA
Definition: board.h:83
#define GPIOB_I2C1_SCL
Definition: board.h:84
#define GPIOB_SDIO_DETECT
Definition: board.h:90
#define GPIOB_PWM3_CH1
Definition: board.h:80
#define GPIOB_I2C2_SCL
Definition: board.h:86
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:148
#define GPIOB_PWM2_CH2
Definition: board.h:79
#define GPIOB_AUX4
Definition: board.h:91
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:147
#define GPIOB_AUX1
Definition: board.h:77
#define GPIOB_PWM3_CH3
Definition: board.h:76
#define GPIOB_RX2_POL
Definition: board.h:89
#define GPIOB_SPI1_CS
Definition: board.h:85
#define GPIOB_I2C2_SDA
Definition: board.h:87
#define GPIOB_USART1_TX
Definition: board.h:82
#define GPIOB_BOOT1
Definition: board.h:78

Definition at line 314 of file board.h.

#define VAL_GPIOC_AFRH
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:150
#define GPIOC_SDIO_CK
Definition: board.h:105
#define GPIOC_SDIO_D1
Definition: board.h:102
#define GPIOC_SDIO_D0
Definition: board.h:101
#define GPIOC_SDIO_D3
Definition: board.h:104
#define GPIOC_OSC32_OUT
Definition: board.h:108
#define GPIOC_SDIO_D2
Definition: board.h:103
#define GPIOC_OSC32_IN
Definition: board.h:107
#define GPIOC_LED2
Definition: board.h:106

Definition at line 463 of file board.h.

#define VAL_GPIOC_AFRL
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:150
#define GPIOC_LED1
Definition: board.h:93
#define GPIOC_LED3
Definition: board.h:94
#define GPIOC_PIN2
Definition: board.h:95
#define GPIOC_USART6_RX
Definition: board.h:100
#define GPIOC_LED4
Definition: board.h:96
#define GPIOC_AUX3
Definition: board.h:97
#define GPIOC_USART6_TX
Definition: board.h:99
#define GPIOC_AUX2
Definition: board.h:98

Definition at line 454 of file board.h.

#define VAL_GPIOC_MODER
Value:
#define GPIOC_SDIO_CK
Definition: board.h:105
#define GPIOC_SDIO_D1
Definition: board.h:102
#define GPIOC_SDIO_D0
Definition: board.h:101
#define PIN_MODE_INPUT(n)
Definition: board.h:135
#define GPIOC_LED1
Definition: board.h:93
#define PIN_MODE_ALTERNATE(n)
Definition: board.h:137
#define PIN_MODE_OUTPUT(n)
Definition: board.h:136
#define GPIOC_SDIO_D3
Definition: board.h:104
#define GPIOC_LED3
Definition: board.h:94
#define GPIOC_PIN2
Definition: board.h:95
#define GPIOC_OSC32_OUT
Definition: board.h:108
#define GPIOC_USART6_RX
Definition: board.h:100
#define GPIOC_SDIO_D2
Definition: board.h:103
#define GPIOC_LED4
Definition: board.h:96
#define GPIOC_OSC32_IN
Definition: board.h:107
#define GPIOC_AUX3
Definition: board.h:97
#define GPIOC_LED2
Definition: board.h:106
#define GPIOC_USART6_TX
Definition: board.h:99
#define GPIOC_AUX2
Definition: board.h:98

Definition at line 369 of file board.h.

#define VAL_GPIOC_ODR
Value:
#define PIN_ODR_LOW(n)
Definition: board.h:139
#define GPIOC_SDIO_CK
Definition: board.h:105
#define GPIOC_SDIO_D1
Definition: board.h:102
#define GPIOC_SDIO_D0
Definition: board.h:101
#define GPIOC_LED1
Definition: board.h:93
#define GPIOC_SDIO_D3
Definition: board.h:104
#define GPIOC_LED3
Definition: board.h:94
#define GPIOC_PIN2
Definition: board.h:95
#define PIN_ODR_HIGH(n)
Definition: board.h:140
#define GPIOC_OSC32_OUT
Definition: board.h:108
#define GPIOC_USART6_RX
Definition: board.h:100
#define GPIOC_SDIO_D2
Definition: board.h:103
#define GPIOC_LED4
Definition: board.h:96
#define GPIOC_OSC32_IN
Definition: board.h:107
#define GPIOC_AUX3
Definition: board.h:97
#define GPIOC_LED2
Definition: board.h:106
#define GPIOC_USART6_TX
Definition: board.h:99
#define GPIOC_AUX2
Definition: board.h:98

Definition at line 437 of file board.h.

#define VAL_GPIOC_OSPEEDR
Value:
#define GPIOC_SDIO_CK
Definition: board.h:105
#define GPIOC_SDIO_D1
Definition: board.h:102
#define GPIOC_SDIO_D0
Definition: board.h:101
#define GPIOC_LED1
Definition: board.h:93
#define GPIOC_SDIO_D3
Definition: board.h:104
#define GPIOC_LED3
Definition: board.h:94
#define GPIOC_PIN2
Definition: board.h:95
#define PIN_OSPEED_100M(n)
Definition: board.h:146
#define GPIOC_OSC32_OUT
Definition: board.h:108
#define GPIOC_USART6_RX
Definition: board.h:100
#define GPIOC_SDIO_D2
Definition: board.h:103
#define GPIOC_LED4
Definition: board.h:96
#define GPIOC_OSC32_IN
Definition: board.h:107
#define GPIOC_AUX3
Definition: board.h:97
#define GPIOC_LED2
Definition: board.h:106
#define GPIOC_USART6_TX
Definition: board.h:99
#define GPIOC_AUX2
Definition: board.h:98

Definition at line 403 of file board.h.

#define VAL_GPIOC_OTYPER
Value:
#define GPIOC_SDIO_CK
Definition: board.h:105
#define GPIOC_SDIO_D1
Definition: board.h:102
#define GPIOC_SDIO_D0
Definition: board.h:101
#define GPIOC_LED1
Definition: board.h:93
#define GPIOC_SDIO_D3
Definition: board.h:104
#define GPIOC_LED3
Definition: board.h:94
#define GPIOC_PIN2
Definition: board.h:95
#define PIN_OTYPE_OPENDRAIN(n)
Definition: board.h:142
#define GPIOC_OSC32_OUT
Definition: board.h:108
#define GPIOC_USART6_RX
Definition: board.h:100
#define GPIOC_SDIO_D2
Definition: board.h:103
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:141
#define GPIOC_LED4
Definition: board.h:96
#define GPIOC_OSC32_IN
Definition: board.h:107
#define GPIOC_AUX3
Definition: board.h:97
#define GPIOC_LED2
Definition: board.h:106
#define GPIOC_USART6_TX
Definition: board.h:99
#define GPIOC_AUX2
Definition: board.h:98

Definition at line 386 of file board.h.

#define VAL_GPIOC_PUPDR
Value:
#define GPIOC_SDIO_CK
Definition: board.h:105
#define GPIOC_SDIO_D1
Definition: board.h:102
#define GPIOC_SDIO_D0
Definition: board.h:101
#define GPIOC_LED1
Definition: board.h:93
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:148
#define GPIOC_SDIO_D3
Definition: board.h:104
#define GPIOC_LED3
Definition: board.h:94
#define GPIOC_PIN2
Definition: board.h:95
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:147
#define GPIOC_OSC32_OUT
Definition: board.h:108
#define GPIOC_USART6_RX
Definition: board.h:100
#define GPIOC_SDIO_D2
Definition: board.h:103
#define GPIOC_LED4
Definition: board.h:96
#define GPIOC_OSC32_IN
Definition: board.h:107
#define GPIOC_AUX3
Definition: board.h:97
#define GPIOC_LED2
Definition: board.h:106
#define GPIOC_USART6_TX
Definition: board.h:99
#define GPIOC_AUX2
Definition: board.h:98

Definition at line 420 of file board.h.

#define VAL_GPIOD_AFRH   0x00000000

Definition at line 483 of file board.h.

#define VAL_GPIOD_AFRL   PIN_AFIO_AF(GPIOD_SDIO_CMD, 12)

Definition at line 482 of file board.h.

#define VAL_GPIOD_MODER   PIN_MODE_ALTERNATE(GPIOD_SDIO_CMD)

Definition at line 477 of file board.h.

#define VAL_GPIOD_ODR   0xFFFFFFFF

Definition at line 481 of file board.h.

#define VAL_GPIOD_OSPEEDR   0xFFFFFFFF

Definition at line 479 of file board.h.

#define VAL_GPIOD_OTYPER   0x00000000

Definition at line 478 of file board.h.

#define VAL_GPIOD_PUPDR   0x55555555

Definition at line 480 of file board.h.

#define VAL_GPIOE_AFRH   0x00000000

Definition at line 496 of file board.h.

#define VAL_GPIOE_AFRL   0x00000000

Definition at line 495 of file board.h.

#define VAL_GPIOE_MODER   0x00000000

Definition at line 490 of file board.h.

#define VAL_GPIOE_ODR   0xFFFFFFFF

Definition at line 494 of file board.h.

#define VAL_GPIOE_OSPEEDR   0x00000000

Definition at line 492 of file board.h.

#define VAL_GPIOE_OTYPER   0x00000000

Definition at line 491 of file board.h.

#define VAL_GPIOE_PUPDR   0x55555555

Definition at line 493 of file board.h.

#define VAL_GPIOF_AFRH   0x00000000

Definition at line 508 of file board.h.

#define VAL_GPIOF_AFRL   0x00000000

Definition at line 507 of file board.h.

#define VAL_GPIOF_MODER   0x00000000

Definition at line 502 of file board.h.

#define VAL_GPIOF_ODR   0xFFFFFFFF

Definition at line 506 of file board.h.

#define VAL_GPIOF_OSPEEDR   0x00000000

Definition at line 504 of file board.h.

#define VAL_GPIOF_OTYPER   0x00000000

Definition at line 503 of file board.h.

#define VAL_GPIOF_PUPDR   0x55555555

Definition at line 505 of file board.h.

#define VAL_GPIOG_AFRH   0x00000000

Definition at line 520 of file board.h.

#define VAL_GPIOG_AFRL   0x00000000

Definition at line 519 of file board.h.

#define VAL_GPIOG_MODER   0x00000000

Definition at line 514 of file board.h.

#define VAL_GPIOG_ODR   0xFFFFFFFF

Definition at line 518 of file board.h.

#define VAL_GPIOG_OSPEEDR   0x00000000

Definition at line 516 of file board.h.

#define VAL_GPIOG_OTYPER   0x00000000

Definition at line 515 of file board.h.

#define VAL_GPIOG_PUPDR   0x55555555

Definition at line 517 of file board.h.

#define VAL_GPIOH_AFRH
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:150
#define GPIOH_PIN13
Definition: board.h:125
#define GPIOH_PIN12
Definition: board.h:124
#define GPIOH_PIN14
Definition: board.h:126
#define GPIOH_PIN15
Definition: board.h:127
#define GPIOH_PIN11
Definition: board.h:123
#define GPIOH_PIN9
Definition: board.h:121
#define GPIOH_PIN10
Definition: board.h:122
#define GPIOH_PIN8
Definition: board.h:120

Definition at line 616 of file board.h.

#define VAL_GPIOH_AFRL
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:150
#define GPIOH_PIN2
Definition: board.h:114
#define GPIOH_PIN3
Definition: board.h:115
#define GPIOH_PIN7
Definition: board.h:119
#define GPIOH_PIN5
Definition: board.h:117
#define GPIOH_OSC_IN
Definition: board.h:112
#define GPIOH_PIN4
Definition: board.h:116
#define GPIOH_OSC_OUT
Definition: board.h:113
#define GPIOH_PIN6
Definition: board.h:118

Definition at line 608 of file board.h.

#define VAL_GPIOH_MODER
Value:
#define GPIOH_PIN13
Definition: board.h:125
#define GPIOH_PIN2
Definition: board.h:114
#define GPIOH_PIN3
Definition: board.h:115
#define PIN_MODE_INPUT(n)
Definition: board.h:135
#define GPIOH_PIN7
Definition: board.h:119
#define GPIOH_PIN12
Definition: board.h:124
#define GPIOH_PIN14
Definition: board.h:126
#define GPIOH_PIN15
Definition: board.h:127
#define GPIOH_PIN5
Definition: board.h:117
#define GPIOH_OSC_IN
Definition: board.h:112
#define GPIOH_PIN4
Definition: board.h:116
#define GPIOH_PIN11
Definition: board.h:123
#define GPIOH_OSC_OUT
Definition: board.h:113
#define GPIOH_PIN9
Definition: board.h:121
#define GPIOH_PIN6
Definition: board.h:118
#define GPIOH_PIN10
Definition: board.h:122
#define GPIOH_PIN8
Definition: board.h:120

Definition at line 528 of file board.h.

#define VAL_GPIOH_ODR
Value:
#define GPIOH_PIN13
Definition: board.h:125
#define GPIOH_PIN2
Definition: board.h:114
#define GPIOH_PIN3
Definition: board.h:115
#define GPIOH_PIN7
Definition: board.h:119
#define GPIOH_PIN12
Definition: board.h:124
#define GPIOH_PIN14
Definition: board.h:126
#define GPIOH_PIN15
Definition: board.h:127
#define GPIOH_PIN5
Definition: board.h:117
#define GPIOH_OSC_IN
Definition: board.h:112
#define GPIOH_PIN4
Definition: board.h:116
#define PIN_ODR_HIGH(n)
Definition: board.h:140
#define GPIOH_PIN11
Definition: board.h:123
#define GPIOH_OSC_OUT
Definition: board.h:113
#define GPIOH_PIN9
Definition: board.h:121
#define GPIOH_PIN6
Definition: board.h:118
#define GPIOH_PIN10
Definition: board.h:122
#define GPIOH_PIN8
Definition: board.h:120

Definition at line 592 of file board.h.

#define VAL_GPIOH_OSPEEDR
Value:
#define GPIOH_PIN13
Definition: board.h:125
#define GPIOH_PIN2
Definition: board.h:114
#define GPIOH_PIN3
Definition: board.h:115
#define GPIOH_PIN7
Definition: board.h:119
#define GPIOH_PIN12
Definition: board.h:124
#define GPIOH_PIN14
Definition: board.h:126
#define GPIOH_PIN15
Definition: board.h:127
#define GPIOH_PIN5
Definition: board.h:117
#define GPIOH_OSC_IN
Definition: board.h:112
#define GPIOH_PIN4
Definition: board.h:116
#define GPIOH_PIN11
Definition: board.h:123
#define PIN_OSPEED_100M(n)
Definition: board.h:146
#define GPIOH_OSC_OUT
Definition: board.h:113
#define GPIOH_PIN9
Definition: board.h:121
#define GPIOH_PIN6
Definition: board.h:118
#define GPIOH_PIN10
Definition: board.h:122
#define GPIOH_PIN8
Definition: board.h:120

Definition at line 560 of file board.h.

#define VAL_GPIOH_OTYPER
Value:
#define GPIOH_PIN13
Definition: board.h:125
#define GPIOH_PIN2
Definition: board.h:114
#define GPIOH_PIN3
Definition: board.h:115
#define GPIOH_PIN7
Definition: board.h:119
#define GPIOH_PIN12
Definition: board.h:124
#define GPIOH_PIN14
Definition: board.h:126
#define GPIOH_PIN15
Definition: board.h:127
#define GPIOH_PIN5
Definition: board.h:117
#define GPIOH_OSC_IN
Definition: board.h:112
#define GPIOH_PIN4
Definition: board.h:116
#define GPIOH_PIN11
Definition: board.h:123
#define GPIOH_OSC_OUT
Definition: board.h:113
#define GPIOH_PIN9
Definition: board.h:121
#define GPIOH_PIN6
Definition: board.h:118
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:141
#define GPIOH_PIN10
Definition: board.h:122
#define GPIOH_PIN8
Definition: board.h:120

Definition at line 544 of file board.h.

#define VAL_GPIOH_PUPDR
Value:
#define GPIOH_PIN13
Definition: board.h:125
#define GPIOH_PIN2
Definition: board.h:114
#define GPIOH_PIN3
Definition: board.h:115
#define GPIOH_PIN7
Definition: board.h:119
#define GPIOH_PIN12
Definition: board.h:124
#define GPIOH_PIN14
Definition: board.h:126
#define GPIOH_PIN15
Definition: board.h:127
#define GPIOH_PIN5
Definition: board.h:117
#define GPIOH_OSC_IN
Definition: board.h:112
#define GPIOH_PIN4
Definition: board.h:116
#define GPIOH_PIN11
Definition: board.h:123
#define GPIOH_OSC_OUT
Definition: board.h:113
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:147
#define GPIOH_PIN9
Definition: board.h:121
#define GPIOH_PIN6
Definition: board.h:118
#define GPIOH_PIN10
Definition: board.h:122
#define GPIOH_PIN8
Definition: board.h:120

Definition at line 576 of file board.h.

#define VAL_GPIOI_AFRH   0x00000000

Definition at line 635 of file board.h.

#define VAL_GPIOI_AFRL   0x00000000

Definition at line 634 of file board.h.

#define VAL_GPIOI_MODER   0x00000000

Definition at line 629 of file board.h.

#define VAL_GPIOI_ODR   0xFFFFFFFF

Definition at line 633 of file board.h.

#define VAL_GPIOI_OSPEEDR   0x00000000

Definition at line 631 of file board.h.

#define VAL_GPIOI_OTYPER   0x00000000

Definition at line 630 of file board.h.

#define VAL_GPIOI_PUPDR   0x55555555

Definition at line 632 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.

Definition at line 122 of file board.c.