Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Space_Invaders_Demo neopixels gpio_test_stm32f3_discovery gpio_test_systimer ... more
Prescaler, Refresh window and Counter configuration functions
[WWDG_Private_Functions]
Prescaler, Refresh window and Counter configuration functions. More...
Functions | |
void | WWDG_DeInit (void) |
Deinitializes the WWDG peripheral registers to their default reset values. | |
void | WWDG_SetPrescaler (uint32_t WWDG_Prescaler) |
Sets the WWDG Prescaler. | |
void | WWDG_SetWindowValue (uint8_t WindowValue) |
Sets the WWDG window value. | |
void | WWDG_EnableIT (void) |
Enables the WWDG Early Wakeup interrupt(EWI). | |
void | WWDG_SetCounter (uint8_t Counter) |
Sets the WWDG counter value. |
Detailed Description
Prescaler, Refresh window and Counter configuration functions.
============================================================================== ##### Prescaler, Refresh window and Counter configuration functions ##### ==============================================================================
Function Documentation
void WWDG_DeInit | ( | void | ) |
Deinitializes the WWDG peripheral registers to their default reset values.
- Parameters:
-
None
- Return values:
-
None
Definition at line 133 of file stm32f30x_wwdg.c.
void WWDG_EnableIT | ( | void | ) |
Enables the WWDG Early Wakeup interrupt(EWI).
- Note:
- Once enabled this interrupt cannot be disabled except by a system reset.
- Parameters:
-
None
- Return values:
-
None
Definition at line 191 of file stm32f30x_wwdg.c.
void WWDG_SetCounter | ( | uint8_t | Counter ) |
Sets the WWDG counter value.
- Parameters:
-
Counter,: specifies the watchdog counter value. This parameter must be a number between 0x40 and 0x7F (to prevent generating an immediate reset).
- Return values:
-
None
Definition at line 203 of file stm32f30x_wwdg.c.
void WWDG_SetPrescaler | ( | uint32_t | WWDG_Prescaler ) |
Sets the WWDG Prescaler.
- Parameters:
-
WWDG_Prescaler,: specifies the WWDG Prescaler. This parameter can be one of the following values: - WWDG_Prescaler_1: WWDG counter clock = (PCLK1/4096)/1
- WWDG_Prescaler_2: WWDG counter clock = (PCLK1/4096)/2
- WWDG_Prescaler_4: WWDG counter clock = (PCLK1/4096)/4
- WWDG_Prescaler_8: WWDG counter clock = (PCLK1/4096)/8
- Return values:
-
None
Definition at line 149 of file stm32f30x_wwdg.c.
void WWDG_SetWindowValue | ( | uint8_t | WindowValue ) |
Sets the WWDG window value.
- Parameters:
-
WindowValue,: specifies the window value to be compared to the downcounter. This parameter value must be lower than 0x80.
- Return values:
-
None
Definition at line 168 of file stm32f30x_wwdg.c.
Generated on Tue Jul 12 2022 17:34:46 by
