Crates.io | smbus-request-parser |
lib.rs | smbus-request-parser |
version | 0.2.0 |
source | src |
created_at | 2021-01-03 22:42:26.880608 |
updated_at | 2021-01-05 11:15:51.074977 |
description | Parse SMBus requests. Register functions to call for each type of write/read request. Agnostic regarding polling, irq, dma usage. |
homepage | |
repository | https://github.com/barafael/smbus-request-parser |
max_upload_size | |
id | 331269 |
size | 27,442 |
This library encapsulates the state machine for handling smbus requests on the module ("slave") side. The only requirements on the hardware driver/implementation is that they generate these events:
Whether these events are generated by polling, interrupts, or dma does not matter. The state machine is agnostic to clock stretching and timing details.