EFM32 Wonder Gecko Software Documentation  efm32wg-doc-5.1.2
efm32wg_wdog.h File Reference

Detailed Description

EFM32WG_WDOG register and bit field definitions.

Version
5.1.2

License

Copyright 2017 Silicon Laboratories, Inc. http://www.silabs.com

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software.
  2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.

DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. has no obligation to support this Software. Silicon Laboratories, Inc. is providing the Software "AS IS", with no express or implied warranties of any kind, including, but not limited to, any implied warranties of merchantability or fitness for any particular purpose or warranties against infringement of any proprietary rights of a third party.

Silicon Laboratories, Inc. will not be liable for any consequential, incidental, or special damages, or any other relief, or for any claim by any third party, arising from your use of this Software.

Definition in file efm32wg_wdog.h.

Go to the source code of this file.

Data Structures

struct  WDOG_TypeDef
 

Macros

#define _WDOG_CMD_CLEAR_CLEARED   0x00000001UL
 
#define _WDOG_CMD_CLEAR_DEFAULT   0x00000000UL
 
#define _WDOG_CMD_CLEAR_MASK   0x1UL
 
#define _WDOG_CMD_CLEAR_SHIFT   0
 
#define _WDOG_CMD_CLEAR_UNCHANGED   0x00000000UL
 
#define _WDOG_CMD_MASK   0x00000001UL
 
#define _WDOG_CMD_RESETVALUE   0x00000000UL
 
#define _WDOG_CTRL_CLKSEL_DEFAULT   0x00000000UL
 
#define _WDOG_CTRL_CLKSEL_LFRCO   0x00000001UL
 
#define _WDOG_CTRL_CLKSEL_LFXO   0x00000002UL
 
#define _WDOG_CTRL_CLKSEL_MASK   0x3000UL
 
#define _WDOG_CTRL_CLKSEL_SHIFT   12
 
#define _WDOG_CTRL_CLKSEL_ULFRCO   0x00000000UL
 
#define _WDOG_CTRL_DEBUGRUN_DEFAULT   0x00000000UL
 
#define _WDOG_CTRL_DEBUGRUN_MASK   0x2UL
 
#define _WDOG_CTRL_DEBUGRUN_SHIFT   1
 
#define _WDOG_CTRL_EM2RUN_DEFAULT   0x00000000UL
 
#define _WDOG_CTRL_EM2RUN_MASK   0x4UL
 
#define _WDOG_CTRL_EM2RUN_SHIFT   2
 
#define _WDOG_CTRL_EM3RUN_DEFAULT   0x00000000UL
 
#define _WDOG_CTRL_EM3RUN_MASK   0x8UL
 
#define _WDOG_CTRL_EM3RUN_SHIFT   3
 
#define _WDOG_CTRL_EM4BLOCK_DEFAULT   0x00000000UL
 
#define _WDOG_CTRL_EM4BLOCK_MASK   0x20UL
 
#define _WDOG_CTRL_EM4BLOCK_SHIFT   5
 
#define _WDOG_CTRL_EN_DEFAULT   0x00000000UL
 
#define _WDOG_CTRL_EN_MASK   0x1UL
 
#define _WDOG_CTRL_EN_SHIFT   0
 
#define _WDOG_CTRL_LOCK_DEFAULT   0x00000000UL
 
#define _WDOG_CTRL_LOCK_MASK   0x10UL
 
#define _WDOG_CTRL_LOCK_SHIFT   4
 
#define _WDOG_CTRL_MASK   0x00003F7FUL
 
#define _WDOG_CTRL_PERSEL_DEFAULT   0x0000000FUL
 
#define _WDOG_CTRL_PERSEL_MASK   0xF00UL
 
#define _WDOG_CTRL_PERSEL_SHIFT   8
 
#define _WDOG_CTRL_RESETVALUE   0x00000F00UL
 
#define _WDOG_CTRL_SWOSCBLOCK_DEFAULT   0x00000000UL
 
#define _WDOG_CTRL_SWOSCBLOCK_MASK   0x40UL
 
#define _WDOG_CTRL_SWOSCBLOCK_SHIFT   6
 
#define _WDOG_SYNCBUSY_CMD_DEFAULT   0x00000000UL
 
#define _WDOG_SYNCBUSY_CMD_MASK   0x2UL
 
#define _WDOG_SYNCBUSY_CMD_SHIFT   1
 
#define _WDOG_SYNCBUSY_CTRL_DEFAULT   0x00000000UL
 
#define _WDOG_SYNCBUSY_CTRL_MASK   0x1UL
 
#define _WDOG_SYNCBUSY_CTRL_SHIFT   0
 
#define _WDOG_SYNCBUSY_MASK   0x00000003UL
 
#define _WDOG_SYNCBUSY_RESETVALUE   0x00000000UL
 
#define WDOG_CMD_CLEAR   (0x1UL << 0)
 
#define WDOG_CMD_CLEAR_CLEARED   (_WDOG_CMD_CLEAR_CLEARED << 0)
 
#define WDOG_CMD_CLEAR_DEFAULT   (_WDOG_CMD_CLEAR_DEFAULT << 0)
 
#define WDOG_CMD_CLEAR_UNCHANGED   (_WDOG_CMD_CLEAR_UNCHANGED << 0)
 
#define WDOG_CTRL_CLKSEL_DEFAULT   (_WDOG_CTRL_CLKSEL_DEFAULT << 12)
 
#define WDOG_CTRL_CLKSEL_LFRCO   (_WDOG_CTRL_CLKSEL_LFRCO << 12)
 
#define WDOG_CTRL_CLKSEL_LFXO   (_WDOG_CTRL_CLKSEL_LFXO << 12)
 
#define WDOG_CTRL_CLKSEL_ULFRCO   (_WDOG_CTRL_CLKSEL_ULFRCO << 12)
 
#define WDOG_CTRL_DEBUGRUN   (0x1UL << 1)
 
#define WDOG_CTRL_DEBUGRUN_DEFAULT   (_WDOG_CTRL_DEBUGRUN_DEFAULT << 1)
 
#define WDOG_CTRL_EM2RUN   (0x1UL << 2)
 
#define WDOG_CTRL_EM2RUN_DEFAULT   (_WDOG_CTRL_EM2RUN_DEFAULT << 2)
 
#define WDOG_CTRL_EM3RUN   (0x1UL << 3)
 
#define WDOG_CTRL_EM3RUN_DEFAULT   (_WDOG_CTRL_EM3RUN_DEFAULT << 3)
 
#define WDOG_CTRL_EM4BLOCK   (0x1UL << 5)
 
#define WDOG_CTRL_EM4BLOCK_DEFAULT   (_WDOG_CTRL_EM4BLOCK_DEFAULT << 5)
 
#define WDOG_CTRL_EN   (0x1UL << 0)
 
#define WDOG_CTRL_EN_DEFAULT   (_WDOG_CTRL_EN_DEFAULT << 0)
 
#define WDOG_CTRL_LOCK   (0x1UL << 4)
 
#define WDOG_CTRL_LOCK_DEFAULT   (_WDOG_CTRL_LOCK_DEFAULT << 4)
 
#define WDOG_CTRL_PERSEL_DEFAULT   (_WDOG_CTRL_PERSEL_DEFAULT << 8)
 
#define WDOG_CTRL_SWOSCBLOCK   (0x1UL << 6)
 
#define WDOG_CTRL_SWOSCBLOCK_DEFAULT   (_WDOG_CTRL_SWOSCBLOCK_DEFAULT << 6)
 
#define WDOG_SYNCBUSY_CMD   (0x1UL << 1)
 
#define WDOG_SYNCBUSY_CMD_DEFAULT   (_WDOG_SYNCBUSY_CMD_DEFAULT << 1)
 
#define WDOG_SYNCBUSY_CTRL   (0x1UL << 0)
 
#define WDOG_SYNCBUSY_CTRL_DEFAULT   (_WDOG_SYNCBUSY_CTRL_DEFAULT << 0)