Lines Matching refs:offset
15 - `static int read(long offset, rt_uint8_t *buf, rt_size_t size)`:读取操作
19 |offset |读取数据的 Flash 偏移地址|
24 - `static int write(long offset, const rt_uint8_t *buf, rt_size_t size)` :写入操作
28 | offset | 写入数据的 Flash 偏移地址 |
33 - `static int erase(long offset, rt_size_t size)` :擦除操作
37 | offset | 擦除区域的 Flash 偏移地址 |
130 static int erase( long offset, size_t size )
133 uint32_t addr = FLASH_START_ADDR + offset;
154 static int read( long offset, uint8_t* buf, size_t size )
156 norflash_read( buf, offset + FLASH_START_ADDR, size );
163 static int write( long offset, const uint8_t* buf, size_t size )
166 uint32_t addr = FLASH_START_ADDR + offset;
270 static int write_sector( long offset, const uint8_t* buf, size_t size )
273 uint32_t addr = FLASH_START_ADDR + offset;