|
Fang-Robotics-MCB
Fang Robotics Team Codebase
|
#include "tap/architecture/clock.hpp"#include "tap/architecture/endianness_wrappers.hpp"#include "tap/communication/serial/uart.hpp"#include "tap/drivers.hpp"#include "tap/errors/create_errors.hpp"#include "dji_serial.hpp"
Namespaces | |
| namespace | tap |
| namespace | tap::communication |
| namespace | tap::communication::serial |
Macros | |
| #define | READ(data, length) drivers->uart.read(this->port, data, length) |
| #define READ | ( | data, | |
| length | |||
| ) | drivers->uart.read(this->port, data, length) |
Macro that wraps uart read for ease of readability in code.
| [in] | data | Byte array where the data should be read into. |
| [in] | length | The number of bytes to read. |