|
Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
|
USB DFU device update API. More...
Macros | |
| #define | USBD_DFU_DEFINE_IMG(id, iname, ipriv, iread, iwrite, inext) |
| Define USB DFU image. | |
USB DFU device update API.
| #define USBD_DFU_DEFINE_IMG | ( | id, | |
| iname, | |||
| ipriv, | |||
| iread, | |||
| iwrite, | |||
| inext ) |
#include <zephyr/usb/class/usbd_dfu.h>
Define USB DFU image.
Use this macro to create USB DFU image
The callbacks must be in form:
| id | Identifier by which the linker sorts registered images |
| iname | Image name as used in interface descriptor |
| iread | Image read callback |
| iwrite | Image write callback |
| inext | Notify/confirm next state |