We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cc202b commit 0d4918eCopy full SHA for 0d4918e
src/lib.rs
@@ -239,6 +239,7 @@ pub struct ClusterInfo {
239
#[derive(Clone, Debug)]
240
pub struct RegisterInfo {
241
pub name: String,
242
+ pub alternate_register: Option<String>,
243
pub description: String,
244
pub address_offset: u32,
245
pub size: Option<u32>,
@@ -351,6 +352,7 @@ impl RegisterInfo {
351
352
fn parse(tree: &Element) -> RegisterInfo {
353
RegisterInfo {
354
name: try!(tree.get_child_text("name")),
355
+ alternate_register: tree.get_child_text("alternateRegister"),
356
description: try!(tree.get_child_text("description")),
357
address_offset: {
358
try!(parse::u32(try!(tree.get_child("addressOffset"))))
0 commit comments