no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
stm32_gpio.h
Go to the documentation of this file.
1/***************************************************************************/
33#ifndef STM32_GPIO_H_
34#define STM32_GPIO_H_
35
36#include <stdint.h>
37#include <stdbool.h>
38#include "stm32_hal.h"
39
46 uint32_t mode;
48 uint32_t speed;
50 uint32_t alternate;
51};
52
59 GPIO_TypeDef *port;
61 GPIO_InitTypeDef gpio_config;
62};
63
67extern const struct no_os_gpio_platform_ops stm32_gpio_ops;
68
69#endif
const struct no_os_gpio_platform_ops stm32_gpio_ops
stm32 platform specific GPIO platform ops structure
Definition stm32_gpio.c:385
Structure holding gpio function pointers that point to the platform specific function.
Definition no_os_gpio.h:115
stm32 platform specific gpio descriptor
Definition stm32_gpio.h:57
GPIO_TypeDef * port
Definition stm32_gpio.h:59
GPIO_InitTypeDef gpio_config
Definition stm32_gpio.h:61
Structure holding the initialization parameters for stm32 platform.
Definition stm32_gpio.h:44
uint32_t mode
Definition stm32_gpio.h:46
uint32_t alternate
Definition stm32_gpio.h:50
uint32_t speed
Definition stm32_gpio.h:48