Searched refs:PAGE_SIZE (Results 1 – 2 of 2) sorted by relevance
56 #define PAGE_SIZE (256) // maximum bytes we can write in one SPI transfer macro268 uint32_t offset = addr & (PAGE_SIZE - 1); in mp_spiflash_write()270 size_t rest = PAGE_SIZE - offset; in mp_spiflash_write()350 uint32_t addr = cache->block * SECTOR_SIZE + i * PAGE_SIZE; in mp_spiflash_cache_flush_internal()351 int ret = mp_spiflash_write_page(self, addr, PAGE_SIZE, cache->buf + i * PAGE_SIZE); in mp_spiflash_cache_flush_internal()432 …int ret = mp_spiflash_write_page(self, addr + i * PAGE_SIZE, PAGE_SIZE, cache->buf + i * PAGE_SIZE… in mp_spiflash_cached_write_part()
38 #define PAGE_SIZE 4096 macro
Completed in 6 milliseconds