aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD
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
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')
-rw-r--r--os/hal/ports/STM32/LLD/xWDGv1/wdg_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/xWDGv1/wdg_lld.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/ports/STM32/LLD/xWDGv1/wdg_lld.c b/os/hal/ports/STM32/LLD/xWDGv1/wdg_lld.c
index 9f02347ba..94f2c8569 100644
--- a/os/hal/ports/STM32/LLD/xWDGv1/wdg_lld.c
+++ b/os/hal/ports/STM32/LLD/xWDGv1/wdg_lld.c
@@ -15,7 +15,7 @@
*/
/**
- * @file templates/wdg_lld.c
+ * @file wdg_lld.c
* @brief WDG Driver subsystem low level driver source.
*
* @addtogroup WDG
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;
/**