SDK สำหรับ TESAIoT Dev Kit
คู่มืออ้างอิง API และ Tutorial (MTB & µPython)
Toggle main menu visibility
Loading...
Searching...
No Matches
page_edge_ai.h
Go to the documentation of this file.
1
/*******************************************************************************
2
* File Name: page_edge_ai.h
3
*
4
* Description: Edge AI hub — one page for ALL compiled-in DEEPCRAFT models.
5
* Left: model list (tap to activate). Right: live class scores,
6
* inference latency and engine state.
7
*
8
* ONE page for every model is a hard requirement, not a style
9
* choice: PM_MAX_PAGES is 20 and this project already registers
10
* 18 pages, so per-model pages would silently fail to register
11
* (page_manager.c returns on overflow) and produce dead cards.
12
*
13
* Compiled only when BENTO_HAS_EDGE_AI=1.
14
*******************************************************************************/
15
16
#ifndef PAGE_EDGE_AI_H
17
#define PAGE_EDGE_AI_H
18
19
#include "bsp_feature_flags.h"
20
21
#if defined(BENTO_HAS_EDGE_AI) && (BENTO_HAS_EDGE_AI == 1)
22
23
#include "
ipc_sensorhub.h
"
24
#include "lvgl.h"
25
26
lv_obj_t *
page_edge_ai_create
(
void
);
27
void
page_edge_ai_render
(
sensorhub_snapshot_t
*snap);
28
void
page_edge_ai_destroy
(
void
);
29
30
#endif
/* BENTO_HAS_EDGE_AI */
31
#endif
/* PAGE_EDGE_AI_H */
page_edge_ai_render
void page_edge_ai_render(sensorhub_snapshot_t *snap)
รับ snapshot หนึ่งชุดต่อ 33 ms ที่ page manager เก็บมา
page_edge_ai_destroy
void page_edge_ai_destroy(void)
destroy callback ที่ page manager เรียกเมื่อออกจากหน้านี้
page_edge_ai_create
lv_obj_t * page_edge_ai_create(void)
ห้ามเรียกโดยตรง — ให้ลงทะเบียนผ่าน pm_register() เป็น create callback ของหน้านั้น
ipc_sensorhub.h
sensorhub_snapshot_t
Definition
ipc_sensorhub.h:18
dist
cm55_core
include
page_edge_ai.h
Generated by
1.18.0