fix(usb_serial_jtag): Fix issue that use u32_reg read/write cannot be used to modify fifo regs

This commit is contained in:
C.S.M
2024-07-03 14:49:02 +08:00
parent 15c4d0e076
commit 8b2350ce1c
11 changed files with 28 additions and 33 deletions

View File

@@ -23,8 +23,7 @@ typedef union {
* can check USB_SERIAL_JTAG_OUT_EP1_WR_ADDR USB_SERIAL_JTAG_OUT_EP0_RD_ADDR to know
* how many data is received, then read data from UART Rx FIFO.
*/
uint32_t rdwr_byte:8;
uint32_t reserved_8:24;
uint32_t rdwr_byte:32;
};
uint32_t val;
} usb_serial_jtag_ep1_reg_t;