RTEMS 6.1-rc1
Macros
GR1553B BM Control register (BMC)

This group contains register bit definitions. More...

Macros

#define GR1553B_BMC_BMKEY_SHIFT   16
 
#define GR1553B_BMC_BMKEY_MASK   0xffff0000U
 
#define GR1553B_BMC_BMKEY_GET(_reg)
 
#define GR1553B_BMC_BMKEY_SET(_reg, _val)
 
#define GR1553B_BMC_BMKEY(_val)
 
#define GR1553B_BMC_WRSTP   0x20U
 
#define GR1553B_BMC_EXST   0x10U
 
#define GR1553B_BMC_IMCL   0x8U
 
#define GR1553B_BMC_UDWL   0x4U
 
#define GR1553B_BMC_MANL   0x2U
 
#define GR1553B_BMC_BMEN   0x1U
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GR1553B_BMC_BMKEY

#define GR1553B_BMC_BMKEY (   _val)
Value:
( ( ( _val ) << GR1553B_BMC_BMKEY_SHIFT ) & \
GR1553B_BMC_BMKEY_MASK )

◆ GR1553B_BMC_BMKEY_GET

#define GR1553B_BMC_BMKEY_GET (   _reg)
Value:
( ( ( _reg ) & GR1553B_BMC_BMKEY_MASK ) >> \
GR1553B_BMC_BMKEY_SHIFT )

◆ GR1553B_BMC_BMKEY_SET

#define GR1553B_BMC_BMKEY_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GR1553B_BMC_BMKEY_MASK ) | \
( ( ( _val ) << GR1553B_BMC_BMKEY_SHIFT ) & \
GR1553B_BMC_BMKEY_MASK ) )