xmc4400/
fce.rs

1#[repr(C)]
2#[doc = "Register block"]
3pub struct RegisterBlock {
4    clc: CLC,
5    _reserved1: [u8; 0x04],
6    id: ID,
7}
8impl RegisterBlock {
9    #[doc = "0x00 - Clock Control Register"]
10    #[inline(always)]
11    pub const fn clc(&self) -> &CLC {
12        &self.clc
13    }
14    #[doc = "0x08 - Module Identification Register"]
15    #[inline(always)]
16    pub const fn id(&self) -> &ID {
17        &self.id
18    }
19}
20#[doc = "CLC (rw) register accessor: Clock Control Register\n\nYou can [`read`](crate::Reg::read) this register and get [`clc::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`clc::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@clc`]
21module"]
22pub type CLC = crate::Reg<clc::CLC_SPEC>;
23#[doc = "Clock Control Register"]
24pub mod clc;
25#[doc = "ID (r) register accessor: Module Identification Register\n\nYou can [`read`](crate::Reg::read) this register and get [`id::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@id`]
26module"]
27pub type ID = crate::Reg<id::ID_SPEC>;
28#[doc = "Module Identification Register"]
29pub mod id;