#[doc = "Register `CAN_FS1R` reader"]
pub type R = crate::R<CanFs1rSpec>;
#[doc = "Register `CAN_FS1R` writer"]
pub type W = crate::W<CanFs1rSpec>;
#[doc = "Field `FSC0` reader - Filter scale configuration"]
pub type Fsc0R = crate::BitReader;
#[doc = "Field `FSC0` writer - Filter scale configuration"]
pub type Fsc0W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `FSC1` reader - Filter scale configuration"]
pub type Fsc1R = crate::BitReader;
#[doc = "Field `FSC1` writer - Filter scale configuration"]
pub type Fsc1W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `FSC2` reader - Filter scale configuration"]
pub type Fsc2R = crate::BitReader;
#[doc = "Field `FSC2` writer - Filter scale configuration"]
pub type Fsc2W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `FSC3` reader - Filter scale configuration"]
pub type Fsc3R = crate::BitReader;
#[doc = "Field `FSC3` writer - Filter scale configuration"]
pub type Fsc3W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `FSC4` reader - Filter scale configuration"]
pub type Fsc4R = crate::BitReader;
#[doc = "Field `FSC4` writer - Filter scale configuration"]
pub type Fsc4W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `FSC5` reader - Filter scale configuration"]
pub type Fsc5R = crate::BitReader;
#[doc = "Field `FSC5` writer - Filter scale configuration"]
pub type Fsc5W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `FSC6` reader - Filter scale configuration"]
pub type Fsc6R = crate::BitReader;
#[doc = "Field `FSC6` writer - Filter scale configuration"]
pub type Fsc6W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `FSC7` reader - Filter scale configuration"]
pub type Fsc7R = crate::BitReader;
#[doc = "Field `FSC7` writer - Filter scale configuration"]
pub type Fsc7W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `FSC8` reader - Filter scale configuration"]
pub type Fsc8R = crate::BitReader;
#[doc = "Field `FSC8` writer - Filter scale configuration"]
pub type Fsc8W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `FSC9` reader - Filter scale configuration"]
pub type Fsc9R = crate::BitReader;
#[doc = "Field `FSC9` writer - Filter scale configuration"]
pub type Fsc9W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `FSC10` reader - Filter scale configuration"]
pub type Fsc10R = crate::BitReader;
#[doc = "Field `FSC10` writer - Filter scale configuration"]
pub type Fsc10W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `FSC11` reader - Filter scale configuration"]
pub type Fsc11R = crate::BitReader;
#[doc = "Field `FSC11` writer - Filter scale configuration"]
pub type Fsc11W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `FSC12` reader - Filter scale configuration"]
pub type Fsc12R = crate::BitReader;
#[doc = "Field `FSC12` writer - Filter scale configuration"]
pub type Fsc12W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `FSC13` reader - Filter scale configuration"]
pub type Fsc13R = crate::BitReader;
#[doc = "Field `FSC13` writer - Filter scale configuration"]
pub type Fsc13W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
    #[doc = "Bit 0 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc0(&self) -> Fsc0R {
        Fsc0R::new((self.bits & 1) != 0)
    }
    #[doc = "Bit 1 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc1(&self) -> Fsc1R {
        Fsc1R::new(((self.bits >> 1) & 1) != 0)
    }
    #[doc = "Bit 2 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc2(&self) -> Fsc2R {
        Fsc2R::new(((self.bits >> 2) & 1) != 0)
    }
    #[doc = "Bit 3 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc3(&self) -> Fsc3R {
        Fsc3R::new(((self.bits >> 3) & 1) != 0)
    }
    #[doc = "Bit 4 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc4(&self) -> Fsc4R {
        Fsc4R::new(((self.bits >> 4) & 1) != 0)
    }
    #[doc = "Bit 5 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc5(&self) -> Fsc5R {
        Fsc5R::new(((self.bits >> 5) & 1) != 0)
    }
    #[doc = "Bit 6 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc6(&self) -> Fsc6R {
        Fsc6R::new(((self.bits >> 6) & 1) != 0)
    }
    #[doc = "Bit 7 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc7(&self) -> Fsc7R {
        Fsc7R::new(((self.bits >> 7) & 1) != 0)
    }
    #[doc = "Bit 8 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc8(&self) -> Fsc8R {
        Fsc8R::new(((self.bits >> 8) & 1) != 0)
    }
    #[doc = "Bit 9 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc9(&self) -> Fsc9R {
        Fsc9R::new(((self.bits >> 9) & 1) != 0)
    }
    #[doc = "Bit 10 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc10(&self) -> Fsc10R {
        Fsc10R::new(((self.bits >> 10) & 1) != 0)
    }
    #[doc = "Bit 11 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc11(&self) -> Fsc11R {
        Fsc11R::new(((self.bits >> 11) & 1) != 0)
    }
    #[doc = "Bit 12 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc12(&self) -> Fsc12R {
        Fsc12R::new(((self.bits >> 12) & 1) != 0)
    }
    #[doc = "Bit 13 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc13(&self) -> Fsc13R {
        Fsc13R::new(((self.bits >> 13) & 1) != 0)
    }
}
impl W {
    #[doc = "Bit 0 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc0(&mut self) -> Fsc0W<'_, CanFs1rSpec> {
        Fsc0W::new(self, 0)
    }
    #[doc = "Bit 1 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc1(&mut self) -> Fsc1W<'_, CanFs1rSpec> {
        Fsc1W::new(self, 1)
    }
    #[doc = "Bit 2 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc2(&mut self) -> Fsc2W<'_, CanFs1rSpec> {
        Fsc2W::new(self, 2)
    }
    #[doc = "Bit 3 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc3(&mut self) -> Fsc3W<'_, CanFs1rSpec> {
        Fsc3W::new(self, 3)
    }
    #[doc = "Bit 4 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc4(&mut self) -> Fsc4W<'_, CanFs1rSpec> {
        Fsc4W::new(self, 4)
    }
    #[doc = "Bit 5 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc5(&mut self) -> Fsc5W<'_, CanFs1rSpec> {
        Fsc5W::new(self, 5)
    }
    #[doc = "Bit 6 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc6(&mut self) -> Fsc6W<'_, CanFs1rSpec> {
        Fsc6W::new(self, 6)
    }
    #[doc = "Bit 7 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc7(&mut self) -> Fsc7W<'_, CanFs1rSpec> {
        Fsc7W::new(self, 7)
    }
    #[doc = "Bit 8 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc8(&mut self) -> Fsc8W<'_, CanFs1rSpec> {
        Fsc8W::new(self, 8)
    }
    #[doc = "Bit 9 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc9(&mut self) -> Fsc9W<'_, CanFs1rSpec> {
        Fsc9W::new(self, 9)
    }
    #[doc = "Bit 10 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc10(&mut self) -> Fsc10W<'_, CanFs1rSpec> {
        Fsc10W::new(self, 10)
    }
    #[doc = "Bit 11 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc11(&mut self) -> Fsc11W<'_, CanFs1rSpec> {
        Fsc11W::new(self, 11)
    }
    #[doc = "Bit 12 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc12(&mut self) -> Fsc12W<'_, CanFs1rSpec> {
        Fsc12W::new(self, 12)
    }
    #[doc = "Bit 13 - Filter scale configuration"]
    #[inline(always)]
    pub fn fsc13(&mut self) -> Fsc13W<'_, CanFs1rSpec> {
        Fsc13W::new(self, 13)
    }
}
#[doc = "CAN_FS1R\n\nYou can [`read`](crate::Reg::read) this register and get [`can_fs1r::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`can_fs1r::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct CanFs1rSpec;
impl crate::RegisterSpec for CanFs1rSpec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`can_fs1r::R`](R) reader structure"]
impl crate::Readable for CanFs1rSpec {}
#[doc = "`write(|w| ..)` method takes [`can_fs1r::W`](W) writer structure"]
impl crate::Writable for CanFs1rSpec {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets CAN_FS1R to value 0"]
impl crate::Resettable for CanFs1rSpec {}
