SDK สำหรับ TESAIoT Dev Kit
คู่มืออ้างอิง API และ Tutorial (ModusToolbox)
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
22bool ipc_lcd_init(lv_obj_t *parent);
23
31void ipc_lcd_set_container(lv_obj_t *parent);
32
39
45
52
59
64
65#endif /* IPC_LCD_H */
void ipc_lcd_reset_auto_nav(void)
ตั้ง auto-navigate แบบยิงครั้งเดียวให้พร้อมทำงานอีกครั้ง; เข้าถึงผ่าน ui.clear() ไม่ใช่สิ่งที่ผู้ใช้ไ...
void ipc_lcd_toggle_panel(void)
การสลับคอนโซลแบบไม่ดูสถานะเดิม — ต้องกันด้วย ipc_lcd_is_panel_visible() เสมอ
bool ipc_lcd_is_panel_visible(void)
คืน false เมื่อซ่อนอยู่หรือยังไม่ได้สร้าง — เป็นตัวกัน (guard) ที่ทำให้การสลับปลอดภัย
bool ipc_lcd_init(lv_obj_t *parent)
การเริ่มการทำงานของคอนโซลตอนบูต — parent เป็น NULL และไม่ถูกกั้นด้วย display_ok เลย
bool ipc_lcd_has_unread(void)
เป็นการอ่านแฟล็ก unread ล้วน ๆ — ไม่เคลียร์แฟล็ก
void ipc_lcd_clear_unread(void)
การเคลียร์อย่างชัดแจ้ง ทำเฉพาะตอนเปลี่ยนเข้าสู่โหมดคอนโซลเท่านั้น
void ipc_lcd_set_container(lv_obj_t *parent)
deferred binding ของ container; การส่ง NULL ตอนทำลายเป็นข้อบังคับ