#[doc = "Register `RX_LUT_CFG1` reader"]
pub type R = crate::R<RX_LUT_CFG1_SPEC>;
#[doc = "Register `RX_LUT_CFG1` writer"]
pub type W = crate::W<RX_LUT_CFG1_SPEC>;
#[doc = "Field `RX_LUT` reader - write this bits to update LUT which specified by BITSCRAMBLER_RX_LUT_CFG0_REG, Read this bits to get LUT which specified by BITSCRAMBLER_RX_LUT_CFG0_REG"]
pub type RX_LUT_R = crate::FieldReader<u32>;
#[doc = "Field `RX_LUT` writer - write this bits to update LUT which specified by BITSCRAMBLER_RX_LUT_CFG0_REG, Read this bits to get LUT which specified by BITSCRAMBLER_RX_LUT_CFG0_REG"]
pub type RX_LUT_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
#[doc = "Bits 0:31 - write this bits to update LUT which specified by BITSCRAMBLER_RX_LUT_CFG0_REG, Read this bits to get LUT which specified by BITSCRAMBLER_RX_LUT_CFG0_REG"]
#[inline(always)]
pub fn rx_lut(&self) -> RX_LUT_R {
RX_LUT_R::new(self.bits)
}
}
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("RX_LUT_CFG1")
.field("rx_lut", &self.rx_lut())
.finish()
}
}
impl W {
#[doc = "Bits 0:31 - write this bits to update LUT which specified by BITSCRAMBLER_RX_LUT_CFG0_REG, Read this bits to get LUT which specified by BITSCRAMBLER_RX_LUT_CFG0_REG"]
#[inline(always)]
pub fn rx_lut(&mut self) -> RX_LUT_W<'_, RX_LUT_CFG1_SPEC> {
RX_LUT_W::new(self, 0)
}
}
#[doc = "Control and configuration registers\n\nYou can [`read`](crate::Reg::read) this register and get [`rx_lut_cfg1::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`rx_lut_cfg1::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct RX_LUT_CFG1_SPEC;
impl crate::RegisterSpec for RX_LUT_CFG1_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [`rx_lut_cfg1::R`](R) reader structure"]
impl crate::Readable for RX_LUT_CFG1_SPEC {}
#[doc = "`write(|w| ..)` method takes [`rx_lut_cfg1::W`](W) writer structure"]
impl crate::Writable for RX_LUT_CFG1_SPEC {
type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets RX_LUT_CFG1 to value 0x1c"]
impl crate::Resettable for RX_LUT_CFG1_SPEC {
const RESET_VALUE: u32 = 0x1c;
}