SPI_IER Синхронный последовательный интерфейс: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bits 31 : 14SS_INT_EN Bit 13R/W 0x0 SSI Interrupt Enable TC_INT_EN Bit 12R/W 0x0 Transfer Completed Interrupt Enable TF_UDR_INT_EN Bit 11R/W 0x0 TXFIFO Underrun Interrupt Enable TF_OVF_INT_EN Bit 10R/W 0x0 TX FIFO Overflow Interrupt Enable RF_UDR_INT_EN Bit 9R/W 0x0 RXFIFO Underrun Interrupt Enable RF_OVF_INT_EN Bit 8R/W 0x0 RX FIFO Overflow Interrupt Enable Unused Bit 7TF_FUL_INT_EN Bit 6R/W 0x0 TX FIFO Full Interrupt Enable TX_EMP_INT_EN Bit 5R/W 0x0 TX FIFO Empty Interrupt Enable TX_ERQ_INT_EN Bit 4R/W 0x0 TX FIFO Empty Request Interrupt Enable Unused Bit 3RF_FUL_INT_EN Bit 2R/W 0x0 RX FIFO Full Interrupt Enable RX_EMP_INT_EN Bit 1R/W 0x0 RX FIFO Empty Interrupt Enable RF_RDY_INT_EN Bit 0R/W 0x0 RX FIFO Ready Request Interrupt Enable Команда U-Boot для чтения регистра md 5010010 1md 5011010 1 Bit fields structuretypedef union spi_ier { struct { unsigned rf_rdy_int_en : 1; unsigned rx_emp_int_en : 1; unsigned rf_ful_int_en : 1; unsigned unused0 : 1; unsigned tx_erq_int_en : 1; unsigned tx_emp_int_en : 1; unsigned tf_ful_int_en : 1; unsigned unused1 : 1; unsigned rf_ovf_int_en : 1; unsigned rf_udr_int_en : 1; unsigned tf_ovf_int_en : 1; unsigned tf_udr_int_en : 1; unsigned tc_int_en : 1; unsigned ss_int_en : 1; unsigned unused2 : 18; } b; unsigned long w; } SPI_IER |