1#[doc = "Register `CMDATA` writer"]
2pub type W = crate::W<CmdataSpec>;
3#[doc = "Field `SDATA` writer - Segments Data"]
4pub type SdataW<'a, REG> = crate::FieldWriter<'a, REG, 24, u32>;
5impl W {
6 #[doc = "Bits 0:23 - Segments Data"]
7 #[inline(always)]
8 pub fn sdata(&mut self) -> SdataW<CmdataSpec> {
9 SdataW::new(self, 0)
10 }
11}
12#[doc = "Character Mapping Segments Data\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cmdata::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct CmdataSpec;
14impl crate::RegisterSpec for CmdataSpec {
15 type Ux = u32;
16}
17#[doc = "`write(|w| ..)` method takes [`cmdata::W`](W) writer structure"]
18impl crate::Writable for CmdataSpec {
19 type Safety = crate::Unsafe;
20 const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
21 const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
22}
23#[doc = "`reset()` method sets CMDATA to value 0"]
24impl crate::Resettable for CmdataSpec {
25 const RESET_VALUE: u32 = 0;
26}