pub struct Peripherals {Show 16 fields
pub pins: Pins,
pub uart0: UART0,
pub uart1: UART1,
pub i2c0: I2C0,
pub i2s0: I2S0,
pub spi1: SPI1,
pub spi2: SPI2,
pub adc1: ADC1,
pub adc2: ADC2,
pub can: CAN,
pub ledc: LEDC,
pub rmt: RMT,
pub modem: Modem,
pub timer00: TIMER00,
pub timer10: TIMER10,
pub twdt: TWDT,
}
§Safety
Care should be taken not to instantiate the Peripherals structure, if it is already instantiated and used elsewhere
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
[From]<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.