From 46d9d3c97d843e7b9cb3c2000c7c3efec75867d4 Mon Sep 17 00:00:00 2001 From: marcoveeneman Date: Wed, 6 Apr 2016 21:32:13 +0200 Subject: Tiva. WDG. Added missing declarations for watchdog peripherals. --- os/hal/ports/TIVA/TM4C129x/tm4c129x.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'os/hal/ports/TIVA/TM4C129x') diff --git a/os/hal/ports/TIVA/TM4C129x/tm4c129x.h b/os/hal/ports/TIVA/TM4C129x/tm4c129x.h index 462a14f..63ad0d8 100644 --- a/os/hal/ports/TIVA/TM4C129x/tm4c129x.h +++ b/os/hal/ports/TIVA/TM4C129x/tm4c129x.h @@ -862,7 +862,7 @@ typedef struct __IO uint32_t TEST; /**< Test */ __I uint32_t _RESERVED1[505];/**< Reserved */ __IO uint32_t LOCK; /**< Lock */ -} WATCHDOG_TypeDef; +} WDG_TypeDef; /** * @brief Ethernet peripheral @@ -1080,6 +1080,8 @@ typedef struct { #define GPT5 ((GPT_TypeDef *) GPT5_BASE) #define GPT6 ((GPT_TypeDef *) GPT6_BASE) #define GPT7 ((GPT_TypeDef *) GPT7_BASE) +#define WDT0 ((WDT_TypeDef *) WDT0_BASE) +#define WDT1 ((WDT_TypeDef *) WDT1_BASE) #define ADC0 ((ADC_TypeDef*) ADC0_BASE) #define ADC1 ((ADC_TypeDef*) ADC1_BASE) #define UART0 ((UART_TypeDef *) UART0_BASE) -- cgit v1.2.3