|
SDK สำหรับ TESAIoT Dev Kit
คู่มืออ้างอิง API และ Tutorial (MTB & µPython)
|
#include "lvgl.h"#include <stdbool.h>Go to the source code of this file.
Functions | |
| bool | ipc_lcd_init (lv_obj_t *parent) |
| การเริ่มการทำงานของคอนโซลตอนบูต — parent เป็น NULL และไม่ถูกกั้นด้วย display_ok เลย | |
| void | ipc_lcd_set_container (lv_obj_t *parent) |
| deferred binding ของ container; การส่ง NULL ตอนทำลายเป็นข้อบังคับ | |
| void | ipc_lcd_toggle_panel (void) |
| การสลับคอนโซลแบบไม่ดูสถานะเดิม — ต้องกันด้วย ipc_lcd_is_panel_visible() เสมอ | |
| bool | ipc_lcd_is_panel_visible (void) |
| คืน false เมื่อซ่อนอยู่หรือยังไม่ได้สร้าง — เป็นตัวกัน (guard) ที่ทำให้การสลับปลอดภัย | |
| void | ipc_lcd_reset_auto_nav (void) |
| ตั้ง auto-navigate แบบยิงครั้งเดียวให้พร้อมทำงานอีกครั้ง; เข้าถึงผ่าน ui.clear() ไม่ใช่สิ่งที่ผู้ใช้ไลบรารีเรียกเอง | |
| bool | ipc_lcd_has_unread (void) |
| เป็นการอ่านแฟล็ก unread ล้วน ๆ — ไม่เคลียร์แฟล็ก | |
| void | ipc_lcd_clear_unread (void) |
| การเคลียร์อย่างชัดแจ้ง ทำเฉพาะตอนเปลี่ยนเข้าสู่โหมดคอนโซลเท่านั้น | |