Paparazzi UAS  v5.15_devel-81-gd13dafb
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_STM32F4_ECU
 
#define BOARD_NAME   "STMicroelectronics STM32F4-Ecu"
 
#define STM32_LSECLK   0
 
#define STM32_HSECLK   25000000
 
#define STM32_VDD   330
 
#define STM32F407xx
 
#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
 
#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 VAL_GPIOI_MODER
 
#define VAL_GPIOI_OTYPER
 
#define VAL_GPIOI_OSPEEDR
 
#define VAL_GPIOI_PUPDR
 
#define VAL_GPIOI_ODR
 
#define VAL_GPIOI_AFRL
 
#define VAL_GPIOI_AFRH
 
#define AHB_CLK   STM32_HCLK
 
#define USE_ADC_1   1
 
#define AD1_1_CHANNEL   ADC_CHANNEL_IN10
 
#define ADC_1   AD1_1
 
#define ADC_1_GPIO_PORT   GPIOC
 
#define ADC_1_GPIO_PIN   GPIO0
 
#define USE_ADC_2   1
 
#define AD1_2_CHANNEL   ADC_CHANNEL_IN11
 
#define ADC_2   AD1_2
 
#define ADC_2_GPIO_PORT   GPIOC
 
#define ADC_2_GPIO_PIN   GPIO1
 
#define USE_ADC_3   1
 
#define AD1_3_CHANNEL   ADC_CHANNEL_IN12
 
#define ADC_3   AD1_3
 
#define ADC_3_GPIO_PORT   GPIOC
 
#define ADC_3_GPIO_PIN   GPIO2
 
#define USE_ADC_4   1
 
#define AD1_4_CHANNEL   ADC_CHANNEL_IN13
 
#define ADC_4   AD1_4
 
#define ADC_4_GPIO_PORT   GPIOC
 
#define ADC_4_GPIO_PIN   GPIO3
 
#define AIN_1   AD1_1_CHANNEL
 
#define AIN_2   AD1_2_CHANNEL
 
#define AIN_3   AD1_3_CHANNEL
 
#define AIN_4   AD1_4_CHANNEL
 
#define DefaultVoltageOfAdc(adc)   (0.000805664*adc)
 
#define DefaultMilliAmpereOfAdc(adc)   (0.004489*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   PWMD3
 
#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_AF3
 
#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 RC_PPM_TICKS_PER_USEC   6
 PPM radio defines no ppm inputs used. More...
 
#define PPM_TIMER_FREQUENCY   6000000
 
#define PPM_CHANNEL   ICU_CHANNEL_3
 
#define PPM_TIMER   ICUD1
 
#define I2C1_CLOCK_SPEED   400000
 I2C defines No I2C devices used. More...
 
#define I2C1_CFG_DEF
 
#define I2C2_CLOCK_SPEED   400000
 
#define I2C2_CFG_DEF
 
#define SPI_SELECT_SLAVE0_PORT   GPIOB
 SPI Config. More...
 
#define SPI_SELECT_SLAVE0_PIN   9
 
#define SPI_SELECT_SLAVE1_PORT   GPIOB
 
#define SPI_SELECT_SLAVE1_PIN   1
 
#define SPI_SELECT_SLAVE2_PORT   GPIOB
 
#define SPI_SELECT_SLAVE2_PIN   12
 
#define SPI_SELECT_SLAVE3_PORT   GPIOE
 
#define SPI_SELECT_SLAVE3_PIN   3
 
#define SPI_SELECT_SLAVE4_PORT   GPIOB
 
#define SPI_SELECT_SLAVE4_PIN   2
 
#define USE_BARO_BOARD   0
 SD card TODO: add defines for SD log. More...
 
#define DEFAULT_ACTUATORS   "subsystems/actuators/actuators_pwm.h"
 
#define ActuatorDefaultSet(_x, _y)   ActuatorPwmSet(_x,_y)
 
#define ActuatorsDefaultInit()   ActuatorsPwmInit()
 
#define ActuatorsDefaultCommit()   ActuatorsPwmCommit()
 

Functions

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

Macro Definition Documentation

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

Definition at line 1288 of file board.h.

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

Definition at line 1290 of file board.h.

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

Definition at line 1289 of file board.h.

#define AD1_1_CHANNEL   ADC_CHANNEL_IN10

Definition at line 1087 of file board.h.

#define AD1_2_CHANNEL   ADC_CHANNEL_IN11

Definition at line 1098 of file board.h.

#define AD1_3_CHANNEL   ADC_CHANNEL_IN12

Definition at line 1109 of file board.h.

#define AD1_4_CHANNEL   ADC_CHANNEL_IN13

Definition at line 1120 of file board.h.

#define ADC_1   AD1_1

Definition at line 1088 of file board.h.

#define ADC_1_GPIO_PIN   GPIO0

Definition at line 1090 of file board.h.

#define ADC_1_GPIO_PORT   GPIOC

Definition at line 1089 of file board.h.

#define ADC_2   AD1_2

Definition at line 1099 of file board.h.

#define ADC_2_GPIO_PIN   GPIO1

Definition at line 1101 of file board.h.

#define ADC_2_GPIO_PORT   GPIOC

Definition at line 1100 of file board.h.

#define ADC_3   AD1_3

Definition at line 1110 of file board.h.

#define ADC_3_GPIO_PIN   GPIO2

Definition at line 1112 of file board.h.

#define ADC_3_GPIO_PORT   GPIOC

Definition at line 1111 of file board.h.

#define ADC_4   AD1_4

Definition at line 1121 of file board.h.

#define ADC_4_GPIO_PIN   GPIO3

Definition at line 1123 of file board.h.

#define ADC_4_GPIO_PORT   GPIOC

Definition at line 1122 of file board.h.

#define AHB_CLK   STM32_HCLK

Definition at line 1071 of file board.h.

#define AIN_1   AD1_1_CHANNEL

Definition at line 1142 of file board.h.

#define AIN_2   AD1_2_CHANNEL

Definition at line 1143 of file board.h.

#define AIN_3   AD1_3_CHANNEL

Definition at line 1144 of file board.h.

#define AIN_4   AD1_4_CHANNEL

Definition at line 1145 of file board.h.

#define BOARD_NAME   "STMicroelectronics STM32F4-Ecu"

Definition at line 28 of file board.h.

#define BOARD_ST_STM32F4_ECU

Definition at line 27 of file board.h.

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

Definition at line 1287 of file board.h.

#define DefaultMilliAmpereOfAdc (   adc)    (0.004489*adc)

Definition at line 1155 of file board.h.

#define DefaultVoltageOfAdc (   adc)    (0.000805664*adc)

Definition at line 1154 of file board.h.

#define I2C1_CFG_DEF
Value:
{ \
OPMODE_I2C, \
FAST_DUTY_CYCLE_2, \
}
#define I2C1_CLOCK_SPEED
I2C defines No I2C devices used.
Definition: board.h:1235

Definition at line 1236 of file board.h.

#define I2C1_CLOCK_SPEED   400000

I2C defines No I2C devices used.

Definition at line 1235 of file board.h.

#define I2C2_CFG_DEF
Value:
{ \
OPMODE_I2C, \
FAST_DUTY_CYCLE_2, \
}
#define I2C2_CLOCK_SPEED
Definition: board.h:1242

Definition at line 1243 of file board.h.

#define I2C2_CLOCK_SPEED   400000

Definition at line 1242 of file board.h.

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

Definition at line 76 of file board.h.

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

Definition at line 63 of file board.h.

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

Definition at line 64 of file board.h.

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

Definition at line 61 of file board.h.

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

Definition at line 62 of file board.h.

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

Definition at line 66 of file board.h.

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

Definition at line 65 of file board.h.

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

Definition at line 72 of file board.h.

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

Definition at line 70 of file board.h.

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

Definition at line 69 of file board.h.

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

Definition at line 71 of file board.h.

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

Definition at line 68 of file board.h.

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

Definition at line 67 of file board.h.

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

Definition at line 73 of file board.h.

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

Definition at line 75 of file board.h.

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

Definition at line 74 of file board.h.

#define PPM_CHANNEL   ICU_CHANNEL_3

Definition at line 1228 of file board.h.

#define PPM_TIMER   ICUD1

Definition at line 1229 of file board.h.

#define PPM_TIMER_FREQUENCY   6000000

Definition at line 1227 of file board.h.

#define PWM_SERVO_0   0

Definition at line 1165 of file board.h.

#define PWM_SERVO_0_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 1171 of file board.h.

#define PWM_SERVO_0_AF   GPIO_AF2

Definition at line 1168 of file board.h.

#define PWM_SERVO_0_CHANNEL   2

Definition at line 1170 of file board.h.

#define PWM_SERVO_0_DRIVER   PWMD3

Definition at line 1169 of file board.h.

#define PWM_SERVO_0_GPIO   GPIOB

Definition at line 1166 of file board.h.

#define PWM_SERVO_0_PIN   GPIO0

Definition at line 1167 of file board.h.

#define PWM_SERVO_1   1

Definition at line 1180 of file board.h.

#define PWM_SERVO_1_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 1186 of file board.h.

#define PWM_SERVO_1_AF   GPIO_AF1

Definition at line 1183 of file board.h.

#define PWM_SERVO_1_CHANNEL   2

Definition at line 1185 of file board.h.

#define PWM_SERVO_1_DRIVER   PWMD3

Definition at line 1184 of file board.h.

#define PWM_SERVO_1_GPIO   GPIOA

Definition at line 1181 of file board.h.

#define PWM_SERVO_1_PIN   GPIO2

Definition at line 1182 of file board.h.

#define PWM_SERVO_2   2

Definition at line 1195 of file board.h.

#define PWM_SERVO_2_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 1201 of file board.h.

#define PWM_SERVO_2_AF   GPIO_AF3

Definition at line 1198 of file board.h.

#define PWM_SERVO_2_CHANNEL   1

Definition at line 1200 of file board.h.

#define PWM_SERVO_2_DRIVER   PWMD3

Definition at line 1199 of file board.h.

#define PWM_SERVO_2_GPIO   GPIOB

Definition at line 1196 of file board.h.

#define PWM_SERVO_2_PIN   GPIO5

Definition at line 1197 of file board.h.

#define PWM_SERVO_3   3

Definition at line 1210 of file board.h.

#define PWM_SERVO_3_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 1216 of file board.h.

#define PWM_SERVO_3_AF   GPIO_AF2

Definition at line 1213 of file board.h.

#define PWM_SERVO_3_CHANNEL   0

Definition at line 1215 of file board.h.

#define PWM_SERVO_3_DRIVER   PWMD3

Definition at line 1214 of file board.h.

#define PWM_SERVO_3_GPIO   GPIOB

Definition at line 1211 of file board.h.

#define PWM_SERVO_3_PIN   GPIO4

Definition at line 1212 of file board.h.

#define RC_PPM_TICKS_PER_USEC   6

PPM radio defines no ppm inputs used.

Definition at line 1226 of file board.h.

#define SPI_SELECT_SLAVE0_PIN   9

Definition at line 1254 of file board.h.

#define SPI_SELECT_SLAVE0_PORT   GPIOB

SPI Config.

Definition at line 1253 of file board.h.

#define SPI_SELECT_SLAVE1_PIN   1

Definition at line 1257 of file board.h.

#define SPI_SELECT_SLAVE1_PORT   GPIOB

Definition at line 1256 of file board.h.

#define SPI_SELECT_SLAVE2_PIN   12

Definition at line 1260 of file board.h.

#define SPI_SELECT_SLAVE2_PORT   GPIOB

Definition at line 1259 of file board.h.

#define SPI_SELECT_SLAVE3_PIN   3

Definition at line 1263 of file board.h.

#define SPI_SELECT_SLAVE3_PORT   GPIOE

Definition at line 1262 of file board.h.

#define SPI_SELECT_SLAVE4_PIN   2

Definition at line 1266 of file board.h.

#define SPI_SELECT_SLAVE4_PORT   GPIOB

Definition at line 1265 of file board.h.

#define STM32_HSECLK   25000000

Definition at line 40 of file board.h.

#define STM32_LSECLK   0

Definition at line 36 of file board.h.

#define STM32_VDD   330

Definition at line 48 of file board.h.

#define STM32F407xx

Definition at line 53 of file board.h.

#define USE_ADC_1   1

Definition at line 1084 of file board.h.

#define USE_ADC_2   1

Definition at line 1095 of file board.h.

#define USE_ADC_3   1

Definition at line 1106 of file board.h.

#define USE_ADC_4   1

Definition at line 1117 of file board.h.

#define USE_BARO_BOARD   0

SD card TODO: add defines for SD log.

Baro

Apparently needed for backwards compatibility with the ancient onboard baro boards

Definition at line 1280 of file board.h.

#define USE_PWM0   1

Definition at line 1162 of file board.h.

#define USE_PWM1   1

Definition at line 1177 of file board.h.

#define USE_PWM2   1

Definition at line 1192 of file board.h.

#define USE_PWM3   1

Definition at line 1207 of file board.h.

#define VAL_GPIOA_AFRH
Value:
(PIN_AFIO_AF(8, 0) | \
PIN_AFIO_AF(9, 7) | \
PIN_AFIO_AF(10, 7) | \
PIN_AFIO_AF(11, 0) | \
PIN_AFIO_AF(12, 0) | \
PIN_AFIO_AF(13, 0) | \
PIN_AFIO_AF(14, 0) | \
PIN_AFIO_AF(15, 0))
#define PIN_AFIO_AF(n, v)
Definition: board.h:76

Definition at line 186 of file board.h.

#define VAL_GPIOA_AFRL
Value:
(PIN_AFIO_AF(0, 0) | \
PIN_AFIO_AF(1, 0) | \
PIN_AFIO_AF(2, 0) | \
PIN_AFIO_AF(3, 0) | \
PIN_AFIO_AF(4, 0) | \
PIN_AFIO_AF(5, 0) | \
PIN_AFIO_AF(6, 0) | \
#define PIN_AFIO_AF(n, v)
Definition: board.h:76

Definition at line 178 of file board.h.

#define VAL_GPIOA_MODER
#define VAL_GPIOA_ODR
Value:
#define PIN_ODR_HIGH(n)
Definition: board.h:66
#define PIN_ODR_LOW(n)
Definition: board.h:65

Definition at line 162 of file board.h.

#define VAL_GPIOA_OSPEEDR
#define VAL_GPIOB_AFRH
Value:
(PIN_AFIO_AF(8, 0) | \
PIN_AFIO_AF(9, 0) | \
PIN_AFIO_AF(10, 4) | \
PIN_AFIO_AF(11, 4) | \
PIN_AFIO_AF(12, 0) | \
PIN_AFIO_AF(13, 5) | \
PIN_AFIO_AF(14, 5) | \
PIN_AFIO_AF(15, 5))
#define PIN_AFIO_AF(n, v)
Definition: board.h:76

Definition at line 302 of file board.h.

#define VAL_GPIOB_AFRL
Value:
(PIN_AFIO_AF(0, 0) | \
PIN_AFIO_AF(1, 0) | \
PIN_AFIO_AF(2, 0) | \
PIN_AFIO_AF(3, 0) | \
PIN_AFIO_AF(4, 0) | \
PIN_AFIO_AF(5, 9) | \
PIN_AFIO_AF(6, 9) | \
#define PIN_AFIO_AF(n, v)
Definition: board.h:76

Definition at line 294 of file board.h.

#define VAL_GPIOB_MODER
Value:

Definition at line 214 of file board.h.

#define VAL_GPIOB_ODR
Value:
#define PIN_ODR_HIGH(n)
Definition: board.h:66
#define PIN_ODR_LOW(n)
Definition: board.h:65

Definition at line 278 of file board.h.

#define VAL_GPIOB_OSPEEDR
Value:

Definition at line 246 of file board.h.

#define VAL_GPIOC_AFRH
Value:
(PIN_AFIO_AF(8, 0) | \
PIN_AFIO_AF(9, 0) | \
PIN_AFIO_AF(10, 6) | \
PIN_AFIO_AF(11, 6) | \
PIN_AFIO_AF(12, 6) | \
PIN_AFIO_AF(13, 0) | \
PIN_AFIO_AF(14, 0) | \
PIN_AFIO_AF(15, 0))
#define PIN_AFIO_AF(n, v)
Definition: board.h:76

Definition at line 418 of file board.h.

#define VAL_GPIOC_AFRL
Value:
(PIN_AFIO_AF(0, 0) |\
PIN_AFIO_AF(1, 0) | \
PIN_AFIO_AF(2, 0) | \
PIN_AFIO_AF(3, 0) | \
PIN_AFIO_AF(4, 0) | \
PIN_AFIO_AF(5, 0) | \
PIN_AFIO_AF(6, 8) | \
#define PIN_AFIO_AF(n, v)
Definition: board.h:76

Definition at line 410 of file board.h.

#define VAL_GPIOC_MODER
Value:

Definition at line 330 of file board.h.

#define VAL_GPIOC_ODR
Value:
#define PIN_ODR_HIGH(n)
Definition: board.h:66
#define PIN_ODR_LOW(n)
Definition: board.h:65

Definition at line 394 of file board.h.

#define VAL_GPIOC_OSPEEDR
#define VAL_GPIOD_AFRH
Value:
(PIN_AFIO_AF(8, 7) | \
PIN_AFIO_AF(9, 7) | \
PIN_AFIO_AF(10, 0) | \
PIN_AFIO_AF(11, 0) | \
PIN_AFIO_AF(12, 0) | \
PIN_AFIO_AF(13, 0) | \
PIN_AFIO_AF(14, 0) | \
PIN_AFIO_AF(15, 0))
#define PIN_AFIO_AF(n, v)
Definition: board.h:76

Definition at line 534 of file board.h.

#define VAL_GPIOD_AFRL
Value:
(PIN_AFIO_AF(0, 9) | \
PIN_AFIO_AF(1, 9) | \
PIN_AFIO_AF(2, 0) | \
PIN_AFIO_AF(3, 0) | \
PIN_AFIO_AF(4, 0) | \
PIN_AFIO_AF(5, 7) | \
PIN_AFIO_AF(6, 7) | \
#define PIN_AFIO_AF(n, v)
Definition: board.h:76

Definition at line 526 of file board.h.

#define VAL_GPIOD_MODER
Value:

Definition at line 446 of file board.h.

#define VAL_GPIOD_ODR
Value:
#define PIN_ODR_HIGH(n)
Definition: board.h:66
#define PIN_ODR_LOW(n)
Definition: board.h:65

Definition at line 510 of file board.h.

#define VAL_GPIOD_OSPEEDR
Value:

Definition at line 478 of file board.h.

#define VAL_GPIOE_AFRH
Value:
(PIN_AFIO_AF(8, 0) | \
PIN_AFIO_AF(9, 0) | \
PIN_AFIO_AF(10, 0) | \
PIN_AFIO_AF(11, 0) | \
PIN_AFIO_AF(12, 0) | \
PIN_AFIO_AF(13, 0) | \
PIN_AFIO_AF(14, 0) | \
PIN_AFIO_AF(15, 0))
#define PIN_AFIO_AF(n, v)
Definition: board.h:76

Definition at line 650 of file board.h.

#define VAL_GPIOE_AFRL
Value:
(PIN_AFIO_AF(0, 0) | \
PIN_AFIO_AF(1, 0) | \
PIN_AFIO_AF(2, 0) | \
PIN_AFIO_AF(3, 0) | \
PIN_AFIO_AF(4, 0) | \
PIN_AFIO_AF(5, 0) | \
PIN_AFIO_AF(6, 0) | \
#define PIN_AFIO_AF(n, v)
Definition: board.h:76

Definition at line 642 of file board.h.

#define VAL_GPIOE_MODER
Value:

Definition at line 562 of file board.h.

#define VAL_GPIOE_ODR
Value:

Definition at line 626 of file board.h.

#define VAL_GPIOE_OSPEEDR
#define VAL_GPIOF_AFRH
Value:
(PIN_AFIO_AF(8, 0) | \
PIN_AFIO_AF(9, 0) | \
PIN_AFIO_AF(10, 0) | \
PIN_AFIO_AF(11, 0) | \
PIN_AFIO_AF(12, 0) | \
PIN_AFIO_AF(13, 0) | \
PIN_AFIO_AF(14, 0) | \
PIN_AFIO_AF(15, 0))
#define PIN_AFIO_AF(n, v)
Definition: board.h:76

Definition at line 752 of file board.h.

#define VAL_GPIOF_AFRL
Value:
(PIN_AFIO_AF(0, 0) | \
PIN_AFIO_AF(1, 0) | \
PIN_AFIO_AF(2, 0) | \
PIN_AFIO_AF(3, 0) | \
PIN_AFIO_AF(4, 0) | \
PIN_AFIO_AF(5, 0) | \
PIN_AFIO_AF(6, 0) | \
#define PIN_AFIO_AF(n, v)
Definition: board.h:76

Definition at line 744 of file board.h.

#define VAL_GPIOF_MODER
#define VAL_GPIOF_ODR
Value:

Definition at line 728 of file board.h.

#define VAL_GPIOF_OSPEEDR
#define VAL_GPIOG_AFRH
Value:
(PIN_AFIO_AF(8, 0) | \
PIN_AFIO_AF(9, 0) | \
PIN_AFIO_AF(10, 0) | \
PIN_AFIO_AF(11, 0) | \
PIN_AFIO_AF(12, 0) | \
PIN_AFIO_AF(13, 0) | \
PIN_AFIO_AF(14, 0) | \
PIN_AFIO_AF(15, 0))
#define PIN_AFIO_AF(n, v)
Definition: board.h:76

Definition at line 854 of file board.h.

#define VAL_GPIOG_AFRL
Value:
(PIN_AFIO_AF(0, 0) | \
PIN_AFIO_AF(1, 0) | \
PIN_AFIO_AF(2, 0) | \
PIN_AFIO_AF(3, 0) | \
PIN_AFIO_AF(4, 0) | \
PIN_AFIO_AF(5, 0) | \
PIN_AFIO_AF(6, 0) | \
#define PIN_AFIO_AF(n, v)
Definition: board.h:76

Definition at line 846 of file board.h.

#define VAL_GPIOG_MODER
#define VAL_GPIOG_ODR
Value:

Definition at line 830 of file board.h.

#define VAL_GPIOG_OSPEEDR
#define VAL_GPIOH_AFRH
Value:
(PIN_AFIO_AF(8, 0) | \
PIN_AFIO_AF(9, 0) | \
PIN_AFIO_AF(10, 0) | \
PIN_AFIO_AF(11, 0) | \
PIN_AFIO_AF(12, 0) | \
PIN_AFIO_AF(13, 0) | \
PIN_AFIO_AF(14, 0) | \
PIN_AFIO_AF(15, 0))
#define PIN_AFIO_AF(n, v)
Definition: board.h:76

Definition at line 956 of file board.h.

#define VAL_GPIOH_AFRL
Value:
(PIN_AFIO_AF(0, 0) | \
PIN_AFIO_AF(1, 0) | \
PIN_AFIO_AF(2, 0) | \
PIN_AFIO_AF(3, 0) | \
PIN_AFIO_AF(4, 0) | \
PIN_AFIO_AF(5, 0) | \
PIN_AFIO_AF(6, 0) | \
#define PIN_AFIO_AF(n, v)
Definition: board.h:76

Definition at line 948 of file board.h.

#define VAL_GPIOH_MODER
#define VAL_GPIOH_ODR
Value:

Definition at line 932 of file board.h.

#define VAL_GPIOH_OSPEEDR
#define VAL_GPIOI_AFRH
Value:
(PIN_AFIO_AF(8, 0) | \
PIN_AFIO_AF(9, 0) | \
PIN_AFIO_AF(10, 0) | \
PIN_AFIO_AF(11, 0) | \
PIN_AFIO_AF(12, 0) | \
PIN_AFIO_AF(13, 0) | \
PIN_AFIO_AF(14, 0) | \
PIN_AFIO_AF(15, 0))
#define PIN_AFIO_AF(n, v)
Definition: board.h:76

Definition at line 1058 of file board.h.

#define VAL_GPIOI_AFRL
Value:
(PIN_AFIO_AF(0, 0) | \
PIN_AFIO_AF(1, 0) | \
PIN_AFIO_AF(2, 0) | \
PIN_AFIO_AF(3, 0) | \
PIN_AFIO_AF(4, 0) | \
PIN_AFIO_AF(5, 0) | \
PIN_AFIO_AF(6, 0) | \
#define PIN_AFIO_AF(n, v)
Definition: board.h:76

Definition at line 1050 of file board.h.

#define VAL_GPIOI_MODER
#define VAL_GPIOI_ODR
Value:

Definition at line 1034 of file board.h.

#define VAL_GPIOI_OSPEEDR

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.

Definition at line 261 of file board.c.