Functions
Collaboration diagram for WWDG_Exported_Functions:

Functions

void WWDG_ClearFlag (void)
 Clears Early Wakeup interrupt flag. More...
 
void WWDG_DeInit (void)
 Deinitializes the WWDG peripheral registers to their default reset values. More...
 
void WWDG_Enable (uint8_t Counter)
 Enables WWDG and load the counter value. More...
 
void WWDG_EnableIT (void)
 Enables the WWDG Early Wakeup interrupt(EWI). More...
 
FlagStatus WWDG_GetFlagStatus (void)
 Checks whether the Early Wakeup interrupt flag is set or not. More...
 
void WWDG_SetCounter (uint8_t Counter)
 Sets the WWDG counter value. More...
 
void WWDG_SetPrescaler (uint32_t WWDG_Prescaler)
 Sets the WWDG Prescaler. More...
 
void WWDG_SetWindowValue (uint8_t WindowValue)
 Sets the WWDG window value. More...
 

Detailed Description

Function Documentation

void WWDG_ClearFlag ( void  )

Clears Early Wakeup interrupt flag.

Parameters
None
Return values
None

Definition at line 286 of file stm32f4xx_wwdg.c.

void WWDG_DeInit ( void  )

Deinitializes the WWDG peripheral registers to their default reset values.

Parameters
None
Return values
None

Definition at line 138 of file stm32f4xx_wwdg.c.

void WWDG_Enable ( uint8_t  Counter)

Enables WWDG and load the counter value.

Parameters
Counterspecifies the watchdog counter value. This parameter must be a number between 0x40 and 0x7F (to prevent generating an immediate reset)
Return values
None
Parameters
Counterspecifies the watchdog counter value. This parameter must be a number between 0x40 and 0x7F (to prevent generating an immediate reset).
Return values
None
Parameters
Counterspecifies the watchdog counter value. This parameter must be a number between 0x40 and 0x7F.
Return values
None

Definition at line 239 of file stm32f4xx_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
Parameters
None
Return values
None

Definition at line 196 of file stm32f4xx_wwdg.c.

FlagStatus WWDG_GetFlagStatus ( void  )

Checks whether the Early Wakeup interrupt flag is set or not.

Parameters
None
Return values
Thenew state of the Early Wakeup interrupt flag (SET or RESET)
Parameters
None
Return values
Thenew state of the Early Wakeup interrupt flag (SET or RESET).
Parameters
None
Return values
Thenew state of the Early Wakeup interrupt flag (SET or RESET)

Definition at line 266 of file stm32f4xx_wwdg.c.

void WWDG_SetCounter ( uint8_t  Counter)

Sets the WWDG counter value.

Parameters
Counterspecifies the watchdog counter value. This parameter must be a number between 0x40 and 0x7F (to prevent generating an immediate reset)
Return values
None
Parameters
Counterspecifies the watchdog counter value. This parameter must be a number between 0x40 and 0x7F (to prevent generating an immediate reset).
Return values
None
Parameters
Counterspecifies the watchdog counter value. This parameter must be a number between 0x40 and 0x7F.
Return values
None

Definition at line 208 of file stm32f4xx_wwdg.c.

void WWDG_SetPrescaler ( uint32_t  WWDG_Prescaler)

Sets the WWDG Prescaler.

Parameters
WWDG_Prescalerspecifies 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 154 of file stm32f4xx_wwdg.c.

void WWDG_SetWindowValue ( uint8_t  WindowValue)

Sets the WWDG window value.

Parameters
WindowValuespecifies the window value to be compared to the downcounter. This parameter value must be lower than 0x80.
Return values
None

Definition at line 173 of file stm32f4xx_wwdg.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:07:56