| M480 BSP V3.05.001 The Board Support Package for M480 Series

wwdt_reg.h
Go to the documentation of this file.
1 /**************************************************************************/
9 #ifndef __WWDT_REG_H__
10 #define __WWDT_REG_H__
11
12 #if defined ( __CC_ARM )
13 #pragma anon_unions
14 #endif
15
26 typedef struct
27 {
28
29
194 __O uint32_t RLDCNT;
195 __IO uint32_t CTL;
196 __IO uint32_t STATUS;
197 __I uint32_t CNT;
199 } WWDT_T;
200
206 #define WWDT_RLDCNT_RLDCNT_Pos (0)
207 #define WWDT_RLDCNT_RLDCNT_Msk (0xfffffffful << WWDT_RLDCNT_RLDCNT_Pos)
209 #define WWDT_CTL_WWDTEN_Pos (0)
210 #define WWDT_CTL_WWDTEN_Msk (0x1ul << WWDT_CTL_WWDTEN_Pos)
212 #define WWDT_CTL_INTEN_Pos (1)
213 #define WWDT_CTL_INTEN_Msk (0x1ul << WWDT_CTL_INTEN_Pos)
215 #define WWDT_CTL_PSCSEL_Pos (8)
216 #define WWDT_CTL_PSCSEL_Msk (0xful << WWDT_CTL_PSCSEL_Pos)
218 #define WWDT_CTL_CMPDAT_Pos (16)
219 #define WWDT_CTL_CMPDAT_Msk (0x3ful << WWDT_CTL_CMPDAT_Pos)
221 #define WWDT_CTL_ICEDEBUG_Pos (31)
222 #define WWDT_CTL_ICEDEBUG_Msk (0x1ul << WWDT_CTL_ICEDEBUG_Pos)
224 #define WWDT_STATUS_WWDTIF_Pos (0)
225 #define WWDT_STATUS_WWDTIF_Msk (0x1ul << WWDT_STATUS_WWDTIF_Pos)
227 #define WWDT_STATUS_WWDTRF_Pos (1)
228 #define WWDT_STATUS_WWDTRF_Msk (0x1ul << WWDT_STATUS_WWDTRF_Pos)
230 #define WWDT_CNT_CNTDAT_Pos (0)
231 #define WWDT_CNT_CNTDAT_Msk (0x3ful << WWDT_CNT_CNTDAT_Pos) /* WWDT_CONST */
234 /* end of WWDT register group */ /* end of REGISTER group */
236
237 #if defined ( __CC_ARM )
238 #pragma no_anon_unions
239 #endif
240
241 #endif /* __WWDT_REG_H__ */
WWDT_T::CTL
__IO uint32_t CTL
Definition: wwdt_reg.h:195
WWDT_T
Definition: wwdt_reg.h:26
WWDT_T::CNT
__I uint32_t CNT
Definition: wwdt_reg.h:197
WWDT_T::STATUS
__IO uint32_t STATUS
Definition: wwdt_reg.h:196
WWDT_T::RLDCNT
__O uint32_t RLDCNT
Definition: wwdt_reg.h:194