RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros
GR1553B Hardware Configuration Register (HC)

This group contains register bit definitions. More...

Macros

#define GR1553B_HC_MOD   0x80000000U
 
#define GR1553B_HC_CVER   0x1000U
 
#define GR1553B_HC_XKEYS   0x800U
 
#define GR1553B_HC_ENDIAN_SHIFT   9
 
#define GR1553B_HC_ENDIAN_MASK   0x600U
 
#define GR1553B_HC_ENDIAN_GET(_reg)
 
#define GR1553B_HC_ENDIAN_SET(_reg, _val)
 
#define GR1553B_HC_ENDIAN(_val)
 
#define GR1553B_HC_SCLK   0x100U
 
#define GR1553B_HC_CCFREQ_SHIFT   0
 
#define GR1553B_HC_CCFREQ_MASK   0xffU
 
#define GR1553B_HC_CCFREQ_GET(_reg)
 
#define GR1553B_HC_CCFREQ_SET(_reg, _val)
 
#define GR1553B_HC_CCFREQ(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GR1553B_HC_CCFREQ

#define GR1553B_HC_CCFREQ (   _val)
Value:
( ( ( _val ) << GR1553B_HC_CCFREQ_SHIFT ) & \
GR1553B_HC_CCFREQ_MASK )

◆ GR1553B_HC_CCFREQ_GET

#define GR1553B_HC_CCFREQ_GET (   _reg)
Value:
( ( ( _reg ) & GR1553B_HC_CCFREQ_MASK ) >> \
GR1553B_HC_CCFREQ_SHIFT )

◆ GR1553B_HC_CCFREQ_SET

#define GR1553B_HC_CCFREQ_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GR1553B_HC_CCFREQ_MASK ) | \
( ( ( _val ) << GR1553B_HC_CCFREQ_SHIFT ) & \
GR1553B_HC_CCFREQ_MASK ) )

◆ GR1553B_HC_ENDIAN

#define GR1553B_HC_ENDIAN (   _val)
Value:
( ( ( _val ) << GR1553B_HC_ENDIAN_SHIFT ) & \
GR1553B_HC_ENDIAN_MASK )

◆ GR1553B_HC_ENDIAN_GET

#define GR1553B_HC_ENDIAN_GET (   _reg)
Value:
( ( ( _reg ) & GR1553B_HC_ENDIAN_MASK ) >> \
GR1553B_HC_ENDIAN_SHIFT )

◆ GR1553B_HC_ENDIAN_SET

#define GR1553B_HC_ENDIAN_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GR1553B_HC_ENDIAN_MASK ) | \
( ( ( _val ) << GR1553B_HC_ENDIAN_SHIFT ) & \
GR1553B_HC_ENDIAN_MASK ) )