Unused Bits 31 : 24
TX_EMPTY Bit 23 R 0x1
TX FIFO Empty
0: No room for new sample in TX FIFO
1: More than one room for new sample in TX FIFO (>= 1 word) TXE_CNT Bits 22 : 8 R 0x80
TX FIFO Empty Space Word Counter Unused Bits 7 : 4
TXE_INT Bit 3 R/W1C 0x1
TX FIFO Empty Pending Interrupt
0: No Pending IRQ
1: FIFO Empty Pending Interrupt
Write 1 to clear this interrupt or automatically clear if interrupt condition fails. TXU_INT Bit 2 R/W1C 0x0
TX FIFO Underrun Pending Interrupt
0: No Pending Interrupt
1: FIFO Underrun Pending Interrupt
Write 1 to clear this interrupt TXO_INT Bit 1 R/W1C 0x0
TX FIFO Overrun Pending Interrupt
0: No Pending Interrupt
1: FIFO Overrun Pending Interrupt
Write 1 to clear this interrupt Unused Bit 0
Команда U-Boot для чтения регистра md 5096014 1
Bit fields structure
typedef union ac_dac_fifos
{
struct
{
unsigned unused0 : 1;
unsigned txo_int : 1;
unsigned txu_int : 1;
unsigned txe_int : 1;
unsigned unused1 : 4;
unsigned txe_cnt : 15;
unsigned tx_empty : 1;
unsigned unused2 : 8;
} b;
unsigned long w;
} AC_DAC_FIFOS
|