Struct svd_generator::svd::PeripheralCount
source · pub struct PeripheralCount {
pub i2c: usize,
pub qspi: usize,
pub spi: usize,
pub uart: usize,
}Expand description
Represents the number of peripherals in the SVD device description.
Fields§
§i2c: usizeNumber of I2C peripherals
qspi: usizeNumber of QSPI peripherals
spi: usizeNumber of SPI peripherals
uart: usizeNumber of UART peripherals
Implementations§
source§impl PeripheralCount
impl PeripheralCount
sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new PeripheralCount.
Auto Trait Implementations§
impl RefUnwindSafe for PeripheralCount
impl Send for PeripheralCount
impl Sync for PeripheralCount
impl Unpin for PeripheralCount
impl UnwindSafe for PeripheralCount
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more