vemu.

Connectivity - USB - nordic,nrf-usbd

nRF5340 USBD (USB 2.0 full-speed device controller)

Behavioral USBD stub: writing ENABLE latches EVENTS_USBRESET (no VBUS - disconnected-bus semantics). All endpoint EasyDMA registers, EPINEN/EPOUTEN, EPSTALL, EPDATASTATUS, HALTED, and SETUP data registers are modelled as plain R/W storage. INTEN/INTENSET/INTENCLR gate IRQ assertion on every latched event.

emits: signal_pulse

Events emitted

No peripheral-specific events. Structured activity (IRQs, DMA) surfaces through the shared event vocabulary.

Events accepted

No peripheral-specific input events. The peripheral is driven through MMIO register access.

Commands

This peripheral exposes no commands.

Snapshot fields

FieldTypeLabel
state_jsonstrUSBD State (JSON summary)
intenu32INTEN (interrupt enable mask)
enableu32ENABLE register
ev_usbresetu32EVENTS_USBRESET latch
ev_startedu32EVENTS_STARTED latch
ev_ep0datadoneu32EVENTS_EP0DATADONE latch
ev_epdatau32EVENTS_EPDATA latch
ev_sofu32EVENTS_SOF latch
ev_usbeventu32EVENTS_USBEVENT latch
epinenu32EPINEN (endpoint IN enable bitmask)
epoutenu32EPOUTEN (endpoint OUT enable bitmask)
epstatusu32EPSTATUS
epdatastatusu32EPDATASTATUS
eventcauseu32EVENTCAUSE
shortsu32SHORTS bitmask
usbaddru32USBADDR (assigned USB address)

Read at runtime with emulator.peripheral_snapshot(name).

Boards using this peripheral