
UART_IER Универсальный асинхронный приемо-передатчик: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bits 31 : 8PTIME Bit 7R/W 0x0 Programmable THRE Interrupt Mode Enable Unused Bits 6 : 5RS485_INT_EN Bit 4R/W 0x0 RS485 Interrupt Enable EDSSI Bit 3R/W 0x0 Enable Modem Status Interrupt ELSI Bit 2R/W 0x0 Enable Receiver Line Status Interrupt ETBEI Bit 1R/W 0x0 Enable Transmit Holding Register Empty Interrupt ERBFI Bit 0R/W 0x0 Enable Received Data Available Interrupt Команда U-Boot для чтения регистра md 5000004 1md 5000404 1 md 5000804 1 md 5000c04 1 md 5001004 1 md 5001404 1 Bit fields structure
typedef union uart_ier
{
struct
{
unsigned erbfi : 1;
unsigned etbei : 1;
unsigned elsi : 1;
unsigned edssi : 1;
unsigned rs485_int_en : 1;
unsigned unused0 : 2;
unsigned ptime : 1;
unsigned unused1 : 24;
} b;
unsigned long w;
} UART_IER
|
![]() |