RTEMS: bsps/arm/stm32f4/include/bsp/io.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Macros | Functions | Variables
io.h File Reference
Board Support Packages » ARM » STM32F4 » IO Support

IO support. More...

`#include <stdbool.h>`
`#include <stdint.h>`
`#include <bspopts.h>`

Go to the source code of this file.

## Macros
#define | STM32F4_GPIO_PIN(port, index) ((((port) << 4) | (index)) & 0xff)
#define | STM32F4_GPIO_PORT_OF_PIN(pin) (((pin) >> 4) & 0xf)
#define | STM32F4_GPIO_INDEX_OF_PIN(pin) ((pin) & 0xf)

## Functions
void | stm32f4_gpio_set_clock (int pin, bool set)
void | stm32f4_gpio_set_config (const stm32f4_gpio_config *config)
void | stm32f4_gpio_set_config_array (const stm32f4_gpio_config *configs)
| Sets the GPIO configuration of an array terminated by STM32F4_GPIO_CONFIG_TERMINAL.
void | stm32f4_gpio_set_output (int pin, bool set)
bool | stm32f4_gpio_get_input (int pin)

## Variables
const stm32f4_gpio_config | stm32f4_start_config_gpio []

## Detailed Description

IO support.