#[doc = "Register `SDATAL2` reader"]
pub type R = crate::R<Sdatal2Spec>;
#[doc = "Register `SDATAL2` writer"]
pub type W = crate::W<Sdatal2Spec>;
#[doc = "Field `SDATA` reader - Segments Data"]
pub type SdataR = crate::FieldReader<u32>;
#[doc = "Field `SDATA` writer - Segments Data"]
pub type SdataW<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
    #[doc = "Bits 0:31 - Segments Data"]
    #[inline(always)]
    pub fn sdata(&self) -> SdataR {
        SdataR::new(self.bits)
    }
}
impl W {
    #[doc = "Bits 0:31 - Segments Data"]
    #[inline(always)]
    pub fn sdata(&mut self) -> SdataW<Sdatal2Spec> {
        SdataW::new(self, 0)
    }
}
#[doc = "Segments Data Low for COM2 Line\n\nYou can [`read`](crate::Reg::read) this register and get [`sdatal2::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`sdatal2::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct Sdatal2Spec;
impl crate::RegisterSpec for Sdatal2Spec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`sdatal2::R`](R) reader structure"]
impl crate::Readable for Sdatal2Spec {}
#[doc = "`write(|w| ..)` method takes [`sdatal2::W`](W) writer structure"]
impl crate::Writable for Sdatal2Spec {
    type Safety = crate::Unsafe;
    const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
    const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets SDATAL2 to value 0"]
impl crate::Resettable for Sdatal2Spec {
    const RESET_VALUE: u32 = 0;
}
