RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros
Transmit Channel Interrupt Register (CanTxIRQ)

This group contains register bit definitions. More...

Macros

#define GRCAN_CANTXIRQ_IRQ_SHIFT   4
 
#define GRCAN_CANTXIRQ_IRQ_MASK   0xffff0U
 
#define GRCAN_CANTXIRQ_IRQ_GET(_reg)
 
#define GRCAN_CANTXIRQ_IRQ_SET(_reg, _val)
 
#define GRCAN_CANTXIRQ_IRQ(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRCAN_CANTXIRQ_IRQ

#define GRCAN_CANTXIRQ_IRQ (   _val)
Value:
( ( ( _val ) << GRCAN_CANTXIRQ_IRQ_SHIFT ) & \
GRCAN_CANTXIRQ_IRQ_MASK )

◆ GRCAN_CANTXIRQ_IRQ_GET

#define GRCAN_CANTXIRQ_IRQ_GET (   _reg)
Value:
( ( ( _reg ) & GRCAN_CANTXIRQ_IRQ_MASK ) >> \
GRCAN_CANTXIRQ_IRQ_SHIFT )

◆ GRCAN_CANTXIRQ_IRQ_SET

#define GRCAN_CANTXIRQ_IRQ_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRCAN_CANTXIRQ_IRQ_MASK ) | \
( ( ( _val ) << GRCAN_CANTXIRQ_IRQ_SHIFT ) & \
GRCAN_CANTXIRQ_IRQ_MASK ) )