imxrt-hal 0.5.5
Add embedded-hal 1 implementations for the following drivers:
- GPIO
- LPUART
- LPI2C
Introduce LPSPI improvements:
- Add additional checks for LPSPI frame sizes.
- Rework LPSPI clock settings, initialization, and disable.
- Add
flush()
method. - Add
soft_reset()
method. - Allow users to change the mode while enabled. Deprecate the corresponding
method on theDisabled
helper. - Allow users to change the watermark while enabled. Deprecate the corresponding
method on theDisabled
helper.
Change how the LPSPI driver manages the FIFOs. As a result of this change, the
driver never returns the Busy
or NoData
errors through the embedded-hal
interfaces. Instead of returning Busy
, the driver blocks until there's space in
the FIFO. If the caller provides an empty buffer, then the result is OK.
The LPSPI embedded-hal (0.2) implementations will implicitly flush after blocking
I/O. Users can rely on this behavior to synchronize external components.