* wip: initial implementation of transmission only. * Moved TWAI to its own directory and added initial reception of packets. * Added extended id transmit and receive. * Added maybe better code for making packet filters. * Fixed bug with ids and improved methods of copying data to the peripheral. * Added some guards against Bus Off * Added reception of remote frames. * Clean up of comments, etc * Updated TWAI naming and cleaned up example a bit. * Updated bitselector to include better unpacking methods. * Add embedded-can and limit initial TWAI implementation to esp32c3. * Added embedded-can to esp32c3 twai example. * Switched twai filter to using bytestrings. Co-authored-by: dimi <dimi.polonski@gmail.com> * Implemented new() for twai filters. * Clean up TWAI docs and example. * Fix filter constructors and add examples. * pre driver PeripheralRef update. * PeripheralRef/twai * Format comments with nightly rustfmt. * Add gpio PeripheralRef and use volatile for direct register access. Co-authored-by: dimi <dimi.polonski@gmail.com> |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| build.rs | ||
| Cargo.toml | ||
| README.md | ||
esp-hal-common
no_std HAL implementations for the peripherals which are common among Espressif devices. Implements a number of the traits defined by embedded-hal.
This crate should not be used directly; you should use one of the device-specific HAL crates instead:
Documentation
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.