RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros
GR1553B RT Config register (RTC)

This group contains register bit definitions. More...

Macros

#define GR1553B_RTC_RTKEY_SHIFT   16
 
#define GR1553B_RTC_RTKEY_MASK   0xffff0000U
 
#define GR1553B_RTC_RTKEY_GET(_reg)
 
#define GR1553B_RTC_RTKEY_SET(_reg, _val)
 
#define GR1553B_RTC_RTKEY(_val)
 
#define GR1553B_RTC_SYS   0x8000U
 
#define GR1553B_RTC_SYDS   0x4000U
 
#define GR1553B_RTC_BRS   0x2000U
 
#define GR1553B_RTC_RTEIS   0x40U
 
#define GR1553B_RTC_RTADDR_SHIFT   1
 
#define GR1553B_RTC_RTADDR_MASK   0x3eU
 
#define GR1553B_RTC_RTADDR_GET(_reg)
 
#define GR1553B_RTC_RTADDR_SET(_reg, _val)
 
#define GR1553B_RTC_RTADDR(_val)
 
#define GR1553B_RTC_RTEN   0x1U
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GR1553B_RTC_RTADDR

#define GR1553B_RTC_RTADDR (   _val)
Value:
( ( ( _val ) << GR1553B_RTC_RTADDR_SHIFT ) & \
GR1553B_RTC_RTADDR_MASK )

◆ GR1553B_RTC_RTADDR_GET

#define GR1553B_RTC_RTADDR_GET (   _reg)
Value:
( ( ( _reg ) & GR1553B_RTC_RTADDR_MASK ) >> \
GR1553B_RTC_RTADDR_SHIFT )

◆ GR1553B_RTC_RTADDR_SET

#define GR1553B_RTC_RTADDR_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GR1553B_RTC_RTADDR_MASK ) | \
( ( ( _val ) << GR1553B_RTC_RTADDR_SHIFT ) & \
GR1553B_RTC_RTADDR_MASK ) )

◆ GR1553B_RTC_RTKEY

#define GR1553B_RTC_RTKEY (   _val)
Value:
( ( ( _val ) << GR1553B_RTC_RTKEY_SHIFT ) & \
GR1553B_RTC_RTKEY_MASK )

◆ GR1553B_RTC_RTKEY_GET

#define GR1553B_RTC_RTKEY_GET (   _reg)
Value:
( ( ( _reg ) & GR1553B_RTC_RTKEY_MASK ) >> \
GR1553B_RTC_RTKEY_SHIFT )

◆ GR1553B_RTC_RTKEY_SET

#define GR1553B_RTC_RTKEY_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GR1553B_RTC_RTKEY_MASK ) | \
( ( ( _val ) << GR1553B_RTC_RTKEY_SHIFT ) & \
GR1553B_RTC_RTKEY_MASK ) )