One Framework 0.1.0
RoboMaster嵌入式框架“一键”解决方案,为你的“创意”服务。
载入中...
搜索中...
未找到
VtHub.cpp 文件参考
#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>
VtHub.cpp 的引用(Include)关系图:

结构体

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
 

宏定义说明

◆ DT_DRV_COMPAT

#define DT_DRV_COMPAT   one_framework_vt_hub

函数说明

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( VtHub ,
CONFIG_VT_HUB_LOG_LEVEL  )