7.7.3. 调试指南

7.7.3.1. 调试开关

在 ZX-RTT 中 RTP 驱动的Log控制接口共用了全局的 ulog 接口。

7.7.3.2. 查看控制器状态

在 RTP 驱动初始化成功后,会在shell命令行中注册生成一个 rtp_status 命令,其中打印了当前的配置及状态信息:

aic /> rtp_status
In RTP controller V1.00:
Mode hw 2/ sw 2, RTP enale 1, Press detect enable 1
Pressure enable 1, max 800, x-plate 235, y-plate 0
Sample period: 15 ms, Fuzz: 0