![]() |
STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
|
Memory management layer. More...
#include "usbd_dfu_media_template.h"
Go to the source code of this file.
Functions | |
uint16_t | MEM_If_Init (void) |
MEM_If_Init Memory initialization routine. More... | |
uint16_t | MEM_If_Erase (uint32_t Add) |
MEM_If_Erase Erase sector. More... | |
uint16_t | MEM_If_Write (uint8_t *src, uint8_t *dest, uint32_t Len) |
MEM_If_Write Memory write routine. More... | |
uint8_t * | MEM_If_Read (uint8_t *src, uint8_t *dest, uint32_t Len) |
MEM_If_Read Memory read routine. More... | |
uint16_t | MEM_If_DeInit (void) |
MEM_If_DeInit Memory deinitialization routine. More... | |
uint16_t | MEM_If_GetStatus (uint32_t Add, uint8_t Cmd, uint8_t *buffer) |
Flash_If_GetStatus Memory read routine. More... | |
Variables | |
USBD_DFU_MediaTypeDef | USBD_DFU_MEDIA_Template_fops |
Memory management layer.
Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:
http://www.st.com/software_license_agreement_liberty_v2
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file usbd_dfu_media_template.c.
uint16_t MEM_If_DeInit | ( | void | ) |
MEM_If_DeInit Memory deinitialization routine.
None |
0 | if operation is successful, MAL_FAIL else. |
Definition at line 75 of file usbd_dfu_media_template.c.
uint16_t MEM_If_Erase | ( | uint32_t | Add | ) |
MEM_If_Erase Erase sector.
Add | Address of sector to be erased. |
0 | if operation is successful, MAL_FAIL else. |
Definition at line 86 of file usbd_dfu_media_template.c.
uint16_t MEM_If_GetStatus | ( | uint32_t | Add, |
uint8_t | Cmd, | ||
uint8_t * | buffer | ||
) |
Flash_If_GetStatus Memory read routine.
Add | Address to be read from. |
cmd | Number of data to be read (in bytes). |
Pointer | to the physical address where data should be read. |
Definition at line 123 of file usbd_dfu_media_template.c.
uint16_t MEM_If_Init | ( | void | ) |
MEM_If_Init Memory initialization routine.
None |
0 | if operation is successful, MAL_FAIL else. |
Definition at line 64 of file usbd_dfu_media_template.c.
uint8_t * MEM_If_Read | ( | uint8_t * | src, |
uint8_t * | dest, | ||
uint32_t | Len | ||
) |
MEM_If_Read Memory read routine.
Add | Address to be read from. |
Len | Number of data to be read (in bytes). |
Pointer | to the physical address where data should be read. |
Definition at line 110 of file usbd_dfu_media_template.c.
uint16_t MEM_If_Write | ( | uint8_t * | src, |
uint8_t * | dest, | ||
uint32_t | Len | ||
) |
MEM_If_Write Memory write routine.
Add | Address to be written to. |
Len | Number of data to be written (in bytes). |
0 | if operation is successful, MAL_FAIL else. |
Definition at line 98 of file usbd_dfu_media_template.c.