esp-hal/esp-hal-common
Alex Bohm 1f6803776c
Initial TWAI Driver Implementation (#192)
* 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>
2022-12-22 00:54:06 +00:00
..
src Initial TWAI Driver Implementation (#192) 2022-12-22 00:54:06 +00:00
.gitignore Add SHA accelerator implementation (#257) 2022-11-28 14:20:31 -08:00
build.rs Support ESP32-C2 with 26MHz Xtal 2022-12-13 05:15:10 -08:00
Cargo.toml Initial TWAI Driver Implementation (#192) 2022-12-22 00:54:06 +00:00
README.md Fix clippy warnings, update READMEs (#284) 2022-11-30 10:13:40 -08:00

esp-hal-common

Crates.io docs.rs Crates.io Matrix

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:

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.