#[doc = "Register `FCCOB%s` reader"]
pub type R = crate::R<FccobSpec>;
#[doc = "Register `FCCOB%s` writer"]
pub type W = crate::W<FccobSpec>;
#[doc = "Field `CCOBn` reader - CCOBn"]
pub type CcobnR = crate::FieldReader<u32>;
#[doc = "Field `CCOBn` writer - CCOBn"]
pub type CcobnW<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
    #[doc = "Bits 0:31 - CCOBn"]
    #[inline(always)]
    pub fn ccobn(&self) -> CcobnR {
        CcobnR::new(self.bits)
    }
}
#[cfg(feature = "debug")]
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("FCCOB").field("ccobn", &self.ccobn()).finish()
    }
}
impl W {
    #[doc = "Bits 0:31 - CCOBn"]
    #[inline(always)]
    pub fn ccobn(&mut self) -> CcobnW<'_, FccobSpec> {
        CcobnW::new(self, 0)
    }
}
#[doc = "Flash Common Command Object Registers\n\nYou can [`read`](crate::Reg::read) this register and get [`fccob::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fccob::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct FccobSpec;
impl crate::RegisterSpec for FccobSpec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`fccob::R`](R) reader structure"]
impl crate::Readable for FccobSpec {}
#[doc = "`write(|w| ..)` method takes [`fccob::W`](W) writer structure"]
impl crate::Writable for FccobSpec {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets FCCOB%s to value 0"]
impl crate::Resettable for FccobSpec {}
