SDK for TESAIoT Dev Kit
API reference & tutorials (ModusToolbox)
Toggle main menu visibility
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
20
extern
"C"
{
21
#endif
22
25
bool
deepcraft_task_init
(
void
);
26
32
void
deepcraft_task_request
(
bool
start);
33
37
void
deepcraft_task_select
(uint32_t n);
38
39
#ifdef __cplusplus
40
}
41
#endif
42
46
void
deepcraft_task_watchdog
(
void
);
47
48
#endif
/* DEEPCRAFT_TASK_H */
deepcraft_task_request
void deepcraft_task_request(bool start)
Start or stop the model link exactly as a MicroPython client would.
deepcraft_task_select
void deepcraft_task_select(uint32_t n)
Activates registry model n exactly as edge_ai.select(n); zero callers workspace-wide.
deepcraft_task_init
bool deepcraft_task_init(void)
Call after cm55_ipc_communication_setup(); the archived display controller already does.
deepcraft_task_watchdog
void deepcraft_task_watchdog(void)
Returns the model-link task to Ready; about 1 Hz from a context that never blocks.
dist
cm55_core
include
deepcraft_task.h
Generated by
1.18.0