diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-12-03 15:23:08 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-12-03 15:23:08 +0000 |
commit | 8f7c76fbfb89ef83b2918dd38b14710df8e28a50 (patch) | |
tree | 9c5be9d92d74ec6085d7b91800a0ae76b89c3a28 /os/hal/ports/STM32/LLD | |
parent | 6f5d6652694e9dd4c1900601cc0af506bc1627d9 (diff) | |
download | ChibiOS-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.c | 2 | ||||
-rw-r--r-- | os/hal/ports/STM32/LLD/xWDGv1/wdg_lld.h | 6 |
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;
/**
|