EVENTCAUSE

nRF5340 Product Specification

Address offset: 0x400

Details on what caused the USBEVENT event

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A

RW
W1C

ISOOUTCRC

CRC error was detected on isochronous OUT endpoint 8. Write '1' to clear.

NotDetected

0

No error detected

Detected

1

Error detected

B

RW
W1C

SUSPEND

Signals that USB lines have been idle long enough for the device to enter suspend. Write '1' to clear.

NotDetected

0

Suspend not detected

Detected

1

Suspend detected

C

RW
W1C

RESUME

Signals that a RESUME condition (K state or activity restart) has been detected on USB lines. Write '1' to clear.

NotDetected

0

Resume not detected

Detected

1

Resume detected

D

RW
W1C

USBWUALLOWED

USB MAC has been woken up and operational. Write '1' to clear.

NotAllowed

0

Wake up not allowed

Allowed

1

Wake up allowed

E

RW
W1C

READY

USB device is ready for normal operation. Write '1' to clear.

NotDetected

0

USBEVENT was not issued due to USBD peripheral ready

Ready

1

USBD peripheral is ready