
CYWUSB6935
Document #: 38-16008 Rev. *C
Page 14 of 33
Addr: 0x0D
REG_TX_INT_EN
Default: 0x00
7
654
3210
Reserved
Underflow
Overflow
Done
Empty
Figure 7-12. Transmit SERDES Interrupt Enable
Bit
Name
Description
7:4
Reserved
These bits are reserved and should be written with zeroes.
3
Underflow
The Underflow bit is used to enable the interrupt associated with an underflow condition associated with the Transmit
SERDES Data register (Reg 0x0F)
1 = Underflow interrupt enabled
0 = Underflow interrupt disabled
An underflow condition occurs when attempting to transmit while the Transmit SERDES Data register (Reg 0x0F) does
not have any data.
2Overflow
The Overflow bit is used to enabled the interrupt associated with an overflow condition with the Transmit SERDES Data
register (0x0F).
1 = Overflow interrupt enabled
0 = Overflow interrupt disabled
An overflow condition occurs when attempting to write new data to the Transmit SERDES Data register (Reg 0x0F)
before the preceding data has been transferred to the transmit shift register.
1
Done
The Done bit is used to enable the interrupt that signals the end of the transmission of data.
1 = Done interrupt enabled
0 = Done interrupt disabled
The Done condition occurs when the Transmit SERDES Data register (Reg 0x0F) has transmitted all of its data and
there is no more data for it to transmit.
0
Empty
The Empty bit is used to enable the interrupt that signals when the Transmit SERDES register (Reg 0x0F) is empty.
1 = Empty interrupt enabled
0 = Empty interrupt disabled
The Empty condition occurs when the Transmit SERDES Data register (Reg 0x0F) is loaded into the transmit buffer
and it's safe to load the next byte
Addr: 0x0E
REG_TX_INT_STAT
Default: 0x00
7
654
3210
Reserved
Underflow
Overflow
Done
Empty
Figure 7-13. Transmit SERDES Interrupt Status[4]
Bit Name
Description
7:4 Reserved These bits are reserved. This register is read-only.
3
Underflow The Underflow bit is used to signal when an underflow condition associated with the Transmit SERDES Data register
(Reg 0x0F) has occurred.
1 = Underflow Interrupt pending
0 = No Underflow Interrupt pending
This IRQ will assert during an underflow condition to the Transmit SERDES Data register (Reg 0x0F). An underflow occurs
when the transmitter is ready to sample transmit data, but there is no data ready in the Transmit SERDES Data register
(Reg 0x0F). This will only assert after the transmitter has transmitted at least one bit. This bit is cleared by reading the
Transmit Interrupt Status register (Reg 0x0E).
2
Overflow
The Overflow bit is used to signal when an overflow condition associated with the Transmit SERDES Data register (0x0F)
has occurred.
1 = Overflow Interrupt pending
0 = No Overflow Interrupt pending
This IRQ will assert during an overflow condition to the Transmit SERDES Data register (Reg 0x0F). An overflow occurs
when the new data is loaded into the Transmit SERDES Data register (Reg 0x0F) before the previous data has been sent.
This bit is cleared by reading the Transmit Interrupt Status register (Reg 0x0E).
1
Done
The Done bit is used to signal the end of a data transmission.
1 = Done Interrupt pending
0 = No Done Interrupt pending
This IRQ will assert when the data is finished sending a byte of data and there is no more data to be sent. This will only
assert after the transmitter has transmitted as least one bit. This bit is cleared by reading the Transmit Interrupt Status
register (Reg 0x0E)
0
Empty
The Empty bit is used to signal when the Transmit SERDES Data register (Reg 0x0F) has been emptied.
1 = Empty Interrupt pending
0 = No Empty Interrupt pending
This IRQ will assert when the transmit serdes is empty. When this IRQ is asserted it is ok to write to the Transmit SERDES
Data register (Reg 0x0F). Writing the Transmit SERDES Data register (Reg 0x0F) will clear this IRQ. It will be set when
the data is loaded into the transmitter, and it is ok to write new data.
Note:
4.
All status bits are set and readable in the registers regardless of IRQ enable status. This allows a polling scheme to be implemented without enabling
IRQs. The status bits are affected by the TX Enable and RX Enable (Reg 0x03, bits 7:6). For example, the transmit status will read 0 if the IC is not in
transmit mode. These registers are read-only.