bounded-registers
Using Type-Level Programming in Rust to Make Safer Hardware Abstractions (by auxoncorp)
BitBang_I2C
A software I2C implementation to run on any GPIO pins on any system (by bitbank2)
bounded-registers | BitBang_I2C | |
---|---|---|
3 | 2 | |
50 | 221 | |
- | - | |
0.0 | 1.4 | |
over 2 years ago | 11 months ago | |
Rust | C++ | |
MIT License | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bounded-registers
Posts with mentions or reviews of bounded-registers.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-03.
-
What Is Type-Level Programming?
This sort of thing is something we abused about Rust quite some time ago to make safer interfaces to low-level hardware.
https://blog.auxon.io/2019/10/25/type-level-registers/
-
Type-level Bubble Sort in Rust: Part 2
A much more practically useful type-level programming in Rust A macro to define type-level logic with value-level syntax in Rust Type-level Brainfuck in Rust "Gentle Intro to Type-level Recursion in Rust" Type-level registers in Rust Type-level quicksort in Scala" Type-level sorting algorithms in Haskell A repo with functions and algorithms implemented purely on types in TypeScript
- Writing embedded firmware using Rust
BitBang_I2C
Posts with mentions or reviews of BitBang_I2C.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-03.
-
What Is Type-Level Programming?
I'm sure you mean "nobody" not nobody, otherwise this doesn't exist: https://github.com/bitbank2/BitBang_I2C (and plenty of others, this was just the first github link google gave me). There's quite a few articles suggesting to bit bang i2c on tiny MCUs also for various memory/code size/etc reasons.
I suspect trivial to do in C++ really should be "trivial" too.
-
BMP280 and MPU6050 together, both sensors use SDA A4 and SCL on A5 Are there other analog pins where I can connect the MPU? for example in A6 and A7
A4/A5 are the only I2C-capable pins, unless you want to bit-bang the protocol.
What are some alternatives?
When comparing bounded-registers and BitBang_I2C you can also consider the following projects:
hubris - A lightweight, memory-protected, message-passing kernel for deeply embedded systems.
meta-typing - 📚 Functions and algorithms implemented purely with TypeScript's type system
tyrade - A pure functional language for type-level programming in Rust
humility - Debugger for Hubris
esp32 - Peripheral access crate for the ESP32
type-level-sort - im so smart please hire me
stm32-rs - Embedded Rust device crates for STM32 microcontrollers