GD32F10x USB-Device
V1.0.0
GD32F10x USB-Device
|
usbd_dfu_mal.h File Reference
USB DFU device media access layer header file. More...
Go to the source code of this file.
Data Structures | |
struct | _DFU_MAL_PROPERTY |
Macros | |
#define | _1st_BYTE(x) (uint8_t)((x) & 0xFF) |
#define | _2nd_BYTE(x) (uint8_t)(((x) & 0xFF00) >> 8) |
#define | _3rd_BYTE(x) (uint8_t)(((x) & 0xFF0000) >> 16) |
#define | SET_POLLING_TIMEOUT(x) |
Typedefs | |
typedef struct _DFU_MAL_PROPERTY | DFU_MAL_Property_TypeDef |
Enumerations | |
enum | MAL_Status { MAL_OK = 0, MAL_FAIL } |
Functions | |
uint8_t | DFU_MAL_Init (void) |
Initialize the memory media on the GD32. More... | |
uint8_t | DFU_MAL_DeInit (void) |
Deinitialize the memory media on the GD32. More... | |
uint8_t | DFU_MAL_Erase (uint32_t Addr) |
Erase a memory sector. More... | |
uint8_t | DFU_MAL_Write (uint32_t Addr, uint32_t Len) |
Write data to sectors of memory. More... | |
uint8_t * | DFU_MAL_Read (uint32_t Addr, uint32_t Len) |
Read data from sectors of memory. More... | |
uint8_t | DFU_MAL_GetStatus (uint32_t Addr, uint8_t Cmd, uint8_t *buffer) |
Get the status of a given memory and store in buffer. More... | |
Variables | |
uint8_t | MAL_Buffer [TRANSFER_SIZE] |
Detailed Description
USB DFU device media access layer header file.
- Author
- MCU SD
- Version
- V1.0.0
- Date
- 26-Dec-2014
Definition in file usbd_dfu_mal.h.
Generated on Fri Feb 6 2015 14:56:36 for GD32F10x USB-Device by 1.8.8