From d6d2f3e1ac285f1ac219593e2bd9200fabd4db44 Mon Sep 17 00:00:00 2001 From: Guangzong Chen Date: Sun, 14 Apr 2024 22:24:28 -0400 Subject: [PATCH] update otg high speed --- data/registers/otg_v2.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/data/registers/otg_v2.yaml b/data/registers/otg_v2.yaml index 2c544dd..cde4fd3 100644 --- a/data/registers/otg_v2.yaml +++ b/data/registers/otg_v2.yaml @@ -175,6 +175,13 @@ block/OTG: stride: 32 byte_offset: 2320 fieldset: DIEPTSIZ + - name: DIEPDMA + description: Device IN endpoint DMA address register + array: + len: 16 + stride: 32 + byte_offset: 2324 + fieldset: DIEPDMA - name: DTXFSTS description: Device IN endpoint transmit FIFO status register array: @@ -553,6 +560,14 @@ fieldset/DOEPDMA: bit_offset: 0 bit_size: 32 +fieldset/DIEPDMA: + description: OTG device OUT endpoint 0 DMA address register. + fields: + - name: DMAADDR + description: DMAADDR. + bit_offset: 0 + bit_size: 32 + fieldset/DOEPINT: description: This register indicates the status of an endpoint with respect to USB- and AHB-related events. It is shown in Figure724. The application must read this register when the OUT endpoints interrupt bit of the GINTSTS register (OEPINT bit in GINTSTS) is set. Before the application can read this register, it must first read the DAINT register to get the exact endpoint number for the DOEPINTx register. The application must clear the appropriate bit in this register to clear the corresponding bits in the DAINT and GINTSTS registers. fields: