RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Macros
Watchdog control register (WDOGCTRL)

This group contains register bit definitions. More...

Macros

#define IRQAMP_WDOGCTRL_NWDOG_SHIFT   27
 
#define IRQAMP_WDOGCTRL_NWDOG_MASK   0xf8000000U
 
#define IRQAMP_WDOGCTRL_NWDOG_GET(_reg)
 
#define IRQAMP_WDOGCTRL_NWDOG_SET(_reg, _val)
 
#define IRQAMP_WDOGCTRL_NWDOG(_val)
 
#define IRQAMP_WDOGCTRL_WDOGIRQ_SHIFT   16
 
#define IRQAMP_WDOGCTRL_WDOGIRQ_MASK   0xf0000U
 
#define IRQAMP_WDOGCTRL_WDOGIRQ_GET(_reg)
 
#define IRQAMP_WDOGCTRL_WDOGIRQ_SET(_reg, _val)
 
#define IRQAMP_WDOGCTRL_WDOGIRQ(_val)
 
#define IRQAMP_WDOGCTRL_WDOGMSK_SHIFT   0
 
#define IRQAMP_WDOGCTRL_WDOGMSK_MASK   0xfU
 
#define IRQAMP_WDOGCTRL_WDOGMSK_GET(_reg)
 
#define IRQAMP_WDOGCTRL_WDOGMSK_SET(_reg, _val)
 
#define IRQAMP_WDOGCTRL_WDOGMSK(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ IRQAMP_WDOGCTRL_NWDOG

#define IRQAMP_WDOGCTRL_NWDOG (   _val)
Value:
( ( ( _val ) << IRQAMP_WDOGCTRL_NWDOG_SHIFT ) & \
IRQAMP_WDOGCTRL_NWDOG_MASK )

◆ IRQAMP_WDOGCTRL_NWDOG_GET

#define IRQAMP_WDOGCTRL_NWDOG_GET (   _reg)
Value:
( ( ( _reg ) & IRQAMP_WDOGCTRL_NWDOG_MASK ) >> \
IRQAMP_WDOGCTRL_NWDOG_SHIFT )

◆ IRQAMP_WDOGCTRL_NWDOG_SET

#define IRQAMP_WDOGCTRL_NWDOG_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~IRQAMP_WDOGCTRL_NWDOG_MASK ) | \
( ( ( _val ) << IRQAMP_WDOGCTRL_NWDOG_SHIFT ) & \
IRQAMP_WDOGCTRL_NWDOG_MASK ) )

◆ IRQAMP_WDOGCTRL_WDOGIRQ

#define IRQAMP_WDOGCTRL_WDOGIRQ (   _val)
Value:
( ( ( _val ) << IRQAMP_WDOGCTRL_WDOGIRQ_SHIFT ) & \
IRQAMP_WDOGCTRL_WDOGIRQ_MASK )

◆ IRQAMP_WDOGCTRL_WDOGIRQ_GET

#define IRQAMP_WDOGCTRL_WDOGIRQ_GET (   _reg)
Value:
( ( ( _reg ) & IRQAMP_WDOGCTRL_WDOGIRQ_MASK ) >> \
IRQAMP_WDOGCTRL_WDOGIRQ_SHIFT )

◆ IRQAMP_WDOGCTRL_WDOGIRQ_SET

#define IRQAMP_WDOGCTRL_WDOGIRQ_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~IRQAMP_WDOGCTRL_WDOGIRQ_MASK ) | \
( ( ( _val ) << IRQAMP_WDOGCTRL_WDOGIRQ_SHIFT ) & \
IRQAMP_WDOGCTRL_WDOGIRQ_MASK ) )

◆ IRQAMP_WDOGCTRL_WDOGMSK

#define IRQAMP_WDOGCTRL_WDOGMSK (   _val)
Value:
( ( ( _val ) << IRQAMP_WDOGCTRL_WDOGMSK_SHIFT ) & \
IRQAMP_WDOGCTRL_WDOGMSK_MASK )

◆ IRQAMP_WDOGCTRL_WDOGMSK_GET

#define IRQAMP_WDOGCTRL_WDOGMSK_GET (   _reg)
Value:
( ( ( _reg ) & IRQAMP_WDOGCTRL_WDOGMSK_MASK ) >> \
IRQAMP_WDOGCTRL_WDOGMSK_SHIFT )

◆ IRQAMP_WDOGCTRL_WDOGMSK_SET

#define IRQAMP_WDOGCTRL_WDOGMSK_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~IRQAMP_WDOGCTRL_WDOGMSK_MASK ) | \
( ( ( _val ) << IRQAMP_WDOGCTRL_WDOGMSK_SHIFT ) & \
IRQAMP_WDOGCTRL_WDOGMSK_MASK ) )