EasyManua.ls Logo

ST STM32F31xx - Prescaler and Counter Configuration Functions

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Independent watchdog (IWDG)
UM1581
280/584
DocID023800 Rev 1
IWDG_GetFlagStatus()
14.2.6 Prescaler and counter configuration functions
14.2.6.1 IWDG_WriteAccessCmd
Function Name
void IWDG_WriteAccessCmd ( uint16_t IWDG_WriteAccess)
Function Description
Enables or disables write access to IWDG_PR and IWDG_RLR
registers.
Parameters
IWDG_WriteAccess : new state of write access to
IWDG_PR and IWDG_RLR registers. This parameter can be
one of the following values:
IWDG_WriteAccess_Enable : Enable write access to
IWDG_PR and IWDG_RLR registers
IWDG_WriteAccess_Disable : Disable write access to
IWDG_PR and IWDG_RLR registers
Return values
None.
Notes
None.
14.2.6.2 IWDG_SetPrescaler
Function Name
void IWDG_SetPrescaler ( uint8_t IWDG_Prescaler)
Function Description
Sets IWDG Prescaler value.
Parameters
IWDG_Prescaler : specifies the IWDG Prescaler value. This
parameter can be one of the following values:
IWDG_Prescaler_4 : IWDG prescaler set to 4
IWDG_Prescaler_8 : IWDG prescaler set to 8
IWDG_Prescaler_16 : IWDG prescaler set to 16
IWDG_Prescaler_32 : IWDG prescaler set to 32
IWDG_Prescaler_64 : IWDG prescaler set to 64
IWDG_Prescaler_128 : IWDG prescaler set to 128
IWDG_Prescaler_256 : IWDG prescaler set to 256
Return values
None.
Notes
None.

Table of Contents

Related product manuals