vemu.

Connectivity - USB - nordic,nrf-usbreg

nRF5340 USBREG

Nordic Semiconductor USBREG peripheral (nRF5340). Models VBUS detection events (USBDETECTED, USBREMOVED) and USB regulator ready event (USBPWRRDY). USBREGSTATUS reflects the current VBUS and regulator state. Events latch unconditionally; INTEN gates the IRQ assertion only. No real VBUS modeled at reset: all events are 0 and USBREGSTATUS reads 0 (no VBUS, output not ready).

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
intenu32INTEN (interrupt enable mask)
usbregstatusu32USBREGSTATUS (VBUSDETECT | OUTPUTRDY)
ev_detectedu32EVENTS_USBDETECTED latch
ev_removedu32EVENTS_USBREMOVED latch
ev_pwrrdyu32EVENTS_USBPWRRDY latch
state_jsonstrUSBREG State Summary (JSON)

Read at runtime with emulator.peripheral_snapshot(name).

Boards using this peripheral