esp-hal/esp32c6-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 Unify the system peripheral (#832) 2023-09-29 08:14:50 -07:00
aes_dma.rs Refactor DMA to make API more consistent across devices (#1125) 2024-01-30 14:58:48 +00:00
aes.rs Unify the system peripheral (#832) 2023-09-29 08:14:50 -07:00
blinky_erased_pins.rs Add type for gpio::AnyPin (#1067) 2024-02-08 07:29:30 +00:00
blinky.rs Unify the system peripheral (#832) 2023-09-29 08:14:50 -07:00
crc.rs Unify the system peripheral (#832) 2023-09-29 08:14:50 -07:00
debug_assist.rs Remove unnecessary riscv::interrupt::enable() from examples (#936) 2023-11-14 09:28:39 -08:00
direct-vectoring.rs Unify the system peripheral (#832) 2023-09-29 08:14:50 -07:00
ecc.rs Unify the system peripheral (#832) 2023-09-29 08:14:50 -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_i2s_read.rs Refactor DMA to make API more consistent across devices (#1125) 2024-01-30 14:58:48 +00:00
embassy_i2s_sound.rs Refactor DMA to make API more consistent across devices (#1125) 2024-01-30 14:58:48 +00:00
embassy_multiprio.rs Fix time-driver-timg timer1 (#1091) 2024-01-17 16:20:46 +00:00
embassy_parl_io_rx.rs Refactor DMA to make API more consistent across devices (#1125) 2024-01-30 14:58:48 +00:00
embassy_parl_io_tx.rs Refactor DMA to make API more consistent across devices (#1125) 2024-01-30 14:58:48 +00:00
embassy_rmt_rx.rs Fix time-driver-timg timer1 (#1091) 2024-01-17 16:20:46 +00:00
embassy_rmt_tx.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_usb_serial_jtag.rs Unify: rename the esp-hal-common package to esp-hal [0/?] (#1131) 2024-01-31 16:26:20 +00:00
embassy_wait.rs Fix time-driver-timg timer1 (#1091) 2024-01-17 16:20:46 +00:00
etm_blinky_systimer.rs Unify the system peripheral (#832) 2023-09-29 08:14:50 -07:00
etm_gpio.rs Unify the system peripheral (#832) 2023-09-29 08:14:50 -07:00
gpio_interrupt.rs Remove unnecessary riscv::interrupt::enable() from examples (#936) 2023-11-14 09:28:39 -08:00
hello_rgb.rs let SmartLedsAdapter take its buffer by value (#1002) 2023-12-06 10:38:45 +00:00
hello_world.rs Unify the system peripheral (#832) 2023-09-29 08:14:50 -07:00
hmac.rs Unify the system peripheral (#832) 2023-09-29 08:14:50 -07:00
i2c_bmp180_calibration_data.rs Unify the system peripheral (#832) 2023-09-29 08:14:50 -07:00
i2c_display.rs Unify the system peripheral (#832) 2023-09-29 08:14:50 -07:00
i2s_read.rs Refactor DMA to make API more consistent across devices (#1125) 2024-01-30 14:58:48 +00:00
i2s_sound.rs Refactor DMA to make API more consistent across devices (#1125) 2024-01-30 14:58:48 +00:00
interrupt_preemption.rs Unify the system peripheral (#832) 2023-09-29 08:14:50 -07:00
ledc.rs Unify the system peripheral (#832) 2023-09-29 08:14:50 -07:00
lp_core_basic.rs Combine the esp-ulp-riscv-hal and esp32c6-lp-hal packages (#1115) 2024-01-26 13:46:51 +00:00
lp_core_uart.rs Combine the esp-ulp-riscv-hal and esp32c6-lp-hal packages (#1115) 2024-01-26 13:46:51 +00:00
mcpwm.rs Unify the system peripheral (#832) 2023-09-29 08:14:50 -07:00
parl_io_rx.rs Refactor DMA to make API more consistent across devices (#1125) 2024-01-30 14:58:48 +00:00
parl_io_tx.rs Refactor DMA to make API more consistent across devices (#1125) 2024-01-30 14:58:48 +00:00
pcnt_encoder.rs Unify the system peripheral (#832) 2023-09-29 08:14:50 -07:00
qspi_flash.rs Refactor DMA to make API more consistent across devices (#1125) 2024-01-30 14:58:48 +00:00
ram.rs Unify the low-power peripheral names (RTC_CNTL and LP_CLKRST to LPWR) (#1064) 2024-01-08 14:00:26 +00:00
read_efuse.rs Unify the system peripheral (#832) 2023-09-29 08:14:50 -07:00
rmt_rx.rs Unify the system peripheral (#832) 2023-09-29 08:14:50 -07:00
rmt_tx.rs Unify the system peripheral (#832) 2023-09-29 08:14:50 -07:00
rng.rs Unify the system peripheral (#832) 2023-09-29 08:14:50 -07:00
rsa.rs fix!: Use u32 words instead of u8 bytes for the RSA driver (#981) 2023-11-29 08:49:53 +00: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
sleep_lpio.rs Unify the low-power peripheral names (RTC_CNTL and LP_CLKRST to LPWR) (#1064) 2024-01-08 14:00:26 +00:00
software_interrupts.rs Unify the system peripheral (#832) 2023-09-29 08:14:50 -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
usb_serial_jtag.rs Remove unnecessary riscv::interrupt::enable() from examples (#936) 2023-11-14 09:28:39 -08:00
watchdog.rs Unify the system peripheral (#832) 2023-09-29 08:14:50 -07:00