SDK for TESAIoT Dev Kit
API reference & tutorials (ModusToolbox)
Loading...
Searching...
No Matches
deepcraft_task.h
Go to the documentation of this file.
1/*******************************************************************************
2 * File Name : deepcraft_task.h
3 *
4 * Description : CM55 model-link peer — v1 STUB runtime for the DEEPCraft
5 * control plane (see common/deepcraft + common/bento_link
6 * in BENTO-TESAIoT-Claw-libraries).
7 *
8 * Per-project file (rule §2): each kit owns its model
9 * runtime; the wire contract lives in the shared header
10 * ipc_model_link_defs.h.
11 *******************************************************************************/
12
13#ifndef DEEPCRAFT_TASK_H
14#define DEEPCRAFT_TASK_H
15
16#include <stdbool.h>
17#include <stdint.h>
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
26
32void deepcraft_task_request(bool start);
33
37void deepcraft_task_select(uint32_t n);
38
39#ifdef __cplusplus
40}
41#endif
42
47
48#endif /* DEEPCRAFT_TASK_H */
void deepcraft_task_request(bool start)
Start or stop the model link exactly as a MicroPython client would.
void deepcraft_task_select(uint32_t n)
Activates registry model n exactly as edge_ai.select(n); zero callers workspace-wide.
bool deepcraft_task_init(void)
Call after cm55_ipc_communication_setup(); the archived display controller already does.
void deepcraft_task_watchdog(void)
Returns the model-link task to Ready; about 1 Hz from a context that never blocks.