protocol
上游未提供说明。
protocol/UartRxSync/UartRxSync.hpp:320.1.0+855c407f828e20 / 23 个公开 API 符号没有说明。
上游未提供说明。
protocol/UartRxSync/UartRxSync.hpp:32带帧头同步功能的串口接收器,基于中断和 DMA。 典型使用场景是固定帧格式传感器:先用中断逐字节找帧头,再交给 DMA 接收整帧剩余部分。 这样既能保持同步,也能减少每个字节都进中断带来的开销。
protocol/UartRxSync/UartRxSync.hpp:56
protocol::UartRxSync< HeaderLen, FrameLen, DecodeWithHeader >::UartRxSync (UART_HandleTypeDef *huart)
上游未提供说明。
protocol/UartRxSync/UartRxSync.hpp:62
void protocol::UartRxSync< HeaderLen, FrameLen, DecodeWithHeader >::_decode ()
上游未提供说明。
protocol/UartRxSync/UartRxSync.hpp:230
bool protocol::UartRxSync< HeaderLen, FrameLen, DecodeWithHeader >::check_header ()
上游未提供说明。
protocol/UartRxSync/UartRxSync.hpp:213
virtual bool protocol::UartRxSync< HeaderLen, FrameLen, DecodeWithHeader >::decode (const uint8_t data[DecodeWithHeader ? FrameLen :FrameLen - HeaderLen])=0
上游未提供说明。
protocol/UartRxSync/UartRxSync.hpp:198
void protocol::UartRxSync< HeaderLen, FrameLen, DecodeWithHeader >::errorHandler ()
上游未提供说明。
protocol/UartRxSync/UartRxSync.hpp:143
virtual const std::array< uint8_t, HeaderLen > & protocol::UartRxSync< HeaderLen, FrameLen, DecodeWithHeader >::header () const =0
上游未提供说明。
protocol/UartRxSync/UartRxSync.hpp:197
UART_HandleTypeDef * protocol::UartRxSync< HeaderLen, FrameLen, DecodeWithHeader >::huart () const
上游未提供说明。
protocol/UartRxSync/UartRxSync.hpp:194
bool protocol::UartRxSync< HeaderLen, FrameLen, DecodeWithHeader >::isConnected () const
上游未提供说明。
protocol/UartRxSync/UartRxSync.hpp:188
void protocol::UartRxSync< HeaderLen, FrameLen, DecodeWithHeader >::receiveCallback ()
上游未提供说明。
protocol/UartRxSync/UartRxSync.hpp:86
bool protocol::UartRxSync< HeaderLen, FrameLen, DecodeWithHeader >::startReceive ()
上游未提供说明。
protocol/UartRxSync/UartRxSync.hpp:76
virtual uint32_t protocol::UartRxSync< HeaderLen, FrameLen, DecodeWithHeader >::timeout () const
上游未提供说明。
protocol/UartRxSync/UartRxSync.hpp:200
virtual protocol::UartRxSync< HeaderLen, FrameLen, DecodeWithHeader >::~UartRxSync ()=default
上游未提供说明。
protocol/UartRxSync/UartRxSync.hpp:63上游未提供说明。
DMAActiveReceivingStoppedWaitHead
size_t protocol::UartRxSync< HeaderLen, FrameLen, DecodeWithHeader >::hdr_idx_
上游未提供说明。
protocol/UartRxSync/UartRxSync.hpp:210
UART_HandleTypeDef* protocol::UartRxSync< HeaderLen, FrameLen, DecodeWithHeader >::huart_
上游未提供说明。
protocol/UartRxSync/UartRxSync.hpp:203
uint8_t protocol::UartRxSync< HeaderLen, FrameLen, DecodeWithHeader >::rx_buffer_[FrameLen] [FrameLen]
上游未提供说明。
protocol/UartRxSync/UartRxSync.hpp:209
SyncState protocol::UartRxSync< HeaderLen, FrameLen, DecodeWithHeader >::state_
上游未提供说明。
protocol/UartRxSync/UartRxSync.hpp:205
service::Watchdog protocol::UartRxSync< HeaderLen, FrameLen, DecodeWithHeader >::watchdog_
上游未提供说明。
protocol/UartRxSync/UartRxSync.hpp:207Deprecated 旧式宏包装,建议直接使用类实例的回调注册方式。 这个宏保留主要是为了兼容旧代码,新的代码请直接调用 RegisterCallback 对应的能力。
protocol/UartRxSync/UartRxSync.hpp:40上游未提供说明。
protocol/UartRxSync/UartRxSync.hpp:42带帧头同步的 UART 接收器。 syhanjin 2026-02-01 通过“找帧头 + DMA 收剩余帧”来降低丢包风险,适合固定帧格式传感器。
protocol/UartRxSync/UartRxSync.hpp