RTEMS 7.0-rc1
Loading...
Searching...
No Matches
Macros
ctucanfd_txb.h File Reference

This file is part of CTU CAN FD core driver implementation. More...

#include "ctucanfd_internal.h"

Go to the source code of this file.

Macros

#define TXT_DONE   0x4
 
#define TXT_BF   4
 
#define TXT_MASK   0xf
 
#define TXT_ANY_DONE
 
#define TXTB_GET_STATUS(status, id)
 
#define TXB_BF   4
 
#define TXB_MASK   0xf
 
#define TXB_ALL   0xffffffff
 
#define TXB_SH(idx)   (idx * TXB_BF)
 

Detailed Description

This file is part of CTU CAN FD core driver implementation.

Macro Definition Documentation

◆ TXT_ANY_DONE

#define TXT_ANY_DONE
Value:
( ( TXT_DONE << ( 0 * TXT_BF ) ) | \
( TXT_DONE << ( 1 * TXT_BF ) ) | \
( TXT_DONE << ( 2 * TXT_BF ) ) | \
( TXT_DONE << ( 3 * TXT_BF ) ) | \
( TXT_DONE << ( 4 * TXT_BF ) ) | \
( TXT_DONE << ( 5 * TXT_BF ) ) | \
( TXT_DONE << ( 6 * TXT_BF ) ) | \
( TXT_DONE << ( 7 * TXT_BF ) ) )

◆ TXTB_GET_STATUS

#define TXTB_GET_STATUS (   status,
  id 
)
Value:
( ( status >> ( id * TXT_BF ) ) & \
TXT_MASK)