vemu.

Digital I/O - PWM - nordic,nrf-pwm

nRF5340 PWM (pulse width modulation with EasyDMA)

Functional PWM model with no electrical output. `TASKS_SEQSTART[n]` consumes the sequence descriptor via an EasyDMA read and latches `SEQSTARTED`, `SEQEND`, `PWMPERIODEND`, and `LOOPSDONE` immediately (single-loop completion, IRQ when enabled); `TASKS_STOP` latches `STOPPED`. DPPI subscribe/publish is supported.

emits: signal_pulseemits: dma

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)
enableu32ENABLE
countertopu32COUNTERTOP
ev_stoppedu32EVENTS_STOPPED latch
ev_seqstarted0u32EVENTS_SEQSTARTED[0] latch
ev_seqstarted1u32EVENTS_SEQSTARTED[1] latch
ev_seqend0u32EVENTS_SEQEND[0] latch
ev_seqend1u32EVENTS_SEQEND[1] latch
ev_pwmperiodendu32EVENTS_PWMPERIODEND latch
ev_loopsdoneu32EVENTS_LOOPSDONE latch
state_jsonstrPWM State Summary (JSON)

Read at runtime with emulator.peripheral_snapshot(name).

Boards using this peripheral