Crate svd_parser [−] [src]
CMSIS-SVD file parser
Usage
extern crate svd_parser as svd; use std::fs::File; use std::io::Read; fn main() { let xml = &mut String::new(); File::open("STM32F30x.svd").unwrap().read_to_string(xml); println!("{:?}", svd::parse(xml)); }
References
Structs
BitRange | |
Defaults |
Register default properties |
Device | |
EnumeratedValue | |
EnumeratedValues | |
Field | |
Interrupt | |
Peripheral | |
RegisterArrayInfo | |
RegisterInfo | |
WriteConstraintRange |
Enums
Access | |
Register | |
Usage | |
WriteConstraint |
Functions
parse |
Parses the contents of a SVD file (XML) |