SPI_ISR Синхронный последовательный интерфейс: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bits 31 : 14SSI Bit 13R/W1C 0x0 SS Invalid Interrupt TRANSFER_COMPLETED Bit 12R/W1C 0x0 In master mode, it indicates that all bursts specified by BC have been exchanged. TF_UDF Bit 11R/W1C 0x0 TXFIFO Underrun TF_OVF Bit 10R/W1C 0x0 TXFIFO Overflow RX_UDF Bit 9R/W1C 0x0 RXFIFO Underrun RX_OVF Bit 8R/W1C 0x0 RXFIFO Overflow Unused Bit 7TX_FULL Bit 6R/W1C 0x0 TXFIFO Full TX_EMP Bit 5R/W1C 0x1 TXFIFO Empty TX_READY Bit 4R/W1C 0x1 TXFIFO Ready Unused Bit 3RX_FULL Bit 2R/W1C 0x0 RXFIFO Full RX_EMP Bit 1R/W1C 0x1 RXFIFO Empty RX_RDY Bit 0R/W1C 0x0 RXFIFO Ready Команда U-Boot для чтения регистра md 5010014 1md 5011014 1 Bit fields structuretypedef union spi_isr { struct { unsigned rx_rdy : 1; unsigned rx_emp : 1; unsigned rx_full : 1; unsigned unused0 : 1; unsigned tx_ready : 1; unsigned tx_emp : 1; unsigned tx_full : 1; unsigned unused1 : 1; unsigned rx_ovf : 1; unsigned rx_udf : 1; unsigned tf_ovf : 1; unsigned tf_udf : 1; unsigned transfer_completed : 1; unsigned ssi : 1; unsigned unused2 : 18; } b; unsigned long w; } SPI_ISR |