RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Macros
Receive Channel Address Register (CanRxADDR)

This group contains register bit definitions. More...

Macros

#define GRCAN_CANRXADDR_ADDR_SHIFT   10
 
#define GRCAN_CANRXADDR_ADDR_MASK   0xfffffc00U
 
#define GRCAN_CANRXADDR_ADDR_GET(_reg)
 
#define GRCAN_CANRXADDR_ADDR_SET(_reg, _val)
 
#define GRCAN_CANRXADDR_ADDR(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRCAN_CANRXADDR_ADDR

#define GRCAN_CANRXADDR_ADDR (   _val)
Value:
( ( ( _val ) << GRCAN_CANRXADDR_ADDR_SHIFT ) & \
GRCAN_CANRXADDR_ADDR_MASK )

◆ GRCAN_CANRXADDR_ADDR_GET

#define GRCAN_CANRXADDR_ADDR_GET (   _reg)
Value:
( ( ( _reg ) & GRCAN_CANRXADDR_ADDR_MASK ) >> \
GRCAN_CANRXADDR_ADDR_SHIFT )

◆ GRCAN_CANRXADDR_ADDR_SET

#define GRCAN_CANRXADDR_ADDR_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRCAN_CANRXADDR_ADDR_MASK ) | \
( ( ( _val ) << GRCAN_CANRXADDR_ADDR_SHIFT ) & \
GRCAN_CANRXADDR_ADDR_MASK ) )