svd-generator 0.4.3

Converts device information from flattened device tree into an SVD description
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::Result;

pub mod syscfg0;
pub mod syscfg1;
pub mod syscfg2;
pub mod test;

/// Creates StarFive JH7110 VOUT SYSCON compatible register definitions.
pub fn create() -> Result<Vec<svd::RegisterCluster>> {
    Ok([
        syscfg0::create()?,
        syscfg1::create()?,
        syscfg2::create()?,
        test::create()?,
    ]
    .into())
}