Skip to main content

gd32e2/gd32e230/
cmp.rs

1#[repr(C)]
2#[doc = "Register block"]
3pub struct RegisterBlock {
4    cs: Cs,
5}
6impl RegisterBlock {
7    #[doc = "0x00 - control and status register"]
8    #[inline(always)]
9    pub const fn cs(&self) -> &Cs {
10        &self.cs
11    }
12}
13#[doc = "CS (rw) register accessor: control and status register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`cs::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 [`cs::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@cs`]
14module"]
15#[doc(alias = "CS")]
16pub type Cs = crate::Reg<cs::CsSpec>;
17#[doc = "control and status register"]
18pub mod cs;