esp-hal/esp32c2-hal/examples
Alexander Ananiev 3a456bb9dd
Add type for gpio::AnyPin (#1067)
This makes it possible to safely implement the InputPin and OutputPin
traits for AnyPin. Now you can convert any pin to AnyPin with the
appropriate type and use it in other library modules

Added:
- Peripheral implementation for AnyPin
- Implementation of Pin for AnyPin
- Implementation of OutputPin for AnyPin with type IsOutputPin
- Implementation of InputPin for AnyPin with type IsInputPin
- Upgrade types for AnyPin (for example InputOutputAnalogPinType ->
InputOutputPinType)
- Implementation of From<Gpio> for AnyPin with the appropriate type

Changed:
- The Gpio::degrage method returns AnyPin with the appropriate type
2024-02-08 07:29:30 +00:00
..
adc_cal.rs Rename the ADC constructor to new, make it infallible (#1133) 2024-02-01 11:51:05 +00:00
adc.rs Rename the ADC constructor to new, make it infallible (#1133) 2024-02-01 11:51:05 +00:00
advanced_serial.rs No longer publicly expose the PeripheralClockControl struct (#817) 2023-09-26 09:07:57 -07:00
blinky_erased_pins.rs Add type for gpio::AnyPin (#1067) 2024-02-08 07:29:30 +00:00
blinky.rs Update all examples to remove unnecessary disabling of watchdogs (#768) 2023-08-31 07:17:12 -07:00
clock_monitor.rs Unify the low-power peripheral names (RTC_CNTL and LP_CLKRST to LPWR) (#1064) 2024-01-08 14:00:26 +00:00
crc.rs No longer publicly expose the PeripheralClockControl struct (#817) 2023-09-26 09:07:57 -07:00
debug_assist.rs Remove unnecessary riscv::interrupt::enable() from examples (#936) 2023-11-14 09:28:39 -08: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 Fix time-driver-timg timer1 (#1091) 2024-01-17 16:20:46 +00:00
embassy_i2c.rs Fix time-driver-timg timer1 (#1091) 2024-01-17 16:20:46 +00:00
embassy_multiprio.rs Fix time-driver-timg timer1 (#1091) 2024-01-17 16:20:46 +00:00
embassy_serial.rs Fix time-driver-timg timer1 (#1091) 2024-01-17 16:20:46 +00:00
embassy_spi.rs Refactor DMA to make API more consistent across devices (#1125) 2024-01-30 14:58:48 +00:00
embassy_wait.rs Fix time-driver-timg timer1 (#1091) 2024-01-17 16:20:46 +00:00
gpio_interrupt.rs Remove unnecessary riscv::interrupt::enable() from examples (#936) 2023-11-14 09:28:39 -08: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 Refactor DMA to make API more consistent across devices (#1125) 2024-01-30 14:58:48 +00: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 Unify the low-power peripheral names (RTC_CNTL and LP_CLKRST to LPWR) (#1064) 2024-01-08 14:00:26 +00:00
rtc_watchdog.rs Unify the low-power peripheral names (RTC_CNTL and LP_CLKRST to LPWR) (#1064) 2024-01-08 14:00:26 +00:00
serial_interrupts.rs Remove unnecessary riscv::interrupt::enable() from examples (#936) 2023-11-14 09:28:39 -08:00
sha.rs Assert that the hardware and software digests match for SHA examples (#1026) 2023-12-14 15:04:46 +00: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 Remove SpiBusDevice and SpiBusController (#978) 2023-11-28 08:55:55 +00:00
spi_eh1_loopback.rs RISC-V: Make atomic emulation opt-in (#904) 2023-11-10 11:51:47 +00:00
spi_halfduplex_read_manufacturer_id.rs RISC-V: Make atomic emulation opt-in (#904) 2023-11-10 11:51:47 +00:00
spi_loopback_dma.rs Refactor DMA to make API more consistent across devices (#1125) 2024-01-30 14:58:48 +00:00
spi_loopback.rs RISC-V: Make atomic emulation opt-in (#904) 2023-11-10 11:51:47 +00:00
spi_slave_dma.rs Refactor DMA to make API more consistent across devices (#1125) 2024-01-30 14:58:48 +00:00
systimer.rs Miscellaneous pre-release fixes (#883) 2023-10-31 06:50:54 -07:00
timer_interrupt.rs Remove unnecessary riscv::interrupt::enable() from examples (#936) 2023-11-14 09:28:39 -08:00
watchdog.rs No longer publicly expose the PeripheralClockControl struct (#817) 2023-09-26 09:07:57 -07:00