esp-hal/esp-hal-common/src/peripherals/esp32s3.rs
Scott Mabin f618490dcb
Finish PeripheralRef (#334)
- Remove the mixed pac and generated peripherals, instead all are
  generated.
2023-01-06 11:35:57 +00:00

62 lines
817 B
Rust

use esp32s3 as pac;
// We need to export this for users to use
pub use pac::Interrupt;
// We need to export this in the hal for the drivers to use
pub(crate) use self::peripherals::*;
crate::peripherals! {
AES,
APB_CTRL,
APB_SARADC,
DEBUG_ASSIST,
DMA,
DS,
EFUSE,
EXTMEM,
GPIO,
GPIOSD,
HMAC,
I2C0,
I2C1,
I2S0,
I2S1,
INTERRUPT_CORE0,
INTERRUPT_CORE1,
IO_MUX,
LCD_CAM,
LEDC,
PCNT,
PERI_BACKUP,
PWM0,
PWM1,
RMT,
RNG,
RSA,
RTC_CNTL,
RTC_I2C,
RTCIO,
SENS,
SENSITIVE,
SHA,
SPI0,
SPI1,
SPI2,
SPI3,
SYSTEM,
SYSTIMER,
TIMG0,
TIMG1,
TWAI,
UART0,
UART1,
UART2,
UHCI0,
UHCI1,
USB0,
USB_DEVICE,
USB_WRAP,
WCL,
XTS_AES,
}