mbgtools-lx  4.2.8
amccdefs.h File Reference

Go to the source code of this file.

Macros

#define _ext   extern
 
#define AMCC_OP_REG_OMB1   0x00
 
#define AMCC_OP_REG_OMB2   0x04
 
#define AMCC_OP_REG_OMB3   0x08
 
#define AMCC_OP_REG_OMB4   0x0C
 
#define AMCC_OP_REG_IMB1   0x10
 
#define AMCC_OP_REG_IMB2   0x14
 
#define AMCC_OP_REG_IMB3   0x18
 
#define AMCC_OP_REG_IMB4   0x1C
 
#define AMCC_OP_REG_FIFO   0x20
 
#define AMCC_OP_REG_MWAR   0x24
 
#define AMCC_OP_REG_MWTC   0x28
 
#define AMCC_OP_REG_MRAR   0x2C
 
#define AMCC_OP_REG_MRTC   0x30
 
#define AMCC_OP_REG_MBEF   0x34
 
#define AMCC_OP_REG_INTCSR   0x38
 
#define AMCC_OP_REG_MCSR   0x3C
 
#define AMCC_OP_REG_RANGE_S5933   0x40
 
#define AMCC_OP_REG_OMB   0x0C
 
#define AMCC_OP_REG_IMB   0x1C
 
#define AMCC_OP_REG_MBEF   0x34
 
#define AMCC_OP_REG_INTCSR   0x38
 
#define AMCC_OP_REG_RCR   0x3C
 
#define AMCC_OP_REG_PTCR   0x60
 
#define AMCC_OP_REG_RANGE_S5920   0x64
 
#define AMCC_INT_MASK   0x0000FFFFL
 
#define AMCC_INT_ENB   ( 1L << 12 )
 
#define AMCC_INT_FLAG   ( 1L << 17 )
 
#define AMCC_INT_ACK   ( AMCC_INT_ENB | AMCC_INT_FLAG )
 

Macro Definition Documentation

◆ _ext

#define _ext   extern

Definition at line 32 of file amccdefs.h.

◆ AMCC_INT_ACK

#define AMCC_INT_ACK   ( AMCC_INT_ENB | AMCC_INT_FLAG )

Definition at line 89 of file amccdefs.h.

Referenced by pcps_probe_device().

◆ AMCC_INT_ENB

#define AMCC_INT_ENB   ( 1L << 12 )

Definition at line 87 of file amccdefs.h.

Referenced by pcps_probe_device().

◆ AMCC_INT_FLAG

#define AMCC_INT_FLAG   ( 1L << 17 )

Definition at line 88 of file amccdefs.h.

Referenced by pcps_probe_device().

◆ AMCC_INT_MASK

#define AMCC_INT_MASK   0x0000FFFFL

Definition at line 86 of file amccdefs.h.

Referenced by pcps_probe_device().

◆ AMCC_OP_REG_FIFO

#define AMCC_OP_REG_FIFO   0x20

Definition at line 55 of file amccdefs.h.

Referenced by pcps_read_amcc_s5933().

◆ AMCC_OP_REG_IMB

#define AMCC_OP_REG_IMB   0x1C

Definition at line 73 of file amccdefs.h.

◆ AMCC_OP_REG_IMB1

#define AMCC_OP_REG_IMB1   0x10

Definition at line 51 of file amccdefs.h.

◆ AMCC_OP_REG_IMB2

#define AMCC_OP_REG_IMB2   0x14

Definition at line 52 of file amccdefs.h.

◆ AMCC_OP_REG_IMB3

#define AMCC_OP_REG_IMB3   0x18

Definition at line 53 of file amccdefs.h.

◆ AMCC_OP_REG_IMB4

#define AMCC_OP_REG_IMB4   0x1C

Definition at line 54 of file amccdefs.h.

Referenced by pcps_probe_device().

◆ AMCC_OP_REG_INTCSR [1/2]

#define AMCC_OP_REG_INTCSR   0x38

Definition at line 75 of file amccdefs.h.

Referenced by pcps_probe_device(), and pcps_read_amcc_s5933().

◆ AMCC_OP_REG_INTCSR [2/2]

#define AMCC_OP_REG_INTCSR   0x38

Definition at line 75 of file amccdefs.h.

◆ AMCC_OP_REG_MBEF [1/2]

#define AMCC_OP_REG_MBEF   0x34

Definition at line 74 of file amccdefs.h.

◆ AMCC_OP_REG_MBEF [2/2]

#define AMCC_OP_REG_MBEF   0x34

Definition at line 74 of file amccdefs.h.

◆ AMCC_OP_REG_MCSR

#define AMCC_OP_REG_MCSR   0x3C

Definition at line 62 of file amccdefs.h.

Referenced by pcps_read_amcc_s5933().

◆ AMCC_OP_REG_MRAR

#define AMCC_OP_REG_MRAR   0x2C

Definition at line 58 of file amccdefs.h.

◆ AMCC_OP_REG_MRTC

#define AMCC_OP_REG_MRTC   0x30

Definition at line 59 of file amccdefs.h.

◆ AMCC_OP_REG_MWAR

#define AMCC_OP_REG_MWAR   0x24

Definition at line 56 of file amccdefs.h.

◆ AMCC_OP_REG_MWTC

#define AMCC_OP_REG_MWTC   0x28

Definition at line 57 of file amccdefs.h.

◆ AMCC_OP_REG_OMB

#define AMCC_OP_REG_OMB   0x0C

Definition at line 72 of file amccdefs.h.

Referenced by pcps_read_amcc_s5920().

◆ AMCC_OP_REG_OMB1

#define AMCC_OP_REG_OMB1   0x00

Definition at line 47 of file amccdefs.h.

Referenced by pcps_read_amcc_s5933().

◆ AMCC_OP_REG_OMB2

#define AMCC_OP_REG_OMB2   0x04

Definition at line 48 of file amccdefs.h.

◆ AMCC_OP_REG_OMB3

#define AMCC_OP_REG_OMB3   0x08

Definition at line 49 of file amccdefs.h.

◆ AMCC_OP_REG_OMB4

#define AMCC_OP_REG_OMB4   0x0C

Definition at line 50 of file amccdefs.h.

◆ AMCC_OP_REG_PTCR

#define AMCC_OP_REG_PTCR   0x60

Definition at line 77 of file amccdefs.h.

◆ AMCC_OP_REG_RANGE_S5920

#define AMCC_OP_REG_RANGE_S5920   0x64

Definition at line 79 of file amccdefs.h.

Referenced by pcps_probe_device().

◆ AMCC_OP_REG_RANGE_S5933

#define AMCC_OP_REG_RANGE_S5933   0x40

Definition at line 64 of file amccdefs.h.

Referenced by pcps_probe_device().

◆ AMCC_OP_REG_RCR

#define AMCC_OP_REG_RCR   0x3C

Definition at line 76 of file amccdefs.h.