Type Alias svd_rs::cluster::Cluster

source ·
pub type Cluster = MaybeArray<ClusterInfo>;
Expand description

Cluster describes a sequence of neighboring registers within a peripheral.

Aliased Type§

enum Cluster {
    Single(ClusterInfo),
    Array(ClusterInfo, DimElement),
}

Variants§

§

Single(ClusterInfo)

A single instance

§

Array(ClusterInfo, DimElement)

An array of instances

Implementations§

source§

impl Cluster

source

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

Validate the Cluster recursively