cc430f5137 0.1.0

Peripheral access API for CC430F5137 microcontroller
#[repr(C)]
#[doc = "Register block"]
pub struct RegisterBlock {
    pmapkeyid: Pmapkeyid,
    pmapctl: Pmapctl,
}
impl RegisterBlock {
    #[doc = "0x00 - Port Mapping Key register"]
    #[inline(always)]
    pub const fn pmapkeyid(&self) -> &Pmapkeyid {
        &self.pmapkeyid
    }
    #[doc = "0x02 - Port Mapping control register"]
    #[inline(always)]
    pub const fn pmapctl(&self) -> &Pmapctl {
        &self.pmapctl
    }
}
#[doc = "PMAPKEYID (rw) register accessor: Port Mapping Key register\n\nYou can [`read`](crate::Reg::read) this register and get [`pmapkeyid::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pmapkeyid::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@pmapkeyid`] module"]
#[doc(alias = "PMAPKEYID")]
pub type Pmapkeyid = crate::Reg<pmapkeyid::PmapkeyidSpec>;
#[doc = "Port Mapping Key register"]
pub mod pmapkeyid;
#[doc = "PMAPCTL (rw) register accessor: Port Mapping control register\n\nYou can [`read`](crate::Reg::read) this register and get [`pmapctl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pmapctl::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@pmapctl`] module"]
#[doc(alias = "PMAPCTL")]
pub type Pmapctl = crate::Reg<pmapctl::PmapctlSpec>;
#[doc = "Port Mapping control register"]
pub mod pmapctl;