USB host Mass Storage interface for control access module.. More...
#include "uhi_msc.h"
#include "uhi_msc_mem.h"
Go to the source code of this file.
Functions | |
Internal functions | |
External 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..
Copyright (C) 2011-2015 Atmel Corporation. All rights reserved.
Definition in file uhi_msc_mem.c.