pub type Register = MaybeArray<RegisterInfo>;
Expand description
A single register or array of registers. A register is a named, programmable resource that belongs to a peripheral.
Aliased Type§
enum Register {
Single(RegisterInfo),
Array(RegisterInfo, DimElement),
}
Variants§
Implementations§
source§impl Register
impl Register
sourcepub fn validate_all(&self, lvl: ValidateLevel) -> Result<(), SvdError>
pub fn validate_all(&self, lvl: ValidateLevel) -> Result<(), SvdError>
Validate the Register
recursively