Searched refs:offsetVal (Results 1 – 1 of 1) sorted by relevance
82 rt_uint32_t newAddr = addr, offsetVal = 0; in hc32_flash_write() local115 offsetVal = newAddr - addr; in hc32_flash_write()116 if (offsetVal >= size) in hc32_flash_write()119 index = HC32_FLASH_WRITE_GRANULARITY - offsetVal; in hc32_flash_write()136 size = size - offsetVal; in hc32_flash_write()140 if (LL_OK != EFM_Program(newAddr, (uint8_t *)&buf[offsetVal], size)) in hc32_flash_write()
Completed in 5 milliseconds