RTEMS 6.3
Loading...
Searching...
No Matches

BestComm ops. More...

Macros

#define VAR(i)
#define VAR_COUNT   24
#define INC(i)
#define INC_COUNT   8
#define IDX(i)
#define IDX_COUNT   8
#define COND_ONCE   0
#define COND_LT   1
#define COND_GT   2
#define COND_NE   3
#define COND_EQ   4
#define COND_LE   5
#define COND_GE   6
#define COND_FOREVER   7
#define INC_INIT(cond, val)
#define TERM_FIRST   0
#define TERM_SECOND   1
#define TERM_INIT   2
#define TERM_UNUSED   3
#define DEREF   1
#define LCD_TERM(val)
#define LCD(deref0, iniidx0, deref1, iniidx1, term, termop, inc0, inc1)
#define LCDEXT(deref0, iniidx0, deref1, iniidx1, term, termop, inc0, inc1)
#define LCDPLUS(deref0, iniidx0, deref1, iniidx1, term, termop, inc0, inc1)
#define LCDINIT(val)
#define MORE   0x4
#define TFD   0x2
#define INT   0x1
#define DRD_FLAGS(val)
#define INIT_ALWAYS   0
#define INIT_SCTMR_0   1
#define INIT_SCTMR_1   2
#define INIT_FEC_RX   3
#define INIT_FEC_TX   4
#define INIT_ATA_RX   5
#define INIT_ATA_TX   6
#define INIT_SCPCI_RX   7
#define INIT_SCPCI_TX   8
#define INIT_PSC3_RX   9
#define INIT_PSC3_TX   10
#define INIT_PSC2_RX   11
#define INIT_PSC2_TX   12
#define INIT_PSC1_RX   13
#define INIT_PSC1_TX   14
#define INIT_SCTMR_2   15
#define INIT_SCLPC   16
#define INIT_PSC5_RX   17
#define INIT_PSC5_TX   18
#define INIT_PSC4_RX   19
#define INIT_PSC4_TX   20
#define INIT_I2C2_RX   21
#define INIT_I2C2_TX   22
#define INIT_I2C1_RX   23
#define INIT_I2C1_TX   24
#define INIT_PSC6_RX   25
#define INIT_PSC6_TX   26
#define INIT_IRDA_RX   25
#define INIT_IRDA_TX   26
#define INIT_SCTMR_3   27
#define INIT_SCTMR_4   28
#define INIT_SCTMR_5   29
#define INIT_SCTMR_6   30
#define INIT_SCTMR_7   31
#define DRD_INIT(val)
#define SZ_8   1
#define SZ_16   2
#define SZ_32   0
#define SZ_DYN   3
#define DRD_RS(val)
#define DRD_WS(val)
#define DEST_VAR(val)
#define DEST_IDX(val)
#define DEST_DEREF_IDX(val)
#define SRC_VAR(val)
#define SRC_INC(val)
#define SRC_EU_RESULT   (BSP_BIT32(5) | BSP_BIT32(4) | BSP_BIT32(1) | BSP_BIT32(0))
#define SRC_DEREF_EU_RESULT   (BSP_BIT32(6) | BSP_BIT32(4) | BSP_BIT32(1) | BSP_BIT32(0))
#define SRC_IDX(val)
#define SRC_DEREF_IDX(val)
#define SRC_NONE   (BSP_BIT32(5) | BSP_BIT32(4) | BSP_BIT32(3) | BSP_BIT32(2) | BSP_BIT32(1) | BSP_BIT32(0))
#define DRD1A(flags, init, dest, ws, src, rs)
#define DRD1AEURESULT(flags, init, dest, ws, rs)
#define FUNC_LOAD_ACC   0
#define FUNC_UNLOAD_ACC   1
#define FUNC_AND   2
#define FUNC_OR   3
#define FUNC_XOR   4
#define FUNC_ANDN   5
#define FUNC_NOT   6
#define FUNC_ADD   7
#define FUNC_SUB   8
#define FUNC_LSH   9
#define FUNC_RSH   10
#define FUNC_CRC8   11
#define FUNC_CRC16   12
#define FUNC_CRC32   13
#define FUNC_ENDIAN32   14
#define FUNC_ENDIAN16   15
#define DRD2A(flags, func)
#define DRD2A5(flags, init, func, ws, rs)
#define OP_VAR(val)
#define OP_EU_RESULT   (BSP_BIT32(4) | BSP_BIT32(3) | BSP_BIT32(1) | BSP_BIT32(0))
#define OP_NONE   (BSP_BIT32(4) | BSP_BIT32(3) | BSP_BIT32(2) | BSP_BIT32(1) | BSP_BIT32(0))
#define OP_IDX(val)
#define OP_DEREF_IDX(val)
#define DRD2B1(dest, op0, op1)
#define DRD2B2(op0, op1)
#define NOP   0x1f8

Detailed Description

BestComm ops.

Macro Definition Documentation

◆ DEST_DEREF_IDX

#define DEST_DEREF_IDX ( val)
Value:
(BSP_BIT32(5) | BSP_BIT32(4) | (val))

◆ DEST_IDX

#define DEST_IDX ( val)
Value:
(BSP_BIT32(5) | (val))

◆ DEST_VAR

#define DEST_VAR ( val)
Value:
(val)

◆ DRD1A

#define DRD1A ( flags,
init,
dest,
ws,
src,
rs )
Value:
(DRD_FLAGS(flags) \
| DRD_INIT(init) \
| DRD_RS(rs) \
| DRD_WS(ws) \
| BSP_FLD32(dest, 10, 15) \
| BSP_FLD32(src, 3, 9))

◆ DRD1AEURESULT

#define DRD1AEURESULT ( flags,
init,
dest,
ws,
rs )
Value:
(DRD1A(flags, init, rs, ws, dest, SRC_EU_RESULT) \
| BSP_FLD32(1, 0, 3))

◆ DRD2A

#define DRD2A ( flags,
func )
Value:
(BSP_BIT32(30) | BSP_BIT32(29) \
| DRD_FLAGS(flags) \
| BSP_FLD32(func, 0, 3))

◆ DRD2A5

#define DRD2A5 ( flags,
init,
func,
ws,
rs )
Value:
(DRD2A(flags, func) \
| DRD_RS(rs) \
| DRD_WS(ws) \
| DRD_INIT(init))

◆ DRD2B1

#define DRD2B1 ( dest,
op0,
op1 )
Value:
(BSP_FLD32(dest, 22, 27) \
| BSP_FLD32(SRC_EU_RESULT, 14, 20) \
| BSP_FLD32(3, 12, 13) \
| BSP_FLD32(op0, 6, 11) \
| BSP_FLD32(op1, 0, 5))

◆ DRD2B2

#define DRD2B2 ( op0,
op1 )
Value:
(BSP_BIT32(29) \
| BSP_FLD32(3, 26, 27) \
| BSP_FLD32(op0, 20, 25) \
| BSP_FLD32(op1, 14, 19) \
| BSP_FLD32(0, 12, 13) \
| BSP_FLD32(OP_NONE, 6, 11) \
| BSP_FLD32(OP_NONE, 0, 5))

◆ DRD_FLAGS

#define DRD_FLAGS ( val)
Value:
BSP_FLD32(val, 26, 28)

◆ DRD_INIT

#define DRD_INIT ( val)
Value:
BSP_FLD32(val, 21, 25)

◆ DRD_RS

#define DRD_RS ( val)
Value:
BSP_FLD32(val, 19, 20)

◆ DRD_WS

#define DRD_WS ( val)
Value:
BSP_FLD32(val, 17, 18)

◆ IDX

#define IDX ( i)
Value:
(48 + (i))

◆ INC

#define INC ( i)
Value:
(24 + (i))

◆ INC_INIT

#define INC_INIT ( cond,
val )
Value:
(BSP_FLD32(cond, 29, 31) \
| BSP_FLD32((int16_t) (val), 0, 15))

◆ LCD

#define LCD ( deref0,
iniidx0,
deref1,
iniidx1,
term,
termop,
inc0,
inc1 )
Value:
(BSP_BIT32(31) \
| BSP_FLD32(deref0, 29, 29) \
| BSP_FLD32(iniidx0, 23, 28) \
| BSP_FLD32(deref1, 21, 21) \
| BSP_FLD32(iniidx1, 15, 20) \
| LCD_TERM(term) \
| BSP_FLD32(termop, 6, 11) \
| BSP_FLD32(inc0, 3, 5) \
| BSP_FLD32(inc1, 0, 2))

◆ LCD_TERM

#define LCD_TERM ( val)
Value:
BSP_FLD32(val, 13, 14)

◆ LCDEXT

#define LCDEXT ( deref0,
iniidx0,
deref1,
iniidx1,
term,
termop,
inc0,
inc1 )
Value:
(BSP_BIT32(30) \
| LCD(deref0, iniidx0, deref1, iniidx1, term, termop, inc0, inc1))

◆ LCDINIT

#define LCDINIT ( val)
Value:
(BSP_BIT32(31) \
| BSP_FLD32((val) >> 13, 15, 29) \
| LCD_TERM(TERM_INIT) \
| BSP_FLD32(val, 0, 12))

◆ LCDPLUS

#define LCDPLUS ( deref0,
iniidx0,
deref1,
iniidx1,
term,
termop,
inc0,
inc1 )
Value:
(BSP_BIT32(22) \
| LCD(deref0, iniidx0, deref1, iniidx1, term, termop, inc0, inc1))

◆ OP_DEREF_IDX

#define OP_DEREF_IDX ( val)
Value:
(BSP_BIT32(5) | BSP_BIT32(4) | (val))

◆ OP_IDX

#define OP_IDX ( val)
Value:
(BSP_BIT32(5) | (val))

◆ OP_VAR

#define OP_VAR ( val)
Value:
(val)

◆ SRC_DEREF_IDX

#define SRC_DEREF_IDX ( val)
Value:
(BSP_BIT32(6) | BSP_BIT32(5) | BSP_BIT32(4) | (val))

◆ SRC_IDX

#define SRC_IDX ( val)
Value:
(BSP_BIT32(6) | BSP_BIT32(5) | (val))

◆ SRC_INC

#define SRC_INC ( val)
Value:
(BSP_BIT32(5) | (val))

◆ SRC_VAR

#define SRC_VAR ( val)
Value:
(val)

◆ VAR

#define VAR ( i)
Value:
(i)