my fork
Fork of mbed by
Diff: TARGET_NUCLEO_F401RE/stm32f4xx_hal_wwdg.h
- Revision:
- 85:024bf7f99721
- Parent:
- 81:7d30d6019079
- Child:
- 90:cb3d968589d8
diff -r 0b3ab51c8877 -r 024bf7f99721 TARGET_NUCLEO_F401RE/stm32f4xx_hal_wwdg.h --- a/TARGET_NUCLEO_F401RE/stm32f4xx_hal_wwdg.h Mon May 19 18:14:09 2014 +0100 +++ b/TARGET_NUCLEO_F401RE/stm32f4xx_hal_wwdg.h Wed Jun 11 15:14:05 2014 +0100 @@ -2,8 +2,8 @@ ****************************************************************************** * @file stm32f4xx_hal_wwdg.h * @author MCD Application Team - * @version V1.0.0 - * @date 18-February-2014 + * @version V1.1.0RC2 + * @date 14-May-2014 * @brief Header file of WWDG HAL module. ****************************************************************************** * @attention @@ -74,13 +74,13 @@ */ typedef struct { - uint32_t Prescaler; /*!< Specifies the prescaler value of the WWDG. + uint32_t Prescaler; /*!< Specifies the prescaler. This parameter can be a value of @ref WWDG_Prescaler */ uint32_t Window; /*!< Specifies the WWDG window value to be compared to the downcounter. This parameter must be a number lower than Max_Data = 0x80 */ - uint32_t Counter; /*!< Specifies the WWDG free-running downcounter value. + uint32_t Counter; /*!< Specifies the WWDG free-running downcounter value. This parameter must be a number between Min_Data = 0x40 and Max_Data = 0x7F */ }WWDG_InitTypeDef; @@ -102,10 +102,6 @@ /* Exported constants --------------------------------------------------------*/ -/** @defgroup WWDG_Exported_Constants - * @{ - */ - /** @defgroup WWDG_BitAddress_AliasRegion * @{ */ @@ -140,7 +136,7 @@ /** * @} */ - + /** @defgroup WWDG_Prescaler * @{ */ @@ -152,7 +148,7 @@ #define IS_WWDG_PRESCALER(PRESCALER) (((PRESCALER) == WWDG_PRESCALER_1) || \ ((PRESCALER) == WWDG_PRESCALER_2) || \ ((PRESCALER) == WWDG_PRESCALER_4) || \ - ((PRESCALER) == WWDG_PRESCALER_8)) + ((PRESCALER) == WWDG_PRESCALER_8)) /** * @} @@ -176,11 +172,13 @@ * @} */ -/** - * @} +/* Exported macro ------------------------------------------------------------*/ + +/** @brief Reset WWDG handle state + * @param __HANDLE__: WWDG handle + * @retval None */ - -/* Exported macro ------------------------------------------------------------*/ +#define __HAL_WWDG_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_WWDG_STATE_RESET) /** * @brief Enables the WWDG peripheral. @@ -216,7 +214,6 @@ */ #define __HAL_WWDG_ENABLE_IT(__INTERRUPT__) (*(__IO uint32_t *) CFR_BASE |= (__INTERRUPT__)) - /* Exported functions --------------------------------------------------------*/ /* Initialization/de-initialization functions **********************************/