RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros
GR1553B BC Action Register (BCA)

This group contains register bit definitions. More...

Macros

#define GR1553B_BCA_BCKEY_SHIFT   16
 
#define GR1553B_BCA_BCKEY_MASK   0xffff0000U
 
#define GR1553B_BCA_BCKEY_GET(_reg)
 
#define GR1553B_BCA_BCKEY_SET(_reg, _val)
 
#define GR1553B_BCA_BCKEY(_val)
 
#define GR1553B_BCA_ASSTP   0x200U
 
#define GR1553B_BCA_ASSRT   0x100U
 
#define GR1553B_BCA_CLRT   0x10U
 
#define GR1553B_BCA_SETT   0x8U
 
#define GR1553B_BCA_SCSTP   0x4U
 
#define GR1553B_BCA_SCSUS   0x2U
 
#define GR1553B_BCA_SCSRT   0x1U
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GR1553B_BCA_BCKEY

#define GR1553B_BCA_BCKEY (   _val)
Value:
( ( ( _val ) << GR1553B_BCA_BCKEY_SHIFT ) & \
GR1553B_BCA_BCKEY_MASK )

◆ GR1553B_BCA_BCKEY_GET

#define GR1553B_BCA_BCKEY_GET (   _reg)
Value:
( ( ( _reg ) & GR1553B_BCA_BCKEY_MASK ) >> \
GR1553B_BCA_BCKEY_SHIFT )

◆ GR1553B_BCA_BCKEY_SET

#define GR1553B_BCA_BCKEY_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GR1553B_BCA_BCKEY_MASK ) | \
( ( ( _val ) << GR1553B_BCA_BCKEY_SHIFT ) & \
GR1553B_BCA_BCKEY_MASK ) )