Searched refs:sFlash (Results 1 – 1 of 1) sorted by relevance
119 static rt_device_t sFlash = RT_NULL; variable139 usart = (struct efm32_usart_device_t *)(sFlash->user_data); in efm_spiFlash_init()149 sFlash = rt_device_find(SFLASH_USING_DEVICE_NAME); in efm_spiFlash_init()150 if (sFlash == RT_NULL) in efm_spiFlash_init()166 if (sFlash->open(sFlash, RT_DEVICE_OFLAG_RDWR) != RT_EOK) in efm_spiFlash_init()193 if (sFlash == RT_NULL) in efm_spiFlash_deinit()200 if (sFlash->close(sFlash) != RT_EOK) in efm_spiFlash_deinit()204 sFlash = RT_NULL; in efm_spiFlash_deinit()269 RT_ASSERT(sFlash != RT_NULL); in efm_spiFlash_cmd()346 if (sFlash->read(sFlash, skip, inst_buf, \ in efm_spiFlash_cmd()[all …]
Completed in 6 milliseconds