RTEMS 6.1-rc1
Macros
SYNC Code Filter Register (CanCODE)

This group contains register bit definitions. More...

Macros

#define GRCAN_CANCODE_SYNC_SHIFT   0
 
#define GRCAN_CANCODE_SYNC_MASK   0x1fffffffU
 
#define GRCAN_CANCODE_SYNC_GET(_reg)
 
#define GRCAN_CANCODE_SYNC_SET(_reg, _val)
 
#define GRCAN_CANCODE_SYNC(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRCAN_CANCODE_SYNC

#define GRCAN_CANCODE_SYNC (   _val)
Value:
( ( ( _val ) << GRCAN_CANCODE_SYNC_SHIFT ) & \
GRCAN_CANCODE_SYNC_MASK )

◆ GRCAN_CANCODE_SYNC_GET

#define GRCAN_CANCODE_SYNC_GET (   _reg)
Value:
( ( ( _reg ) & GRCAN_CANCODE_SYNC_MASK ) >> \
GRCAN_CANCODE_SYNC_SHIFT )

◆ GRCAN_CANCODE_SYNC_SET

#define GRCAN_CANCODE_SYNC_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRCAN_CANCODE_SYNC_MASK ) | \
( ( ( _val ) << GRCAN_CANCODE_SYNC_SHIFT ) & \
GRCAN_CANCODE_SYNC_MASK ) )