Macros
Usbd_dfu_Exported_Defines
Collaboration diagram for Usbd_dfu_Exported_Defines:

Macros

#define CMD_ERASE   0x41
 
#define CMD_GETCOMMANDS   0x00
 
#define CMD_SETADDRESSPOINTER   0x21
 
#define DFU_DESCRIPTOR_TYPE   0x21
 
#define DFU_DETACH_MASK   (uint8_t)(1 << 4)
 
#define Manifest_complete   0x00
 
#define Manifest_In_Progress   0x01
 
#define STATE_appDETACH   1
 
#define STATE_appIDLE   0
 
#define STATE_dfuDNBUSY   4
 
#define STATE_dfuDNLOAD_IDLE   5
 
#define STATE_dfuDNLOAD_SYNC   3
 
#define STATE_dfuERROR   10
 
#define STATE_dfuIDLE   2
 
#define STATE_dfuMANIFEST   7
 
#define STATE_dfuMANIFEST_SYNC   6
 
#define STATE_dfuMANIFEST_WAIT_RESET   8
 
#define STATE_dfuUPLOAD_IDLE   9
 
#define STATUS_ERRADDRESS   0x08
 
#define STATUS_ERRCHECK_ERASED   0x05
 
#define STATUS_ERRERASE   0x04
 
#define STATUS_ERRFILE   0x02
 
#define STATUS_ERRFIRMWARE   0x0A
 
#define STATUS_ERRNOTDONE   0x09
 
#define STATUS_ERRPOR   0x0D
 
#define STATUS_ERRPROG   0x06
 
#define STATUS_ERRSTALLEDPKT   0x0F
 
#define STATUS_ERRTARGET   0x01
 
#define STATUS_ERRUNKNOWN   0x0E
 
#define STATUS_ERRUSBR   0x0C
 
#define STATUS_ERRVENDOR   0x0B
 
#define STATUS_ERRVERIFY   0x07
 
#define STATUS_ERRWRITE   0x03
 
#define STATUS_OK   0x00
 
#define USB_DFU_CONFIG_DESC_SIZ   (18 + (9 * USBD_ITF_MAX_NUM))
 
#define USB_DFU_DESC_SIZ   9
 

Detailed Description

Macro Definition Documentation

#define CMD_ERASE   0x41

Definition at line 113 of file usbd_dfu_core.h.

#define CMD_GETCOMMANDS   0x00

Definition at line 111 of file usbd_dfu_core.h.

#define CMD_SETADDRESSPOINTER   0x21

Definition at line 112 of file usbd_dfu_core.h.

#define DFU_DESCRIPTOR_TYPE   0x21

Definition at line 52 of file usbd_dfu_core.h.

#define DFU_DETACH_MASK   (uint8_t)(1 << 4)

Definition at line 119 of file usbd_dfu_core.h.

#define Manifest_complete   0x00

Definition at line 103 of file usbd_dfu_core.h.

#define Manifest_In_Progress   0x01

Definition at line 104 of file usbd_dfu_core.h.

#define STATE_appDETACH   1

Definition at line 67 of file usbd_dfu_core.h.

#define STATE_appIDLE   0

Definition at line 66 of file usbd_dfu_core.h.

#define STATE_dfuDNBUSY   4

Definition at line 70 of file usbd_dfu_core.h.

#define STATE_dfuDNLOAD_IDLE   5

Definition at line 71 of file usbd_dfu_core.h.

#define STATE_dfuDNLOAD_SYNC   3

Definition at line 69 of file usbd_dfu_core.h.

#define STATE_dfuERROR   10

Definition at line 76 of file usbd_dfu_core.h.

#define STATE_dfuIDLE   2

Definition at line 68 of file usbd_dfu_core.h.

#define STATE_dfuMANIFEST   7

Definition at line 73 of file usbd_dfu_core.h.

#define STATE_dfuMANIFEST_SYNC   6

Definition at line 72 of file usbd_dfu_core.h.

#define STATE_dfuMANIFEST_WAIT_RESET   8

Definition at line 74 of file usbd_dfu_core.h.

#define STATE_dfuUPLOAD_IDLE   9

Definition at line 75 of file usbd_dfu_core.h.

#define STATUS_ERRADDRESS   0x08

Definition at line 90 of file usbd_dfu_core.h.

#define STATUS_ERRCHECK_ERASED   0x05

Definition at line 87 of file usbd_dfu_core.h.

#define STATUS_ERRERASE   0x04

Definition at line 86 of file usbd_dfu_core.h.

#define STATUS_ERRFILE   0x02

Definition at line 84 of file usbd_dfu_core.h.

#define STATUS_ERRFIRMWARE   0x0A

Definition at line 92 of file usbd_dfu_core.h.

#define STATUS_ERRNOTDONE   0x09

Definition at line 91 of file usbd_dfu_core.h.

#define STATUS_ERRPOR   0x0D

Definition at line 95 of file usbd_dfu_core.h.

#define STATUS_ERRPROG   0x06

Definition at line 88 of file usbd_dfu_core.h.

#define STATUS_ERRSTALLEDPKT   0x0F

Definition at line 97 of file usbd_dfu_core.h.

#define STATUS_ERRTARGET   0x01

Definition at line 83 of file usbd_dfu_core.h.

#define STATUS_ERRUNKNOWN   0x0E

Definition at line 96 of file usbd_dfu_core.h.

#define STATUS_ERRUSBR   0x0C

Definition at line 94 of file usbd_dfu_core.h.

#define STATUS_ERRVENDOR   0x0B

Definition at line 93 of file usbd_dfu_core.h.

#define STATUS_ERRVERIFY   0x07

Definition at line 89 of file usbd_dfu_core.h.

#define STATUS_ERRWRITE   0x03

Definition at line 85 of file usbd_dfu_core.h.

#define STATUS_OK   0x00

Definition at line 82 of file usbd_dfu_core.h.

#define USB_DFU_CONFIG_DESC_SIZ   (18 + (9 * USBD_ITF_MAX_NUM))

Definition at line 49 of file usbd_dfu_core.h.

#define USB_DFU_DESC_SIZ   9

Definition at line 50 of file usbd_dfu_core.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:28