USB host Mass Storage interface for control access module. More...
#include "ctrl_access.h"Go to the source code of this file.
Functions | |
| uint8_t | uhi_msc_mem_get_lun (void) |
| Gives the number of available LUN. | |
| Ctrl_status | uhi_msc_mem_test_unit_ready (uint8_t lun) |
| Checks and update the status of the LUN. | |
| Ctrl_status | uhi_msc_mem_read_capacity (uint8_t lun, uint32_t *u32_nb_sector) |
| Returns the capacity of the LUN. | |
| uint8_t | uhi_msc_mem_read_sector_size (uint8_t lun) |
| Returns the sector size of the LUN. | |
| bool | uhi_msc_mem_wr_protect (uint8_t lun) |
| Checks if the LUN is write protected. | |
| bool | uhi_msc_mem_removal (void) |
| Checks if the device is removed. | |
| Ctrl_status | uhi_msc_mem_read_10_ram (uint32_t addr, void *ram) |
| Reads 512 bytes from the current LUN. | |
| Ctrl_status | uhi_msc_mem_write_10_ram (uint32_t addr, const void *ram) |
| Writes 512 bytes to the current LUN. | |
USB host Mass Storage interface for control access module.
Definition in file uhi_msc_mem.h.
1.7.1