Releases: YuhanLiin/msp430fr2x5x-hal
Releases · YuhanLiin/msp430fr2x5x-hal
0.5.0
Additions
- Add support for low power modes
- Add SPI slave support. This includes modifying SPI configuration flow and
SpiErr. - Add support for I2C multi-master, slave, and master-slave roles.
- Add support for Smart Analog Combo and Enhanced Comparator modules (MSP430FR23xx only)
- Add support for reading from / writing to backup memory and information memory
- Add support for hardware CRC module
- Add implementations for embedded-hal 1.0 traits (including embedded-io and embedded-hal-nb).
- Support for delays when using sub-1MHz clock sources (e.g. ACLK, VLOCLK).
- Add methods to enable the internal voltage reference and temperature sensor.
- Add additional generic delay implementations for eh-0.2.7 DelayMs trait (u8, u32, i32).
- Derive
DebugandCopyforRecvError.
Changes
- MSRV updated to nightly-2023-09-01 (1.82) due to
msp430-rt0.4.1. - Gate embedded-hal 0.2.7 implementations behind
embedded-hal-02feature. - Expose functionality from the traits dropped between eh-0.2.7 and eh-1.0 (ADC, timers, RTC, watchdog, etc.) as methods on structs instead.
- The SPI struct has been renamed from
SpiBustoSpito avoid naming conflicts with the new embedded-hal 1.0 traitSpiBus. - Ensure crate builds successfully back to
nightly-2023-09-01. - Replace public references to
void::Voidwithcore::convert::Infallible.
Bugfixes
- Fix SPI flushing bug.
- Fix GPIO pins labelled with incorrect SPI functionality for eUSCI A0 and A1.
- Fixed a bug that would sometimes cause an infinite loop during clock configuration (same bug mentioned in v0.4.0).
- Bring I2C implementation inline with the contracts mentioned in embedded-hal.
0.4.1
0.4.0
What's changed
- Add support for ADC interface
- Add support for SPI interface
- Add support for I2C interface
- Add
Delayobject, allowing for millisecond delays - Change
ClockConfig::freezeto returnDelayin addition to its other return values - Mitigate issue of device hanging after clock configuration by adding NOPs
Version 0.1.0
Initial release