|
One Framework 0.1.0
RoboMaster嵌入式框架“一键”解决方案,为你的“创意”服务。
|
#include <OF/lib/VtHub/VtHub.hpp>#include <RPL/Packets/VT03RemotePacket.hpp>#include <RPL/Packets/RoboMaster/CustomControllerData.hpp>#include <RPL/Packets/RoboMaster/RemoteControl.hpp>#include <RPL/Packets/RoboMaster/CustomRobotData.hpp>#include <RPL/Packets/RoboMaster/RobotCustomData.hpp>#include <RPL/Packets/RoboMaster/VtmSetChannel.hpp>#include <RPL/Packets/RoboMaster/VtmQueryChannel.hpp>#include <RPL/Parser.hpp>#include <RPL/Deserializer.hpp>#include <zephyr/drivers/uart.h>#include <zephyr/logging/log.h>#include <zephyr/init.h>#include <zephyr/device.h>#include <OF/utils/Remap.hpp>结构体 | |
| struct | VtHubDataInternal |
命名空间 | |
| namespace | OF |
宏定义 | |
| #define | DT_DRV_COMPAT one_framework_vt_hub |
函数 | |
| LOG_MODULE_REGISTER (VtHub, CONFIG_VT_HUB_LOG_LEVEL) | |
| float | vt_stick_percent (uint64_t stick) |
| static bool | try_init_async (const device *uart_dev) |
| static bool | try_init_irq (const device *uart_dev) |
| static int | vthub_sys_init (void) |
| SYS_INIT (vthub_sys_init, APPLICATION, CONFIG_APPLICATION_INIT_PRIORITY) | |
变量 | |
| static VtHubDataInternal | s_data |
| #define DT_DRV_COMPAT one_framework_vt_hub |
| LOG_MODULE_REGISTER | ( | VtHub | , |
| CONFIG_VT_HUB_LOG_LEVEL | ) |