EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 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
Page #1298 background imageLoading...
Page #1298 background image
LL WWDG Generic Driver
UM1940
1298/1371
DocID028236 Rev 2
becomes cleared) Setting the counter lower then 0x40 causes
an immediate reset (if WWDG enabled)
Reference Manual to
LL API cross
reference:
CR T LL_WWDG_SetCounter
LL_WWDG_GetCounter
Function name
__STATIC_INLINE uint32_t LL_WWDG_GetCounter
(WWDG_TypeDef * WWDGx)
Function description
Return current Watchdog Counter Value (7 bits counter value)
Parameters
WWDGx: WWDG Instance
Return values
7: bit Watchdog Counter value
Reference Manual to
LL API cross
reference:
CR T LL_WWDG_GetCounter
LL_WWDG_SetPrescaler
Function name
__STATIC_INLINE void LL_WWDG_SetPrescaler
(WWDG_TypeDef * WWDGx, uint32_t Prescaler)
Function description
Set the time base of the prescaler (WDGTB).
Parameters
WWDGx: WWDG Instance
Prescaler: This parameter can be one of the following
values:
LL_WWDG_PRESCALER_1
LL_WWDG_PRESCALER_2
LL_WWDG_PRESCALER_4
LL_WWDG_PRESCALER_8
Return values
None:
Notes
Prescaler is used to apply ratio on PCLK clock, so that
Watchdog counter is decremented every (4096 x
2expWDGTB) PCLK cycles
Reference Manual to
LL API cross
reference:
CFR WDGTB LL_WWDG_SetPrescaler
LL_WWDG_GetPrescaler
Function name
__STATIC_INLINE uint32_t LL_WWDG_GetPrescaler
(WWDG_TypeDef * WWDGx)
Function description
Return current Watchdog Prescaler Value.
Parameters
WWDGx: WWDG Instance
Return values
Returned: value can be one of the following values:
LL_WWDG_PRESCALER_1
LL_WWDG_PRESCALER_2
LL_WWDG_PRESCALER_4

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals