Searched refs:DISK_BLOCK_SIZE (Results 1 – 3 of 3) sorted by relevance
/hal_espressif-3.6.0/examples/peripherals/usb/host/msc/components/msc/test/ |
D | test_msc.c | 243 uint8_t write_data[DISK_BLOCK_SIZE]; in write_read_sectors() 244 uint8_t read_data[DISK_BLOCK_SIZE]; in write_read_sectors() 246 memset(write_data, 0x55, DISK_BLOCK_SIZE); in write_read_sectors() 247 memset(read_data, 0, DISK_BLOCK_SIZE); in write_read_sectors() 249 msc_host_write_sector(device, 10, write_data, DISK_BLOCK_SIZE); in write_read_sectors() 250 msc_host_read_sector(device, 10, read_data, DISK_BLOCK_SIZE); in write_read_sectors() 252 TEST_ASSERT_EQUAL_MEMORY(write_data, read_data, DISK_BLOCK_SIZE); in write_read_sectors() 257 uint8_t data[DISK_BLOCK_SIZE]; in erase_storage() 258 memset(data, 0xFF, DISK_BLOCK_SIZE); in erase_storage() 261 msc_host_write_sector(device, block, data, DISK_BLOCK_SIZE); in erase_storage()
|
D | msc_device.c | 94 uint8_t msc_disk[DISK_BLOCK_NUM][DISK_BLOCK_SIZE] = { 200 *block_size = DISK_BLOCK_SIZE; in tud_msc_capacity_cb()
|
D | test_common.h | 11 DISK_BLOCK_SIZE = 512 enumerator
|