UART_485_CTL Универсальный асинхронный приемо-передатчик: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 RESERV Bits 31 : 7R/W 0x0 Reserved AAD_ADDR_F Bit 6R/W1C 0x0 In AAD mode, when UART receives an address byte and the byte is the same RS485_ADDR_DET_F Bit 5R/W1C 0x0 This is a flag of the detected address bytes. When UART receives an address Unused Bit 4RX_BF_ADDR Bit 3R/W 0x0 In NMM mode, If setting this bit to 1, UART will receive all the bytes into RX_AF_ADDR Bit 2R/W 0x0 In NMM mode, if setting this bit to 1, UART will receive all the bytes into RS485_SLAVE_MODE_SEL Bits 1 : 0R/W 0x0 RS485 Slave Mode Команда U-Boot для чтения регистра md 50000c0 1md 50004c0 1 md 50008c0 1 md 5000cc0 1 md 50010c0 1 md 50014c0 1 Bit fields structuretypedef union uart_485_ctl { struct { unsigned rs485_slave_mode_sel : 2; unsigned rx_af_addr : 1; unsigned rx_bf_addr : 1; unsigned unused0 : 1; unsigned rs485_addr_det_f : 1; unsigned aad_addr_f : 1; unsigned reserv : 25; } b; unsigned long w; } UART_485_CTL |