[−][src]Crate tmc2209
Modules
reg | Declaration of the TMC2209 registers and their implementations. |
Structs
ReadRequest | The read access request datagram. |
ReadResponse | The read access response datagram. |
Reader | A serial reader, for reading responses via the TMC2209's UART interface. |
WriteRequest | The write access request datagram. |
Constants
MASTER_ADDR | Responses are always addressed to the master with this value. |
SYNC_AND_RESERVED | The first four bits for synchronisation, the last four are zeroed reserved bytes. |
Traits
ReadableRegister | Implemented for all registers that can be read from. |
Register | Implemented for all register types. |
WritableRegister | Implemented for all registers that can be written to. |
Functions
await_read | Blocks and attempts to read a register from the given UART receiver. |
await_read_response | Blocks and attempts to read a response from the given UART receiver. |
crc | Cyclic redundancy check. |
read_request | Construct a new read access datagram for register |
send_read_request | Construct a read access datagram for register |
send_write_request | Construct a write access datagram for register |
write_request | Construct a new write access datagram for register |