GD32F1x0: USB/GD32_USB_Device_Library/Class/dfu/src/usbd_dfu_mal.c File Reference

GD32F1x0

usbd_dfu_mal.c File Reference

USB DFU device media access layer functions. More...

#include "usbd_dfu_mal.h" #include "usbd_flash_if.h"

Go to the source code of this file.

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

DFU_MAL_Property_TypeDeftMALTab [MAX_USED_MEMORY_MEDIA]
 
const uint8_t * USBD_DFU_StringDesc [MAX_USED_MEMORY_MEDIA]
 
uint8_t MAL_Buffer [TRANSFER_SIZE]
 

Detailed Description

USB DFU device media access layer functions.

Author
MCU SD
Version
V1.0.1
Date
6-Sep-2014

Definition in file usbd_dfu_mal.c.

Generated by   doxygen 1.8.10