Searched refs:inst_buf (Results 1 – 1 of 1) sorted by relevance
272 rt_uint8_t *inst_buf; in efm_spiFlash_cmd() local294 inst_buf = rt_malloc(6 + 4); in efm_spiFlash_cmd()295 inst = (sflash_instruction *)(inst_buf + 1); in efm_spiFlash_cmd()300 inst_buf = rt_malloc(5 + data_len); in efm_spiFlash_cmd()301 inst = (sflash_instruction *)inst_buf; in efm_spiFlash_cmd()334 inst_buf[0] = inst_len; in efm_spiFlash_cmd()335 *(rt_uint8_t **)(inst_buf + head_len) = buffer; in efm_spiFlash_cmd()346 if (sFlash->read(sFlash, skip, inst_buf, \ in efm_spiFlash_cmd()360 rt_memcpy((inst_buf + head_len), buffer, data_len); in efm_spiFlash_cmd()364 if (sFlash->write(sFlash, EFM32_NO_DATA, inst_buf, \ in efm_spiFlash_cmd()[all …]
Completed in 3 milliseconds