esp-hal/esp32c2-hal/examples
sanxus c196b67587
Improve spi master constructor (#901)
* make pins optional for Spi::new (master, full-duplex mode)

* add additional method to setup spi pins (master, full-duplex mode)

* add additional method to setup spi pins (master, half-duplex mode)

* remove generic type parameters for Spi::new

* update documentation

* make `with_pins` could be chained

* update CHANGELOG.md

* update CHANGELOG.md

* make the return value of a method like `with_{*}` owned

* fix (maybe?) all broken examples caused by the change (esp32-hal)

* fix (maybe?) all broken examples caused by the change (esp32c2-hal)

* fix (maybe?) all broken examples caused by the change (esp32c3-hal)

* fix (maybe?) all broken examples caused by the change (esp32c6-hal)

* fix (maybe?) all broken examples caused by the change (esp32h2-hal)

* fix (maybe?) all broken examples caused by the change (esp32s2-hal)

* fix (maybe?) all broken examples caused by the change (esp32s3-hal)

* rerun 'cargo fmt' for esp-hal-common

* rerun 'cargo fmt' for the rest of examples
2023-11-08 12:11:58 +01:00
..
adc_cal.rs Provide ADC values in mV instead of requiring the user to scale them (#836) 2023-10-30 10:16:45 -07:00
adc.rs No longer publicly expose the PeripheralClockControl struct (#817) 2023-09-26 09:07:57 -07:00
advanced_serial.rs No longer publicly expose the PeripheralClockControl struct (#817) 2023-09-26 09:07:57 -07:00
blinky_erased_pins.rs Update all examples to remove unnecessary disabling of watchdogs (#768) 2023-08-31 07:17:12 -07:00
blinky.rs Update all examples to remove unnecessary disabling of watchdogs (#768) 2023-08-31 07:17:12 -07:00
clock_monitor.rs Update all examples to remove unnecessary disabling of watchdogs (#768) 2023-08-31 07:17:12 -07:00
crc.rs No longer publicly expose the PeripheralClockControl struct (#817) 2023-09-26 09:07:57 -07:00
debug_assist.rs No longer publicly expose the PeripheralClockControl struct (#817) 2023-09-26 09:07:57 -07:00
direct-vectoring.rs No longer publicly expose the PeripheralClockControl struct (#817) 2023-09-26 09:07:57 -07:00
ecc.rs No longer publicly expose the PeripheralClockControl struct (#817) 2023-09-26 09:07:57 -07:00
embassy_hello_world.rs embassy #[main] convenience for RISC-V / Xtensa (#841) 2023-10-11 12:10:14 +01:00
embassy_i2c.rs embassy #[main] convenience for RISC-V / Xtensa (#841) 2023-10-11 12:10:14 +01:00
embassy_serial.rs Fix Async UART (#871) 2023-10-25 10:25:25 -07:00
embassy_spi.rs Improve spi master constructor (#901) 2023-11-08 12:11:58 +01:00
embassy_wait.rs embassy #[main] convenience for RISC-V / Xtensa (#841) 2023-10-11 12:10:14 +01:00
gpio_interrupt.rs Update all examples to remove unnecessary disabling of watchdogs (#768) 2023-08-31 07:17:12 -07:00
hello_world.rs No longer publicly expose the PeripheralClockControl struct (#817) 2023-09-26 09:07:57 -07:00
i2c_bmp180_calibration_data.rs No longer publicly expose the PeripheralClockControl struct (#817) 2023-09-26 09:07:57 -07:00
i2c_display.rs No longer publicly expose the PeripheralClockControl struct (#817) 2023-09-26 09:07:57 -07:00
interrupt_preemption.rs No longer publicly expose the PeripheralClockControl struct (#817) 2023-09-26 09:07:57 -07:00
ledc.rs No longer publicly expose the PeripheralClockControl struct (#817) 2023-09-26 09:07:57 -07:00
qspi_flash.rs Improve spi master constructor (#901) 2023-11-08 12:11:58 +01:00
read_efuse.rs Update all examples to remove unnecessary disabling of watchdogs (#768) 2023-08-31 07:17:12 -07:00
rng.rs Update all examples to remove unnecessary disabling of watchdogs (#768) 2023-08-31 07:17:12 -07:00
rtc_time.rs Update all examples to remove unnecessary disabling of watchdogs (#768) 2023-08-31 07:17:12 -07:00
rtc_watchdog.rs Disable all watchdog timers at startup by default (#763) 2023-08-30 08:54:01 -07:00
serial_interrupts.rs No longer publicly expose the PeripheralClockControl struct (#817) 2023-09-26 09:07:57 -07:00
sha.rs No longer publicly expose the PeripheralClockControl struct (#817) 2023-09-26 09:07:57 -07:00
software_interrupts.rs Update all examples to remove unnecessary disabling of watchdogs (#768) 2023-08-31 07:17:12 -07:00
spi_eh1_device_loopback.rs Improve spi master constructor (#901) 2023-11-08 12:11:58 +01:00
spi_eh1_loopback.rs Improve spi master constructor (#901) 2023-11-08 12:11:58 +01:00
spi_halfduplex_read_manufacturer_id.rs Improve spi master constructor (#901) 2023-11-08 12:11:58 +01:00
spi_loopback_dma.rs Improve spi master constructor (#901) 2023-11-08 12:11:58 +01:00
spi_loopback.rs Improve spi master constructor (#901) 2023-11-08 12:11:58 +01:00
spi_slave_dma.rs Prelude improvements/fixes (#860) 2023-10-20 06:56:17 -07:00
systimer.rs Miscellaneous pre-release fixes (#883) 2023-10-31 06:50:54 -07:00
timer_interrupt.rs No longer publicly expose the PeripheralClockControl struct (#817) 2023-09-26 09:07:57 -07:00
watchdog.rs No longer publicly expose the PeripheralClockControl struct (#817) 2023-09-26 09:07:57 -07:00