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
11
12
13
14
15
use crate::Result;

pub mod cache_control;
pub mod event_control;
pub mod event_counter;

/// Creates SiFive U74(MC) L2 Performance Monitor register definitions.
pub fn create() -> Result<Vec<svd::RegisterCluster>> {
    Ok([
        cache_control::create()?,
        event_control::create()?,
        event_counter::create()?,
    ]
    .into())
}