[−][src]Crate svd_parser
CMSIS-SVD file parser
Usage
use 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
Re-exports
pub use svd::*; |
Modules
| elementext | SVD Element Extensions. This module is extends xmltree::Element objects with convenience methods |
| error | SVD Errors. This module defines error types and messages for SVD parsing and encoding |
| parse | Parse traits. These support parsing of SVD types from XML |
| svd | SVD objects. This module defines components of an SVD along with parse and encode implementations |
| types | Shared primitive types for use in SVD objects. |
Functions
| parse | Parses the contents of an SVD (XML) string |