pub type R = crate::R<FPR1rs>;
pub type W = crate::W<FPR1rs>;
pub type FPIF0_R = crate::BitReader;
pub type FPIF0_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type FPIF1_R = crate::BitReader;
pub type FPIF1_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type FPIF2_R = crate::BitReader;
pub type FPIF2_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type FPIF3_R = crate::BitReader;
pub type FPIF3_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type FPIF4_R = crate::BitReader;
pub type FPIF4_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type FPIF5_R = crate::BitReader;
pub type FPIF5_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type FPIF6_R = crate::BitReader;
pub type FPIF6_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type FPIF7_R = crate::BitReader;
pub type FPIF7_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type FPIF8_R = crate::BitReader;
pub type FPIF8_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type FPIF9_R = crate::BitReader;
pub type FPIF9_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type FPIF10_R = crate::BitReader;
pub type FPIF10_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type FPIF11_R = crate::BitReader;
pub type FPIF11_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type FPIF12_R = crate::BitReader;
pub type FPIF12_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type FPIF13_R = crate::BitReader;
pub type FPIF13_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type FPIF14_R = crate::BitReader;
pub type FPIF14_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type FPIF15_R = crate::BitReader;
pub type FPIF15_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type FPIF16_R = crate::BitReader;
pub type FPIF16_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type FPIF21_R = crate::BitReader;
pub type FPIF21_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type FPIF22_R = crate::BitReader;
pub type FPIF22_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn fpif0(&self) -> FPIF0_R {
FPIF0_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn fpif1(&self) -> FPIF1_R {
FPIF1_R::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn fpif2(&self) -> FPIF2_R {
FPIF2_R::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn fpif3(&self) -> FPIF3_R {
FPIF3_R::new(((self.bits >> 3) & 1) != 0)
}
#[inline(always)]
pub fn fpif4(&self) -> FPIF4_R {
FPIF4_R::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn fpif5(&self) -> FPIF5_R {
FPIF5_R::new(((self.bits >> 5) & 1) != 0)
}
#[inline(always)]
pub fn fpif6(&self) -> FPIF6_R {
FPIF6_R::new(((self.bits >> 6) & 1) != 0)
}
#[inline(always)]
pub fn fpif7(&self) -> FPIF7_R {
FPIF7_R::new(((self.bits >> 7) & 1) != 0)
}
#[inline(always)]
pub fn fpif8(&self) -> FPIF8_R {
FPIF8_R::new(((self.bits >> 8) & 1) != 0)
}
#[inline(always)]
pub fn fpif9(&self) -> FPIF9_R {
FPIF9_R::new(((self.bits >> 9) & 1) != 0)
}
#[inline(always)]
pub fn fpif10(&self) -> FPIF10_R {
FPIF10_R::new(((self.bits >> 10) & 1) != 0)
}
#[inline(always)]
pub fn fpif11(&self) -> FPIF11_R {
FPIF11_R::new(((self.bits >> 11) & 1) != 0)
}
#[inline(always)]
pub fn fpif12(&self) -> FPIF12_R {
FPIF12_R::new(((self.bits >> 12) & 1) != 0)
}
#[inline(always)]
pub fn fpif13(&self) -> FPIF13_R {
FPIF13_R::new(((self.bits >> 13) & 1) != 0)
}
#[inline(always)]
pub fn fpif14(&self) -> FPIF14_R {
FPIF14_R::new(((self.bits >> 14) & 1) != 0)
}
#[inline(always)]
pub fn fpif15(&self) -> FPIF15_R {
FPIF15_R::new(((self.bits >> 15) & 1) != 0)
}
#[inline(always)]
pub fn fpif16(&self) -> FPIF16_R {
FPIF16_R::new(((self.bits >> 16) & 1) != 0)
}
#[inline(always)]
pub fn fpif21(&self) -> FPIF21_R {
FPIF21_R::new(((self.bits >> 21) & 1) != 0)
}
#[inline(always)]
pub fn fpif22(&self) -> FPIF22_R {
FPIF22_R::new(((self.bits >> 22) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("FPR1")
.field("fpif0", &self.fpif0())
.field("fpif1", &self.fpif1())
.field("fpif2", &self.fpif2())
.field("fpif3", &self.fpif3())
.field("fpif4", &self.fpif4())
.field("fpif5", &self.fpif5())
.field("fpif6", &self.fpif6())
.field("fpif7", &self.fpif7())
.field("fpif8", &self.fpif8())
.field("fpif9", &self.fpif9())
.field("fpif10", &self.fpif10())
.field("fpif11", &self.fpif11())
.field("fpif12", &self.fpif12())
.field("fpif13", &self.fpif13())
.field("fpif14", &self.fpif14())
.field("fpif15", &self.fpif15())
.field("fpif16", &self.fpif16())
.field("fpif21", &self.fpif21())
.field("fpif22", &self.fpif22())
.finish()
}
}
impl W {
#[inline(always)]
pub fn fpif0(&mut self) -> FPIF0_W<FPR1rs> {
FPIF0_W::new(self, 0)
}
#[inline(always)]
pub fn fpif1(&mut self) -> FPIF1_W<FPR1rs> {
FPIF1_W::new(self, 1)
}
#[inline(always)]
pub fn fpif2(&mut self) -> FPIF2_W<FPR1rs> {
FPIF2_W::new(self, 2)
}
#[inline(always)]
pub fn fpif3(&mut self) -> FPIF3_W<FPR1rs> {
FPIF3_W::new(self, 3)
}
#[inline(always)]
pub fn fpif4(&mut self) -> FPIF4_W<FPR1rs> {
FPIF4_W::new(self, 4)
}
#[inline(always)]
pub fn fpif5(&mut self) -> FPIF5_W<FPR1rs> {
FPIF5_W::new(self, 5)
}
#[inline(always)]
pub fn fpif6(&mut self) -> FPIF6_W<FPR1rs> {
FPIF6_W::new(self, 6)
}
#[inline(always)]
pub fn fpif7(&mut self) -> FPIF7_W<FPR1rs> {
FPIF7_W::new(self, 7)
}
#[inline(always)]
pub fn fpif8(&mut self) -> FPIF8_W<FPR1rs> {
FPIF8_W::new(self, 8)
}
#[inline(always)]
pub fn fpif9(&mut self) -> FPIF9_W<FPR1rs> {
FPIF9_W::new(self, 9)
}
#[inline(always)]
pub fn fpif10(&mut self) -> FPIF10_W<FPR1rs> {
FPIF10_W::new(self, 10)
}
#[inline(always)]
pub fn fpif11(&mut self) -> FPIF11_W<FPR1rs> {
FPIF11_W::new(self, 11)
}
#[inline(always)]
pub fn fpif12(&mut self) -> FPIF12_W<FPR1rs> {
FPIF12_W::new(self, 12)
}
#[inline(always)]
pub fn fpif13(&mut self) -> FPIF13_W<FPR1rs> {
FPIF13_W::new(self, 13)
}
#[inline(always)]
pub fn fpif14(&mut self) -> FPIF14_W<FPR1rs> {
FPIF14_W::new(self, 14)
}
#[inline(always)]
pub fn fpif15(&mut self) -> FPIF15_W<FPR1rs> {
FPIF15_W::new(self, 15)
}
#[inline(always)]
pub fn fpif16(&mut self) -> FPIF16_W<FPR1rs> {
FPIF16_W::new(self, 16)
}
#[inline(always)]
pub fn fpif21(&mut self) -> FPIF21_W<FPR1rs> {
FPIF21_W::new(self, 21)
}
#[inline(always)]
pub fn fpif22(&mut self) -> FPIF22_W<FPR1rs> {
FPIF22_W::new(self, 22)
}
}
pub struct FPR1rs;
impl crate::RegisterSpec for FPR1rs {
type Ux = u32;
}
impl crate::Readable for FPR1rs {}
impl crate::Writable for FPR1rs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for FPR1rs {}