|
HardFOC Core
API reference
|
Functions | |
| template<typename Driver , typename Setter > | |
| bool | RetuneHostBaud (Driver &driver, const Setter &set_host_baud, std::uint32_t bps) |
| al::BaudRate | BaudFromBps (std::uint32_t bps) noexcept |
| bool | IsSupportedBaudBps (std::uint32_t bps) noexcept |
| void | SetBitmap (std::uint8_t *bm, std::size_t bytes, std::uint8_t addr) noexcept |
Variables | |
| constexpr std::uint32_t | kAllBaudsBps [] = { 4800, 9600, 19200, 38400, 57600, 115200 } |
|
inlinenoexcept |
|
inlinenoexcept |
| bool anonymous_namespace{AlicatBasis2Handler.cpp}::RetuneHostBaud | ( | Driver & | driver, |
| const Setter & | set_host_baud, | ||
| std::uint32_t | bps | ||
| ) |
Retune the host UART and, when it switched, tell the driver: it waits the Modbus-RTU t3.5 inter-frame gap of the bus baud before every request (2 ms at 38400, about 4 ms at 9600; Modbus over Serial Line 2.5.1.1).
|
inlinenoexcept |
|
constexpr |