qualcomm/qbox
Loading...
Searching...
No Matches
InterruptRegister Class Reference
Collaboration diagram for InterruptRegister:

Public Types

enum  IRQ {
  EarlyReceive = 1 << 14 , BusError = 1 << 13 , EarlyTransmit = 1 << 10 , RxWatchdogTimeout = 1 << 9 ,
  RxStopped = 1 << 8 , RxBufUnavailable = 1 << 7 , RxInt = 1 << 6 , Underflow = 1 << 5 ,
  Overflow = 1 << 4 , TxJabberTimeout = 1 << 3 , TxBufUnavailable = 1 << 2 , TxStopped = 1 << 1 ,
  TxInt = 1 << 0
}

Public Member Functions

void setTxState (DwmacState::Tx state)
void setRxState (DwmacState::Rx state)
DwmacState::Tx getTxState () const
DwmacState::Rx getRxState () const
void reset ()
void clear (uint32_t clear)
void fire (uint32_t interrupts)
bool has_interrupts () const
void set_interrupts (uint32_t mask)
void set_status (uint32_t value)
uint32_t interrupts () const
uint32_t status () const

Public Attributes

bool m_regstate_staled
uint32_t m_regstate
uint32_t m_regmask
uint32_t m_interrupts
union status_reg m_dma_reg_status

Static Public Attributes

static const uint32_t NIS_mask = 0x4045
static const uint32_t AIS_mask = 0x27ba
static const uint32_t NIS_bit = 1 << 16
static const uint32_t AIS_bit = 1 << 15
static const uint32_t IS_mask = NIS_mask | AIS_mask
static const uint32_t IS_bits = NIS_bit | AIS_bit
static const uint32_t BE_mask = 7

The documentation for this class was generated from the following file:
  • systemc-components/macs/dwmac/include/dwmac.h