my fork
Fork of mbed by
Diff: TARGET_NUCLEO_F334R8/stm32f3xx_hal_gpio.h
- Revision:
- 92:4fc01daae5a5
- Parent:
- 86:04dd9b1680ae
diff -r 031413cf7a89 -r 4fc01daae5a5 TARGET_NUCLEO_F334R8/stm32f3xx_hal_gpio.h --- a/TARGET_NUCLEO_F334R8/stm32f3xx_hal_gpio.h Wed Oct 29 11:02:04 2014 +0000 +++ b/TARGET_NUCLEO_F334R8/stm32f3xx_hal_gpio.h Thu Nov 27 13:33:22 2014 +0000 @@ -2,8 +2,8 @@ ****************************************************************************** * @file stm32f3xx_hal_gpio.h * @author MCD Application Team - * @version V1.0.1 - * @date 18-June-2014 + * @version V1.1.0 + * @date 12-Sept-2014 * @brief Header file of GPIO HAL module. ****************************************************************************** * @attention @@ -50,11 +50,14 @@ * @{ */ -/** @addtogroup GPIO +/** @addtogroup GPIO GPIO HAL module driver * @{ */ /* Exported types ------------------------------------------------------------*/ +/** @defgroup GPIO_Exported_Types GPIO Exported Types + * @{ + */ /** * @brief GPIO Init structure definition @@ -87,13 +90,16 @@ }GPIO_PinState; #define IS_GPIO_PIN_ACTION(ACTION) (((ACTION) == GPIO_PIN_RESET) || ((ACTION) == GPIO_PIN_SET)) -/* Exported constants --------------------------------------------------------*/ +/** + * @} + */ -/** @defgroup GPIO_Exported_Constants GPIO_Exported_Constants +/* Exported constants --------------------------------------------------------*/ +/** @defgroup GPIO_Exported_Constants GPIO Exported Constants * @{ */ -/** @defgroup GPIO_pins_define GPIO_pins_define +/** @defgroup GPIO_pins_define GPIO pins define * @{ */ #define GPIO_PIN_0 ((uint16_t)0x0001) /* Pin 0 selected */ @@ -121,7 +127,7 @@ * @} */ -/** @defgroup GPIO_mode_define GPIO_mode_define +/** @defgroup GPIO_mode_define GPIO mode define * @brief GPIO Configuration Mode * Elements values convention: 0xX0yz00YZ * - X : GPIO mode or EXTI Mode @@ -164,7 +170,7 @@ * @} */ -/** @defgroup GPIO_speed_define GPIO_speed_define +/** @defgroup GPIO_speed_define GPIO speed define * @brief GPIO Output Maximum frequency * @{ */ @@ -178,7 +184,7 @@ * @} */ - /** @defgroup GPIO_pull_define GPIO_pull_define + /** @defgroup GPIO_pull_define GPIO pull define * @brief GPIO Pull-Up or Pull-Down Activation * @{ */ @@ -196,7 +202,10 @@ * @} */ -/* Exported macro ------------------------------------------------------------*/ +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup GPIO_Exported_Macros GPIO Exported Macros + * @{ + */ /** * @brief Checks whether the specified EXTI line flag is set or not. @@ -238,14 +247,32 @@ */ #define __HAL_GPIO_EXTI_GENERATE_SWIT(__EXTI_LINE__) (EXTI->SWIER |= (__EXTI_LINE__)) -/* Include GPIO HAL Extension module */ +/** + * @} + */ + +/* Include GPIO HAL Extended module */ #include "stm32f3xx_hal_gpio_ex.h" /* Exported functions --------------------------------------------------------*/ +/** @addtogroup GPIO_Exported_Functions GPIO Exported Functions +* @{ +*/ + +/** @addtogroup GPIO_Exported_Functions_Group1 Initialization and de-initialization functions +* @{ +*/ /* Initialization and de-initialization functions *****************************/ void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init); void HAL_GPIO_DeInit(GPIO_TypeDef *GPIOx, uint32_t GPIO_Pin); +/** + * @} + */ + +/** @addtogroup GPIO_Exported_Functions_Group2 Input and Output operation functions +* @{ +*/ /* IO operation functions *****************************************************/ GPIO_PinState HAL_GPIO_ReadPin(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin); void HAL_GPIO_WritePin(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin, GPIO_PinState PinState); @@ -256,6 +283,14 @@ /** * @} + */ + +/** + * @} + */ + +/** + * @} */ /**