46 uint8_t *(*pMAL_Read) (uint32_t Add, uint32_t Len);
59 #define _1st_BYTE(x) (uint8_t)((x)&0xFF) 60 #define _2nd_BYTE(x) (uint8_t)(((x)&0xFF00)>>8) 61 #define _3rd_BYTE(x) (uint8_t)(((x)&0xFF0000)>>16) 62 #define _4th_BYTE(x) (uint8_t)(((x)&0xFF000000)>>24) 65 #define SET_POLLING_TIMING(x) buffer[1] = _1st_BYTE(x);\ 66 buffer[2] = _2nd_BYTE(x);\ 67 buffer[3] = _3rd_BYTE(x); 73 uint16_t
MAL_Erase (uint32_t SectorAddress);
74 uint16_t
MAL_Write (uint32_t SectorAddress, uint32_t DataLength);
75 uint8_t *
MAL_Read (uint32_t SectorAddress, uint32_t DataLength);
struct _DFU_MAL_PROP DFU_MAL_Prop_TypeDef
uint16_t(* pMAL_CheckAdd)(uint32_t Add)
uint16_t MAL_DeInit(void)
MAL_DeInit DeInitializes the Media on the STM32.
uint16_t(* pMAL_DeInit)(void)
static uint8_t buffer[BMP280_DATA_FRAME_SIZE]
header file for the usbd_dfu_core.c file.
uint8_t MAL_Buffer[XFERSIZE]
uint16_t(* pMAL_Erase)(uint32_t Add)
uint16_t MAL_Write(uint32_t SectorAddress, uint32_t DataLength)
MAL_Write Write sectors of memory.
const uint32_t WriteTiming
uint16_t MAL_Init(void)
MAL_Init Initializes the Media on the STM32.
uint16_t(* pMAL_Write)(uint32_t Add, uint32_t Len)
uint16_t MAL_GetStatus(uint32_t SectorAddress, uint8_t Cmd, uint8_t *buffer)
MAL_GetStatus Get the status of a given memory.
General low level driver configuration.
USB Device configuration file.
uint16_t MAL_Erase(uint32_t SectorAddress)
MAL_Erase Erase a sector of memory.
const uint32_t EraseTiming
uint16_t(* pMAL_Init)(void)
uint8_t * MAL_Read(uint32_t SectorAddress, uint32_t DataLength)
MAL_Read Read sectors of memory.