Type Alias svd_rs::register::Register

source ·
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§

§

Single(RegisterInfo)

A single instance

§

Array(RegisterInfo, DimElement)

An array of instances

Implementations§

source§

impl Register

source

pub fn validate_all(&self, lvl: ValidateLevel) -> Result<(), SvdError>

Validate the Register recursively