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
| Field | Type | Label |
|---|---|---|
| inten | u32 | INTEN (interrupt enable mask) |
| usbregstatus | u32 | USBREGSTATUS (VBUSDETECT | OUTPUTRDY) |
| ev_detected | u32 | EVENTS_USBDETECTED latch |
| ev_removed | u32 | EVENTS_USBREMOVED latch |
| ev_pwrrdy | u32 | EVENTS_USBPWRRDY latch |
| state_json | str | USBREG State Summary (JSON) |
Read at runtime with emulator.peripheral_snapshot(name).