Lines Matching refs:command
57 uint32_t command[5] = {0x00U}; in FLASHIAP_PrepareSectorForWrite() local
60 command[0] = (uint32_t)kIapCmd_FLASHIAP_PrepareSectorforWrite; in FLASHIAP_PrepareSectorForWrite()
61 command[1] = startSector; in FLASHIAP_PrepareSectorForWrite()
62 command[2] = endSector; in FLASHIAP_PrepareSectorForWrite()
63 iap_entry(command, result); in FLASHIAP_PrepareSectorForWrite()
96 uint32_t command[5] = {0x00U}; in FLASHIAP_CopyRamToFlash() local
99 command[0] = (uint32_t)kIapCmd_FLASHIAP_CopyRamToFlash; in FLASHIAP_CopyRamToFlash()
100 command[1] = dstAddr; in FLASHIAP_CopyRamToFlash()
101 command[2] = (uint32_t)srcAddr; in FLASHIAP_CopyRamToFlash()
102 command[3] = numOfBytes; in FLASHIAP_CopyRamToFlash()
103 command[4] = systemCoreClock / HZ_TO_KHZ_DIV; in FLASHIAP_CopyRamToFlash()
104 iap_entry(command, result); in FLASHIAP_CopyRamToFlash()
133 uint32_t command[5] = {0x00U}; in FLASHIAP_EraseSector() local
136 command[0] = (uint32_t)kIapCmd_FLASHIAP_EraseSector; in FLASHIAP_EraseSector()
137 command[1] = startSector; in FLASHIAP_EraseSector()
138 command[2] = endSector; in FLASHIAP_EraseSector()
139 command[3] = systemCoreClock / HZ_TO_KHZ_DIV; in FLASHIAP_EraseSector()
140 iap_entry(command, result); in FLASHIAP_EraseSector()
168 uint32_t command[5] = {0x00U}; in FLASHIAP_ErasePage() local
171 command[0] = (uint32_t)kIapCmd_FLASHIAP_ErasePage; in FLASHIAP_ErasePage()
172 command[1] = startPage; in FLASHIAP_ErasePage()
173 command[2] = endPage; in FLASHIAP_ErasePage()
174 command[3] = systemCoreClock / HZ_TO_KHZ_DIV; in FLASHIAP_ErasePage()
175 iap_entry(command, result); in FLASHIAP_ErasePage()
197 uint32_t command[5] = {0x00U}; in FLASHIAP_BlankCheckSector() local
200 command[0] = (uint32_t)kIapCmd_FLASHIAP_BlankCheckSector; in FLASHIAP_BlankCheckSector()
201 command[1] = startSector; in FLASHIAP_BlankCheckSector()
202 command[2] = endSector; in FLASHIAP_BlankCheckSector()
203 iap_entry(command, result); in FLASHIAP_BlankCheckSector()
230 uint32_t command[5] = {0x00U}; in FLASHIAP_Compare() local
233 command[0] = (uint32_t)kIapCmd_FLASHIAP_Compare; in FLASHIAP_Compare()
234 command[1] = dstAddr; in FLASHIAP_Compare()
235 command[2] = (uint32_t)srcAddr; in FLASHIAP_Compare()
236 command[3] = numOfBytes; in FLASHIAP_Compare()
237 iap_entry(command, result); in FLASHIAP_Compare()