Main Mask Register (Mamsk); Alternate Event Register (Altev) - NS USBN9603 Manual

Universal serial bus full speed node controller with enhanced dma support
Table of Contents

Advertisement

7.0 Register Set
(Continued)
TX_EV
Transmit Event. This bit is set if any of the unmasked bits in the Transmit Event (TXEV) register (TXFIFOx or TXUNDRNx)
is set. Therefore, it indicates that an IN transaction has been completed. This bit is cleared when all the TX_DONE bits and
the TXUNDRN bits in each Transmit Status (TXSx) register are cleared.
FRAME
This bit is set if the frame counter is updated with a new value. This can be due to receipt of a valid SOF packet on the USB
or to an artificial update if the frame counter was unlocked or a frame was missed. This bit is cleared when the register is
read.
NAK
Negative Acknowledge. One of the unmasked NAK Event (NAKEV) register bits has been set. This bit is cleared when the
NAKEV register is read.
ULD
Unlock Locked Detected. The frame timer has either entered unlocked condition from a locked condition, or has re-entered
a locked condition from an unlocked condition as determined by the UL bit in the Frame Number (FNH or FNL) register that
is set. This bit is cleared when the register is read.
RX_EV
Receive Event. This bit is set if any of the unmasked bits in the Receive Event (RXEV) register is set. It indicates that a
SETUP or OUT transaction has been completed. This bit is cleared when all of the RX_LAST bits in each Receive Status
(RXSx) register and all RXOVRRN bits in the RXEV register are cleared.
INTR
Master Interrupt Enable. This bit is hardwired to 0 in the Main Event (MAEV) register; the corresponding bit in the Main Mask
(MAMSK) register is the Master Interrupt Enable.
7.1.6

Main Mask Register (MAMSK)

When set to 1, an interrupt is enabled when the respective event in the MAEV register is enabled. Otherwise, interrupt gen-
eration is disabled.
bit 7
0
7.1.7

Alternate Event Register (ALTEV)

bit 7
RESUME
0
CoR
WKUP
Wake-Up Event. This bit is set when a wake-up interrupt is generated and issued on the external INTR pin. The WKUP bit
is read only and cleared when the corresponding wake-up pending bit (PNDUC and/or PNDUSB in the Wake-Up (WKUP)
register) is cleared.
DMA
DMA Event. One of the unmasked bits in the DMA Event (DMAEV) register has been set. The DMA bit is read only and
cleared when the DMAEV register is cleared.
bit 6
bit 5
bit 4
Same Bit Definition as MAEV Register
0
0
0
bit 6
bit 5
RESET
SD5
0
0
CoR
CoR
bit 3
bit 2
0
0
r/w
bit 4
bit 3
bit 2
SD3
EOP
DMA
0
0
0
CoR
CoR
r
33
bit 1
bit 0
0
0
bit 1
bit 0
WKUP
res
0
-
r
-
www.national.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

Usbn9604

Table of Contents