IO support.  
More...
#include <stdbool.h>
#include <stdint.h>
#include <bspopts.h>
Go to the source code of this file.
 | 
| 
#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) | 
|   | 
 | 
| 
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) | 
|   | 
 | 
| 
const stm32f4_gpio_config  | stm32f4_start_config_gpio [] | 
|   |