Embedded HAL defines a standard API for I2C Operations ... Let's wrap the I2C ioctl() Commands and expose as Rust Embedded HAL interfaces

github.com/lupyuen/rust-i2c-nu

Follow

Still having problems with I2C Writes ... And the peculiar I2C Sub Addresses ... Grrr 😬

github.com/lupyuen/rust-i2c-nu

now writes correctly to I2C Registers! 🎉 There's an extra I2C Read at the end, but it should be harmless

github.com/lupyuen/rust-i2c-nu

What happens if writes to an I2C Register without reading it afterwards? The I2C Write gets truncated or zeroed 🤔

github.com/lupyuen/rust-i2c-nu

Embedded HAL for Apache RTOS has been published on crates.io ... Ready to be used in your own NuttX Rust Apps! 👍

github.com/lupyuen/rust-i2c-nu

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.