GD32F1x0: USB/GD32_USB_Device_Library/Class/IAP/src/usbd_iap_mal.c File Reference

GD32F1x0

usbd_iap_mal.c File Reference

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

#include "usbd_iap_mal.h" #include "usbd_flash_if.h"

Go to the source code of this file.

Functions

uint8_t IAP_MAL_Init (void)
 Initialize the memory media on the GD32. More...
 
uint8_t IAP_MAL_DeInit (void)
 Deinitialize the memory media on the GD32. More...
 
uint8_t IAP_MAL_Erase (uint32_t Addr, uint32_t PageCount)
 Erase a memory sector. More...
 
uint8_t IAP_MAL_Write (uint8_t Data[], uint32_t Addr, uint32_t Len)
 Write data to sectors of memory. More...
 
uint8_t * IAP_MAL_Read (uint32_t Addr, uint32_t Len)
 Read data from sectors of memory. More...
 
uint8_t IAP_MAL_GetStatus (uint32_t Addr, uint8_t Cmd, uint8_t *buffer)
 Get the status of a given memory and store in buffer. More...
 

Variables

IAP_MAL_Property_TypeDeftMALTab [MAX_USED_MEMORY_MEDIA]
 
const uint8_t * USBD_IAP_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
Date
6-Sep-2014

Definition in file usbd_iap_mal.c.

Generated by   doxygen 1.8.10