More Kconfig files

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4624 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-04-17 13:48:39 +00:00
parent 5dd35e83ca
commit d4362cc3aa
6 changed files with 316 additions and 4 deletions
+5 -2
View File
@@ -292,12 +292,15 @@ static inline void stm32_setprescaler(FAR struct stm32_lowerhalf_s *priv)
stm32_putreg(IWDG_KR_KEY_ENABLE, STM32_IWDG_KR);
/* Wait for the PVU anrd RVU bit to be reset be hardware. These bits
/* Wait for the PVU and RVU bits to be reset be hardware. These bits
* were set the last time that the PR register was written and may not
* yet be cleared.
*
* If the setup is only permitted one time, then this wait should not
* be necessary.
*/
#ifdef CONFIG_STM32_IWDG_DEFERREDSETUP
#ifndef CONFIG_STM32_IWDG_ONETIMESETUP
while ((stm32_getreg(STM32_IWDG_SR) & (IWDG_SR_PVU|IWDG_SR_RVU)) != 0);
#endif