Satisfied by a class that derives from UartInterface<Port> and implements the required hooks with exactly the types above.
More...
#include <tmc5160_uart_interface.hpp>
template<typename Port>
concept tmc5160::UartPort = std::derived_from<Port, UartInterface<Port>> &&
requires {
detail::ExactHook<Port, bool() noexcept>::Take(&Port::EnsureInitialized);
detail::ExactHook<Port,
BusStatus(const uint8_t*, std::
size_t, uint8_t*, std::
size_t,
uint32_t) noexcept>::Take(&Port::Exchange);
}
Satisfied by a class that derives from UartInterface<Port> and implements the required hooks with exa...
Definition tmc5160_uart_interface.hpp:74
BusStatus
Result of one UART exchange as the port reports it.
Definition tmc5160_types.hpp:199
Satisfied by a class that derives from UartInterface<Port> and implements the required hooks with exactly the types above.
- Template Parameters
-