svd-generator 0.7.0

Converts device information from flattened device tree into an SVD description
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::Result;

pub mod ac_base;
pub mod base;
pub mod csr;

/// Creates register definitions for OpenEdges Orbit PHY (OPHY) peripherals.
pub fn create() -> Result<Vec<svd::RegisterCluster>> {
    Ok([csr::create()?, base::create()?, ac_base::create()?].into())
}