msp430g2231/
system_clock.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    _reserved0: [u8; 0x01],
5    #[doc = "0x01 - Basic Clock System Control 3"]
6    pub bcsctl3: BCSCTL3,
7    _reserved1: [u8; 0x02],
8    #[doc = "0x04 - DCO Clock Frequency Control"]
9    pub dcoctl: DCOCTL,
10    #[doc = "0x05 - Basic Clock System Control 1"]
11    pub bcsctl1: BCSCTL1,
12    #[doc = "0x06 - Basic Clock System Control 2"]
13    pub bcsctl2: BCSCTL2,
14}
15#[doc = "BCSCTL3 (rw) register accessor: Basic Clock System Control 3\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`bcsctl3::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`bcsctl3::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@bcsctl3`]
16module"]
17pub type BCSCTL3 = crate::Reg<bcsctl3::BCSCTL3_SPEC>;
18#[doc = "Basic Clock System Control 3"]
19pub mod bcsctl3;
20#[doc = "DCOCTL (rw) register accessor: DCO Clock Frequency Control\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`dcoctl::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`dcoctl::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@dcoctl`]
21module"]
22pub type DCOCTL = crate::Reg<dcoctl::DCOCTL_SPEC>;
23#[doc = "DCO Clock Frequency Control"]
24pub mod dcoctl;
25#[doc = "BCSCTL1 (rw) register accessor: Basic Clock System Control 1\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`bcsctl1::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`bcsctl1::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@bcsctl1`]
26module"]
27pub type BCSCTL1 = crate::Reg<bcsctl1::BCSCTL1_SPEC>;
28#[doc = "Basic Clock System Control 1"]
29pub mod bcsctl1;
30#[doc = "BCSCTL2 (rw) register accessor: Basic Clock System Control 2\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`bcsctl2::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`bcsctl2::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@bcsctl2`]
31module"]
32pub type BCSCTL2 = crate::Reg<bcsctl2::BCSCTL2_SPEC>;
33#[doc = "Basic Clock System Control 2"]
34pub mod bcsctl2;