A GPIO driver in Rust
A GPIO driver in Rust
[Kernel] Posted Jul 19, 2021 15:33 UTC (Mon) by corbet
As an example of what a "real" device driver in Rust would look like, Wedson Almeida Filho has posted a translation of the PL061 GPIO driver alongside the original. For ease of reading, the resulting HTML has been reformatted a bit and placed below; viewing in a wide window is recommended.