USB Nordic DFU Trigger types

nRF5 SDK v15.0.0

nRF52840 only: Types used in the USB Nordic DFU Trigger class. More...

Data Structures

struct app_usbd_nrf_dfu_trigger_desc_func_t
Nordic DFU Trigger Functional Descriptor. More...
struct app_usbd_nrf_dfu_trigger_nordic_info_t
Nordic custom DFU information. More...

Macros

#define APP_USBD_NRF_DFU_TRIGGER_CLASS 0xFF
Nordic DFU Trigger class definition in interface descriptor. More...

Detailed Description

nRF52840 only: Types used in the USB Nordic DFU Trigger class.

Macro Definition Documentation

#define APP_USBD_NRF_DFU_TRIGGER_CLASS   0xFF

Nordic DFU Trigger class definition in interface descriptor.

app_usbd_descriptor_iface_t::bInterfaceClass

Enumeration Type Documentation

Nordic DFU Trigger functional descriptor bmAttributes bit masks.

Note
For future compatibility with DFU class.
Enumerator
APP_USBD_NRF_DFU_TRIGGER_BIT_CAN_DNLOAD

bitCanDnload

APP_USBD_NRF_DFU_TRIGGER_BIT_CAB_UPLOAD

bitCanUpload

APP_USBD_NRF_DFU_TRIGGER_BIT_MANI_TOLERANT

bitManifestationTolerant

APP_USBD_NRF_DFU_TRIGGER_BIT_WILL_DETACH

bitWillDetach

Nordic DFU Trigger Functional Descriptor types.

Enumerator
APP_USBD_NRF_DFU_TRIGGER_CS_FUNCTIONAL

Functional descriptor type.

Nordic DFU Trigger protocol possible value.

Note
Only Run-time protocol is implemented, as DFU mode is covered by Nordic DFU.
Enumerator
APP_USBD_NRF_DFU_TRIGGER_PROTOCOL_RUNTIME

Run-time Protocol

Nordic DFU Trigger USB requests nrf_drv_usbd_setup_t::bmRequestType .

Note
Requests are limited only to APP_USBD_NRF_DFU_TRIGGER_PROTOCOL_RUNTIME protocol type.
Enumerator
APP_USBD_NRF_DFU_TRIGGER_REQ_DETACH

Switch to DFU mode

APP_USBD_NRF_DFU_TRIGGER_REQ_NORDIC_INFO

Request Nordic DFU information

APP_USBD_NRF_DFU_TRIGGER_REQ_SEM_VER

Request semantic version information

Nordic DFU Trigger subclass possible value.

Enumerator
APP_USBD_NRF_DFU_TRIGGER_SUBCLASS

Device Firmware Upgrade Code