aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/xWDGv1/wdg_lld.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-12-03 15:23:08 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-12-03 15:23:08 +0000
commit8f7c76fbfb89ef83b2918dd38b14710df8e28a50 (patch)
tree9c5be9d92d74ec6085d7b91800a0ae76b89c3a28 /os/hal/ports/STM32/LLD/xWDGv1/wdg_lld.h
parent6f5d6652694e9dd4c1900601cc0af506bc1627d9 (diff)
downloadChibiOS-8f7c76fbfb89ef83b2918dd38b14710df8e28a50.tar.gz
ChibiOS-8f7c76fbfb89ef83b2918dd38b14710df8e28a50.tar.bz2
ChibiOS-8f7c76fbfb89ef83b2918dd38b14710df8e28a50.zip
Added WDG templates.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8559 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD/xWDGv1/wdg_lld.h')
-rw-r--r--os/hal/ports/STM32/LLD/xWDGv1/wdg_lld.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/ports/STM32/LLD/xWDGv1/wdg_lld.h b/os/hal/ports/STM32/LLD/xWDGv1/wdg_lld.h
index f4055b24d..828808d5e 100644
--- a/os/hal/ports/STM32/LLD/xWDGv1/wdg_lld.h
+++ b/os/hal/ports/STM32/LLD/xWDGv1/wdg_lld.h
@@ -118,17 +118,17 @@ typedef struct {
* @brief Configuration of the IWDG_PR register.
* @details See the STM32 reference manual for details.
*/
- uint8_t pr;
+ uint32_t pr;
/**
* @brief Configuration of the IWDG_RLR register.
* @details See the STM32 reference manual for details.
*/
- uint16_t rlr;
+ uint32_t rlr;
/**
* @brief Configuration of the IWDG_WINR register.
* @details See the STM32 reference manual for details.
*/
- uint16_t winr;
+ uint32_t winr;
} WDGConfig;
/**