uart: support update_reg and PCR clock for all uart devices

This commit is contained in:
laokaiyao
2022-11-15 11:52:43 +08:00
parent e90d76e5b7
commit 7778ab6d5c
3 changed files with 113 additions and 98 deletions

View File

@@ -16,7 +16,7 @@ extern "C" {
*/
typedef union {
struct {
/** rxfifo_rd_byte : RO; bitpos: [7:0]; default: 0;
/** rxfifo_rd_byte : RO; bitpos: [31:0]; default: 0;
* UART $n accesses FIFO via this register.
*/
uint32_t rxfifo_rd_byte:32;