svd2rust
pub fn generate( xml: &str, target: Target, nightly: bool) -> Result<Generation, SvdError>
Generates rust code for the specified svd content.