esp-hal/esp32c3-hal/examples
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
..
adc.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
advanced_serial.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
blinky.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
clock_monitor.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
embassy_hello_world.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
gpio_interrupt.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
hello_rgb.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
hello_world.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
i2c_bmp180_calibration_data.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
i2c_display.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
i2s_read.rs Peripheral ref/gpio (#323) 2022-12-19 14:40:29 +00:00
i2s_sound.rs Peripheral ref/gpio (#323) 2022-12-19 14:40:29 +00:00
ledc.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
pulse_control.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
ram.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
read_efuse.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
rtc_watchdog.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
serial_interrupts.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
sha.rs Peripheral ref/sha (#312) 2022-12-14 12:19:53 +00:00
spi_eh1_device_loopback.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
spi_eh1_loopback.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
spi_loopback_dma.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
spi_loopback.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
systimer.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
timer_interrupt.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
twai.rs Initial TWAI Driver Implementation (#192) 2022-12-22 00:54:06 +00:00
usb_serial_jtag.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
watchdog.rs PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00