Crates.io | escw-mcu |
lib.rs | escw-mcu |
version | 0.1.0 |
source | src |
created_at | 2024-07-18 06:01:32.91241 |
updated_at | 2024-07-20 15:29:48.696951 |
description | Embedded software C wrapper of MCU. |
homepage | https://github.com/khose-ie/escw-mcu |
repository | https://github.com/khose-ie/escw-mcu |
max_upload_size | |
id | 1307017 |
size | 27,532 |
A trait interface for doing the OOP wrapper for the C language code of MCU firmware libraries. It could not work independentlly, it should work with an implementation crate for all trains in this crate.
The feature of this crate is to divide the code by the different peripherals of a MCU.
Features | Description |
---|---|
io |
Enable the GPIO related trait and definations. |
uart |
Enable the U(S)ART related trait and definations. |
By default, all features are not be set as the default feature, because every peripheral may not be used in a project.
So, please open the related features if you use this peripheral in your project.
[dependencies]
escw-mcu = { version = "0.0.1", feature = ["io", "uart"] }