SDK สำหรับ TESAIoT Dev Kit
คู่มืออ้างอิง API และ Tutorial (ModusToolbox)
Toggle main menu visibility
Loading...
Searching...
No Matches
ipc_lcd.h
Go to the documentation of this file.
1
/*******************************************************************************
2
* File Name: ipc_lcd.h
3
*
4
* Description: CM55 IPC receiver for LCD text commands from CM33_NS MicroPython.
5
*
6
*******************************************************************************/
7
8
#ifndef IPC_LCD_H
9
#define IPC_LCD_H
10
11
#include "lvgl.h"
12
#include <stdbool.h>
13
22
bool
ipc_lcd_init
(lv_obj_t *parent);
23
31
void
ipc_lcd_set_container
(lv_obj_t *parent);
32
38
void
ipc_lcd_toggle_panel
(
void
);
39
44
bool
ipc_lcd_is_panel_visible
(
void
);
45
51
void
ipc_lcd_reset_auto_nav
(
void
);
52
58
bool
ipc_lcd_has_unread
(
void
);
59
63
void
ipc_lcd_clear_unread
(
void
);
64
65
#endif
/* IPC_LCD_H */
ipc_lcd_reset_auto_nav
void ipc_lcd_reset_auto_nav(void)
ตั้ง auto-navigate แบบยิงครั้งเดียวให้พร้อมทำงานอีกครั้ง; เข้าถึงผ่าน ui.clear() ไม่ใช่สิ่งที่ผู้ใช้ไ...
ipc_lcd_toggle_panel
void ipc_lcd_toggle_panel(void)
การสลับคอนโซลแบบไม่ดูสถานะเดิม — ต้องกันด้วย ipc_lcd_is_panel_visible() เสมอ
ipc_lcd_is_panel_visible
bool ipc_lcd_is_panel_visible(void)
คืน false เมื่อซ่อนอยู่หรือยังไม่ได้สร้าง — เป็นตัวกัน (guard) ที่ทำให้การสลับปลอดภัย
ipc_lcd_init
bool ipc_lcd_init(lv_obj_t *parent)
การเริ่มการทำงานของคอนโซลตอนบูต — parent เป็น NULL และไม่ถูกกั้นด้วย display_ok เลย
ipc_lcd_has_unread
bool ipc_lcd_has_unread(void)
เป็นการอ่านแฟล็ก unread ล้วน ๆ — ไม่เคลียร์แฟล็ก
ipc_lcd_clear_unread
void ipc_lcd_clear_unread(void)
การเคลียร์อย่างชัดแจ้ง ทำเฉพาะตอนเปลี่ยนเข้าสู่โหมดคอนโซลเท่านั้น
ipc_lcd_set_container
void ipc_lcd_set_container(lv_obj_t *parent)
deferred binding ของ container; การส่ง NULL ตอนทำลายเป็นข้อบังคับ
dist
ipc_core
include
ipc_lcd.h
Generated by
1.18.0