39 if (phost->CoCmdHook && phost->CoCmdHook(phost,
CMD_MEMCRC, 0))
65 if (phost->CoCmdHook && phost->CoCmdHook(phost,
CMD_REGREAD, 0))
109 if (phost->CoCmdHook && phost->CoCmdHook(phost,
CMD_GETPTR, 0))
131 if (phost->CoCmdHook && phost->CoCmdHook(phost,
CMD_LOADIMAGE, dst))
155 if (phost->CoCmdHook && phost->CoCmdHook(phost,
CMD_GETPROPS, 0))
179#if (EVE_SUPPORT_CHIPID >= EVE_BT815) && defined(EVE_FLASH_AVAILABLE)
256 if (phost->CoCmdHook && phost->CoCmdHook(phost,
CMD_FLASHFAST, 0))
275 if (phost->CoCmdHook && phost->CoCmdHook(phost,
CMD_LOADIMAGE, dst))
300 if (phost->CoCmdHook && phost->CoCmdHook(phost,
CMD_INFLATE2, dst))
318#if (EVE_SUPPORT_CHIPID >= EVE_BT817)
327 if (phost->CoCmdHook && phost->CoCmdHook(phost,
CMD_GETIMAGE, 0))
337 if (source || fmt || w || h || palette)
EVE_HAL_EXPORT uint16_t EVE_Cmd_moveWp(EVE_HalContext *phost, uint16_t bytes)
Move the write pointer forward by the specified number of bytes. Returns the previous write pointer.
EVE_HAL_EXPORT void EVE_Cmd_startFunc(EVE_HalContext *phost)
Begin writing a function, keeps the transfer open.
EVE_HAL_EXPORT void EVE_Cmd_endFunc(EVE_HalContext *phost)
End writing a function, closes the transfer.
EVE_HAL_EXPORT bool EVE_Cmd_wr32(EVE_HalContext *phost, uint32_t value)
Write 4 bytes to Coprocessor's command fifo.
EVE_HAL_EXPORT bool EVE_Cmd_wrProgMem(EVE_HalContext *phost, eve_progmem_const uint8_t *buffer, uint32_t size)
Write buffer in ProgMem to Coprocessor's comand fifo.
EVE_HAL_EXPORT void EVE_CoCmd_d(EVE_HalContext *phost, uint32_t cmd)
EVE_HAL_EXPORT void EVE_CoCmd_dddd(EVE_HalContext *phost, uint32_t cmd, uint32_t d0, uint32_t d1, uint32_t d2)
#define EVE_CoCmd_getImage(phost, source, fmt, w, h, palette)
#define EVE_MULTI_TARGET_CHECK_RETURN(cmd, condition, res)
#define EVE_CoCmd_fontCacheQuery(phost, total, used)
EVE_HAL_EXPORT bool EVE_CoCmd_flashRead_flush(EVE_HalContext *phost, uint32_t dest, uint32_t src, uint32_t num)
Read from Flash to RAM_G.
EVE_HAL_EXPORT bool EVE_CoCmd_inflate_progMem(EVE_HalContext *phost, uint32_t dst, eve_progmem_const uint8_t *src, uint32_t size)
Inflates data from program memory to RAM_G.
EVE_HAL_EXPORT uint32_t EVE_CoCmd_flashAttach(EVE_HalContext *phost)
Attach flash.
EVE_HAL_EXPORT bool EVE_CoCmd_loadImage_flash(EVE_HalContext *phost, uint32_t dst, uint32_t src, uint32_t *format)
Load image from Flash to RAM_G.
EVE_HAL_EXPORT bool EVE_CoCmd_getProps(EVE_HalContext *phost, uint32_t *ptr, uint32_t *w, uint32_t *h)
Get the image properties decompressed by CMD_LOADIMAGE.
EVE_HAL_EXPORT bool EVE_CoCmd_regRead(EVE_HalContext *phost, uint32_t ptr, uint32_t *result)
Send CMD_REGREAD.
EVE_HAL_EXPORT uint32_t EVE_CoCmd_flashFast(EVE_HalContext *phost, uint32_t *result)
Enter fast flash state.
EVE_HAL_EXPORT bool EVE_CoCmd_loadImage_progMem(EVE_HalContext *phost, uint32_t dst, eve_progmem_const uint8_t *src, uint32_t size, uint32_t *format)
Load image from program memory.
EVE_HAL_EXPORT bool EVE_CoCmd_getPtr(EVE_HalContext *phost, uint32_t *result)
Get the end memory address of data inflated by CMD_INFLATE and CMD_INFLATE2 At API level 2,...
EVE_HAL_EXPORT bool EVE_CoCmd_memCrc(EVE_HalContext *phost, uint32_t ptr, uint32_t num, uint32_t *result)
Send CMD_MEMCRC.
EVE_HAL_EXPORT bool EVE_CoCmd_flashErase_flush(EVE_HalContext *phost)
Send CMD_FLASHERASE. Wait for completion.
EVE_HAL_EXPORT bool EVE_CoCmd_inflate_flash(EVE_HalContext *phost, uint32_t dst, uint32_t src)
Inflates data from Flash to RAM_G.
#define eve_progmem_const
#define FLASH_STATUS_BASIC
#define CMD_FONTCACHEQUERY
#define FLASH_STATUS_DETACHED
EVE_HAL_EXPORT uint32_t EVE_Hal_rd32(EVE_HalContext *phost, uint32_t addr)
Read 4 bytes from Coprocessor's memory.
void EVE_Cmd_waitFlush(EVE_HalContext *host)