device-driver icon indicating copy to clipboard operation
device-driver copied to clipboard

A toolkit to create better Rust device drivers, faster

Results 50 device-driver issues
Sort by recently updated
recently updated
newest added

To solve issue described in #15, I implemented simple PoC adding that functionality. I'm not familiar with architecture here, so it might not be ideal, but looks like it works...

I'm looking into implementing driver for mcp2515, and I'm trying to create nice SPI registers abstraction. The issue is that for many operations (eg. marking irq as acknowledged) require use...

enhancement
Lib

I have noticed that generating dual definitions within a register works fine, for example: ```rust // #[generate(Debug)] tuning_r(RW, 0x1d, 1) = { dl_tune: u8 = RW 4..=7, lead_lag: u8 =...

A way to say to the macro that I do not want a fallible interface for register decoding (enums). So if it can detect that an fallible interface would be...

Syntax should be left the same, but this would support more complex macros more easily

enhancement

Hey everyone! I could use some feedback on this, so any is appreciated. ## Goal of the crate I've done a talk at the Oxidize conf about writing the 'best'...

help wanted

Hi there, thanks for the great crate. I propose adding validation functionality for the field definitions so that the specified bit-ranges cover exactly all specified register `SIZE_BITS` and so that...

We're running into some problems: - DLS parsing is overly strict - Try changing the order of the consts and types - User errors can be better - Processing of...

Right now converting names from pascal case to snake case can lead to some undesirable word boundaries. For example `I2cSettings` turns into `i_2_c_settings` in snake case and `I2CSettings` (note the...