cc430f5137 0.1.0

Peripheral access API for CC430F5137 microcontroller
#[repr(C)]
#[doc = "Register block"]
pub struct RegisterBlock {
    ucsctl0: Ucsctl0,
    ucsctl1: Ucsctl1,
    ucsctl2: Ucsctl2,
    ucsctl3: Ucsctl3,
    ucsctl4: Ucsctl4,
    ucsctl5: Ucsctl5,
    ucsctl6: Ucsctl6,
    ucsctl7: Ucsctl7,
    ucsctl8: Ucsctl8,
}
impl RegisterBlock {
    #[doc = "0x00 - UCS Control Register 0"]
    #[inline(always)]
    pub const fn ucsctl0(&self) -> &Ucsctl0 {
        &self.ucsctl0
    }
    #[doc = "0x02 - UCS Control Register 1"]
    #[inline(always)]
    pub const fn ucsctl1(&self) -> &Ucsctl1 {
        &self.ucsctl1
    }
    #[doc = "0x04 - UCS Control Register 2"]
    #[inline(always)]
    pub const fn ucsctl2(&self) -> &Ucsctl2 {
        &self.ucsctl2
    }
    #[doc = "0x06 - UCS Control Register 3"]
    #[inline(always)]
    pub const fn ucsctl3(&self) -> &Ucsctl3 {
        &self.ucsctl3
    }
    #[doc = "0x08 - UCS Control Register 4"]
    #[inline(always)]
    pub const fn ucsctl4(&self) -> &Ucsctl4 {
        &self.ucsctl4
    }
    #[doc = "0x0a - UCS Control Register 5"]
    #[inline(always)]
    pub const fn ucsctl5(&self) -> &Ucsctl5 {
        &self.ucsctl5
    }
    #[doc = "0x0c - UCS Control Register 6"]
    #[inline(always)]
    pub const fn ucsctl6(&self) -> &Ucsctl6 {
        &self.ucsctl6
    }
    #[doc = "0x0e - UCS Control Register 7"]
    #[inline(always)]
    pub const fn ucsctl7(&self) -> &Ucsctl7 {
        &self.ucsctl7
    }
    #[doc = "0x10 - UCS Control Register 8"]
    #[inline(always)]
    pub const fn ucsctl8(&self) -> &Ucsctl8 {
        &self.ucsctl8
    }
}
#[doc = "UCSCTL0 (rw) register accessor: UCS Control Register 0\n\nYou can [`read`](crate::Reg::read) this register and get [`ucsctl0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ucsctl0::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@ucsctl0`] module"]
#[doc(alias = "UCSCTL0")]
pub type Ucsctl0 = crate::Reg<ucsctl0::Ucsctl0Spec>;
#[doc = "UCS Control Register 0"]
pub mod ucsctl0;
#[doc = "UCSCTL1 (rw) register accessor: UCS Control Register 1\n\nYou can [`read`](crate::Reg::read) this register and get [`ucsctl1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ucsctl1::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@ucsctl1`] module"]
#[doc(alias = "UCSCTL1")]
pub type Ucsctl1 = crate::Reg<ucsctl1::Ucsctl1Spec>;
#[doc = "UCS Control Register 1"]
pub mod ucsctl1;
#[doc = "UCSCTL2 (rw) register accessor: UCS Control Register 2\n\nYou can [`read`](crate::Reg::read) this register and get [`ucsctl2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ucsctl2::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@ucsctl2`] module"]
#[doc(alias = "UCSCTL2")]
pub type Ucsctl2 = crate::Reg<ucsctl2::Ucsctl2Spec>;
#[doc = "UCS Control Register 2"]
pub mod ucsctl2;
#[doc = "UCSCTL3 (rw) register accessor: UCS Control Register 3\n\nYou can [`read`](crate::Reg::read) this register and get [`ucsctl3::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ucsctl3::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@ucsctl3`] module"]
#[doc(alias = "UCSCTL3")]
pub type Ucsctl3 = crate::Reg<ucsctl3::Ucsctl3Spec>;
#[doc = "UCS Control Register 3"]
pub mod ucsctl3;
#[doc = "UCSCTL4 (rw) register accessor: UCS Control Register 4\n\nYou can [`read`](crate::Reg::read) this register and get [`ucsctl4::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ucsctl4::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@ucsctl4`] module"]
#[doc(alias = "UCSCTL4")]
pub type Ucsctl4 = crate::Reg<ucsctl4::Ucsctl4Spec>;
#[doc = "UCS Control Register 4"]
pub mod ucsctl4;
#[doc = "UCSCTL5 (rw) register accessor: UCS Control Register 5\n\nYou can [`read`](crate::Reg::read) this register and get [`ucsctl5::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ucsctl5::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@ucsctl5`] module"]
#[doc(alias = "UCSCTL5")]
pub type Ucsctl5 = crate::Reg<ucsctl5::Ucsctl5Spec>;
#[doc = "UCS Control Register 5"]
pub mod ucsctl5;
#[doc = "UCSCTL6 (rw) register accessor: UCS Control Register 6\n\nYou can [`read`](crate::Reg::read) this register and get [`ucsctl6::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ucsctl6::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@ucsctl6`] module"]
#[doc(alias = "UCSCTL6")]
pub type Ucsctl6 = crate::Reg<ucsctl6::Ucsctl6Spec>;
#[doc = "UCS Control Register 6"]
pub mod ucsctl6;
#[doc = "UCSCTL7 (rw) register accessor: UCS Control Register 7\n\nYou can [`read`](crate::Reg::read) this register and get [`ucsctl7::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ucsctl7::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@ucsctl7`] module"]
#[doc(alias = "UCSCTL7")]
pub type Ucsctl7 = crate::Reg<ucsctl7::Ucsctl7Spec>;
#[doc = "UCS Control Register 7"]
pub mod ucsctl7;
#[doc = "UCSCTL8 (rw) register accessor: UCS Control Register 8\n\nYou can [`read`](crate::Reg::read) this register and get [`ucsctl8::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ucsctl8::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@ucsctl8`] module"]
#[doc(alias = "UCSCTL8")]
pub type Ucsctl8 = crate::Reg<ucsctl8::Ucsctl8Spec>;
#[doc = "UCS Control Register 8"]
pub mod ucsctl8;