Releases: imxrt-rs/imxrt-hal
imxrt-hal 0.5.7
imxrt-hal 0.5.6
- Add LPSPI low-level clock configuration APIs.
- Add LPSPI
set_peripheral_enable
to configure the driver as a SPI peripheral.
When the LPI2C driver concludes a transaction, it ensures that the controller
is idle before returning.
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.
imxrt-hal v0.5.4
Add FlexIO CCM APIs for 1000 targets.
imxrt-hal v0.5.3
Add FlexIO clock gates.
imxrt-hal 0.5.2
Fix a bug in the LPSPI driver that prevented transfers from reading data back into the caller's buffer. The LPSPI transfer now waits for all data before returning to the caller.
Add LPSPI API to configure the sample point.
imxrt-hal 0.5.1
Add support for i.MX RT 1020 processors. Enable support with the "imxrt1020"
imxrt-hal feature, and separately select your imxrt-ral feature.
Deprecate the clko2::Selection::TracClk
item. Prefer the correctly-spelled
variant, clko2::Selection::TraceClk
.
Deprecate the following items in the timer
module:
timer::BlockingPitChan
and constructorfrom_pit_channel
.timer::RawCountDownPitChan
and constructorfrom_pit_channel
.
The type names differ from *PitChain
by one letter. Prefer the spellings
without *Chan
and *_channel
.
Add support for executing in-repo examples on i.MX RT 1060 EVKs.
Release 0.4.5
Added
You can now configure GPIO inputs to trigger interrupts. See the GPIO
documentation for the new API.
Fixed
The TRNG signals a rand_core
custom error code.
Release 0.4.4
Added calls to set pin muxing in the PWM driver. This fixes a regression in
the PWM driver that was introduced in the 0.4 HAL release.
0.4.2
The 0.4.2 imxrt-hal
release contains three new peripherals, and a fix for existing peripheral errors.
Added
- Basic support for the secure real time clock (SRTC) peripheral, which
continues to track time while the SNVS low-power domain remains powered. - Add ADC channels. The channels implement the
embedded-hal::adc::Oneshot
trait. - Preliminary support for the TRNG, with an implementation of embedded_hal's
rng::Read
trait. Includes support forrand_core::RngCore
behind the
optional"rand_core"
feature.
Fixed
- Ensure that I2C and SPI errors can only be created by the HAL crate, and not by end users.