ESP32 UART CommInterface for BNO08x RVC mode.
More...
#include <esp32_uart_rvc_bus.hpp>
ESP32 UART CommInterface for BNO08x RVC mode.
Reads raw UART bytes that the BNO085 driver's internal RVC frame parser processes. The driver calls Read() one byte at a time to accumulate and validate 19-byte RVC frames.
◆ Esp32UartRvcBus() [1/2]
| Esp32UartRvcBus::Esp32UartRvcBus |
( |
| ) |
|
|
inline |
◆ Esp32UartRvcBus() [2/2]
| Esp32UartRvcBus::Esp32UartRvcBus |
( |
const UartConfig & | config | ) |
|
|
inlineexplicit |
◆ ~Esp32UartRvcBus()
| Esp32UartRvcBus::~Esp32UartRvcBus |
( |
| ) |
|
|
inline |
◆ Close()
| void Esp32UartRvcBus::Close |
( |
| ) |
|
|
inlinenoexcept |
◆ DataAvailable()
| bool Esp32UartRvcBus::DataAvailable |
( |
| ) |
|
|
inlinenoexcept |
◆ Delay()
| void Esp32UartRvcBus::Delay |
( |
uint32_t | ms | ) |
|
|
inlinenoexcept |
◆ GetInterfaceType()
◆ GetTimeUs()
| uint32_t Esp32UartRvcBus::GetTimeUs |
( |
| ) |
|
|
inlinenoexcept |
◆ GpioSet()
Set a control pin to the specified signal state (required by CommInterface)
Maps GpioSignal to physical level based on pin polarity:
- RSTN: active-low (ACTIVE → GPIO 0, INACTIVE → GPIO 1)
- BOOTN: active-low (ACTIVE → GPIO 0, INACTIVE → GPIO 1)
- WAKE/PS0/PS1: not wired in this implementation (no-op)
- Parameters
-
| pin | Which control pin to drive |
| signal | ACTIVE to assert, INACTIVE to deassert |
◆ Open()
| bool Esp32UartRvcBus::Open |
( |
| ) |
|
|
inlinenoexcept |
◆ Read()
| int Esp32UartRvcBus::Read |
( |
uint8_t * | data, |
|
|
uint32_t | length ) |
|
inlinenoexcept |
Read raw bytes from UART.
The BNO085 driver calls this one byte at a time to feed the RVC frame parser. Non-blocking: returns 0 immediately if no data available.
◆ Write()
| int Esp32UartRvcBus::Write |
( |
const uint8_t * | , |
|
|
uint32_t | ) |
|
inlinenoexcept |
The documentation for this class was generated from the following file: