Jesse Braham 220f812625
Peripheral ref/sha (#312)
* Add SHA to list of peripherals to be created

* Refactor SHA peripheral to use PeripheralRef

* Update SHA examples to get them building again
2022-12-14 12:19:53 +00:00

50 lines
658 B
Rust

pub use pac::Interrupt;
use crate::pac; // We need to export this for users to use
crate::peripherals! {
APB_CTRL,
APB_SARADC,
ASSIST_DEBUG,
DMA,
ECC,
EFUSE,
EXTMEM,
GPIO,
I2C0,
INTERRUPT_CORE0,
IO_MUX,
LEDC,
RNG,
RTC_CNTL,
SENSITIVE,
SHA,
SPI0,
SPI1,
SPI2,
SYSTEM,
SYSTIMER,
TIMG0,
UART0,
UART1,
XTS_AES,
}
mod peripherals {
pub use super::pac::*;
crate::create_peripherals! {
I2C0,
RNG,
SHA,
SPI0,
SPI1,
SPI2,
SYSTIMER,
UART0,
UART1,
SYSTEM,
LEDC,
}
}