TMC9660 Driver 0.1.0
API reference
Loading...
Searching...
No Matches
tmc9660::UartPort Concept Reference

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>

Concept definition

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

Detailed Description

Satisfied by a class that derives from UartInterface<Port> and implements the required hooks with exactly the types above.

Template Parameters
PortThe port class.