Satisfied by a class that derives from UartInterface<Port> and implements the required hooks with exactly the types above.
More...
#include <tmc9660_uart_interface.hpp>
template<typename Port>
concept tmc9660::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 tmc9660_uart_interface.hpp:82
BusStatus
What a UART port reports for one exchange.
Definition tmc9660_types.hpp:180
Satisfied by a class that derives from UartInterface<Port> and implements the required hooks with exactly the types above.
- Template Parameters
-