Type Alias svd_rs::peripheral::Peripheral
source · pub type Peripheral = MaybeArray<PeripheralInfo>;
Expand description
A single peripheral or array of peripherals
Aliased Type§
enum Peripheral {
Single(PeripheralInfo),
Array(PeripheralInfo, DimElement),
}
Variants§
Implementations§
source§impl Peripheral
impl Peripheral
sourcepub fn validate_all(&self, lvl: ValidateLevel) -> Result<(), SvdError>
pub fn validate_all(&self, lvl: ValidateLevel) -> Result<(), SvdError>
Validate the Peripheral
recursively