#![allow(clippy::identity_op)]
#![allow(clippy::module_inception)]
#![allow(clippy::derivable_impls)]
#[allow(unused_imports)]
use crate::common::sealed;
#[allow(unused_imports)]
use crate::common::*;
#[doc = r"System Control"]
unsafe impl ::core::marker::Send for super::Sysc {}
unsafe impl ::core::marker::Sync for super::Sysc {}
impl super::Sysc {
#[allow(unused)]
#[inline(always)]
pub(crate) const fn _svd2pac_as_ptr(&self) -> *mut u8 {
self.ptr
}
#[inline(always)]
pub const fn sbycr(&self) -> &'static crate::common::Reg<self::Sbycr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Sbycr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(12usize),
)
}
}
#[inline(always)]
pub const fn sckdivcr(
&self,
) -> &'static crate::common::Reg<self::Sckdivcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Sckdivcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(32usize),
)
}
}
#[inline(always)]
pub const fn sckscr(
&self,
) -> &'static crate::common::Reg<self::Sckscr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Sckscr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(38usize),
)
}
}
#[inline(always)]
pub const fn pllccr(
&self,
) -> &'static crate::common::Reg<self::Pllccr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Pllccr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(40usize),
)
}
}
#[inline(always)]
pub const fn pllcr(&self) -> &'static crate::common::Reg<self::Pllcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Pllcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(42usize),
)
}
}
#[inline(always)]
pub const fn bckcr(&self) -> &'static crate::common::Reg<self::Bckcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Bckcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(48usize),
)
}
}
#[inline(always)]
pub const fn mosccr(
&self,
) -> &'static crate::common::Reg<self::Mosccr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Mosccr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(50usize),
)
}
}
#[inline(always)]
pub const fn hococr(
&self,
) -> &'static crate::common::Reg<self::Hococr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Hococr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(54usize),
)
}
}
#[inline(always)]
pub const fn mococr(
&self,
) -> &'static crate::common::Reg<self::Mococr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Mococr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(56usize),
)
}
}
#[inline(always)]
pub const fn fllcr1(
&self,
) -> &'static crate::common::Reg<self::Fllcr1_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Fllcr1_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(57usize),
)
}
}
#[inline(always)]
pub const fn fllcr2(
&self,
) -> &'static crate::common::Reg<self::Fllcr2_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Fllcr2_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(58usize),
)
}
}
#[inline(always)]
pub const fn oscsf(&self) -> &'static crate::common::Reg<self::Oscsf_SPEC, crate::common::R> {
unsafe {
crate::common::Reg::<self::Oscsf_SPEC, crate::common::R>::from_ptr(
self._svd2pac_as_ptr().add(60usize),
)
}
}
#[inline(always)]
pub const fn ckocr(&self) -> &'static crate::common::Reg<self::Ckocr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Ckocr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(62usize),
)
}
}
#[inline(always)]
pub const fn trckcr(
&self,
) -> &'static crate::common::Reg<self::Trckcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Trckcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(63usize),
)
}
}
#[inline(always)]
pub const fn ostdcr(
&self,
) -> &'static crate::common::Reg<self::Ostdcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Ostdcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(64usize),
)
}
}
#[inline(always)]
pub const fn ostdsr(
&self,
) -> &'static crate::common::Reg<self::Ostdsr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Ostdsr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(65usize),
)
}
}
#[inline(always)]
pub const fn pll2ccr(
&self,
) -> &'static crate::common::Reg<self::Pll2Ccr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Pll2Ccr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(72usize),
)
}
}
#[inline(always)]
pub const fn pll2cr(
&self,
) -> &'static crate::common::Reg<self::Pll2Cr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Pll2Cr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(74usize),
)
}
}
#[inline(always)]
pub const fn ebckocr(
&self,
) -> &'static crate::common::Reg<self::Ebckocr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Ebckocr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(82usize),
)
}
}
#[inline(always)]
pub const fn mocoutcr(
&self,
) -> &'static crate::common::Reg<self::Mocoutcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Mocoutcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(97usize),
)
}
}
#[inline(always)]
pub const fn hocoutcr(
&self,
) -> &'static crate::common::Reg<self::Hocoutcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Hocoutcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(98usize),
)
}
}
#[inline(always)]
pub const fn usbckdivcr(
&self,
) -> &'static crate::common::Reg<self::Usbckdivcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Usbckdivcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(108usize),
)
}
}
#[inline(always)]
pub const fn octackdivcr(
&self,
) -> &'static crate::common::Reg<self::Octackdivcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Octackdivcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(109usize),
)
}
}
#[inline(always)]
pub const fn canfdckdivcr(
&self,
) -> &'static crate::common::Reg<self::Canfdckdivcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Canfdckdivcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(110usize),
)
}
}
#[inline(always)]
pub const fn usb60ckdivcr(
&self,
) -> &'static crate::common::Reg<self::Usb60Ckdivcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Usb60Ckdivcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(111usize),
)
}
}
#[inline(always)]
pub const fn cecckdivcr(
&self,
) -> &'static crate::common::Reg<self::Cecckdivcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Cecckdivcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(112usize),
)
}
}
#[inline(always)]
pub const fn usbckcr(
&self,
) -> &'static crate::common::Reg<self::Usbckcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Usbckcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(116usize),
)
}
}
#[inline(always)]
pub const fn octackcr(
&self,
) -> &'static crate::common::Reg<self::Octackcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Octackcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(117usize),
)
}
}
#[inline(always)]
pub const fn canfdckcr(
&self,
) -> &'static crate::common::Reg<self::Canfdckcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Canfdckcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(118usize),
)
}
}
#[inline(always)]
pub const fn usb60ckcr(
&self,
) -> &'static crate::common::Reg<self::Usb60Ckcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Usb60Ckcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(119usize),
)
}
}
#[inline(always)]
pub const fn cecckcr(
&self,
) -> &'static crate::common::Reg<self::Cecckcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Cecckcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(120usize),
)
}
}
#[inline(always)]
pub const fn snzreqcr1(
&self,
) -> &'static crate::common::Reg<self::Snzreqcr1_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Snzreqcr1_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(136usize),
)
}
}
#[inline(always)]
pub const fn snzcr(&self) -> &'static crate::common::Reg<self::Snzcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Snzcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(146usize),
)
}
}
#[inline(always)]
pub const fn snzedcr0(
&self,
) -> &'static crate::common::Reg<self::Snzedcr0_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Snzedcr0_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(148usize),
)
}
}
#[inline(always)]
pub const fn snzedcr1(
&self,
) -> &'static crate::common::Reg<self::Snzedcr1_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Snzedcr1_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(149usize),
)
}
}
#[inline(always)]
pub const fn snzreqcr0(
&self,
) -> &'static crate::common::Reg<self::Snzreqcr0_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Snzreqcr0_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(152usize),
)
}
}
#[inline(always)]
pub const fn opccr(&self) -> &'static crate::common::Reg<self::Opccr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Opccr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(160usize),
)
}
}
#[inline(always)]
pub const fn moscwtcr(
&self,
) -> &'static crate::common::Reg<self::Moscwtcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Moscwtcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(162usize),
)
}
}
#[inline(always)]
pub const fn sopccr(
&self,
) -> &'static crate::common::Reg<self::Sopccr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Sopccr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(170usize),
)
}
}
#[inline(always)]
pub const fn rstsr1(
&self,
) -> &'static crate::common::Reg<self::Rstsr1_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Rstsr1_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(192usize),
)
}
}
#[inline(always)]
pub const fn lvd1cr1(
&self,
) -> &'static crate::common::Reg<self::Lvd1Cr1_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Lvd1Cr1_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(224usize),
)
}
}
#[inline(always)]
pub const fn lvd1sr(
&self,
) -> &'static crate::common::Reg<self::Lvd1Sr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Lvd1Sr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(225usize),
)
}
}
#[inline(always)]
pub const fn lvd2cr1(
&self,
) -> &'static crate::common::Reg<self::Lvd2Cr1_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Lvd2Cr1_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(226usize),
)
}
}
#[inline(always)]
pub const fn lvd2sr(
&self,
) -> &'static crate::common::Reg<self::Lvd2Sr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Lvd2Sr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(227usize),
)
}
}
#[inline(always)]
pub const fn cgfsar(
&self,
) -> &'static crate::common::Reg<self::Cgfsar_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Cgfsar_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(960usize),
)
}
}
#[inline(always)]
pub const fn rstsar(
&self,
) -> &'static crate::common::Reg<self::Rstsar_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Rstsar_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(964usize),
)
}
}
#[inline(always)]
pub const fn lpmsar(
&self,
) -> &'static crate::common::Reg<self::Lpmsar_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Lpmsar_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(968usize),
)
}
}
#[inline(always)]
pub const fn lvdsar(
&self,
) -> &'static crate::common::Reg<self::Lvdsar_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Lvdsar_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(972usize),
)
}
}
#[inline(always)]
pub const fn bbfsar(
&self,
) -> &'static crate::common::Reg<self::Bbfsar_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Bbfsar_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(976usize),
)
}
}
#[inline(always)]
pub const fn dpfsar(
&self,
) -> &'static crate::common::Reg<self::Dpfsar_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Dpfsar_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(992usize),
)
}
}
#[inline(always)]
pub const fn prcr(&self) -> &'static crate::common::Reg<self::Prcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Prcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1022usize),
)
}
}
#[inline(always)]
pub const fn dpsbycr(
&self,
) -> &'static crate::common::Reg<self::Dpsbycr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Dpsbycr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1024usize),
)
}
}
#[inline(always)]
pub const fn dpswcr(
&self,
) -> &'static crate::common::Reg<self::Dpswcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Dpswcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1025usize),
)
}
}
#[inline(always)]
pub const fn dpsier0(
&self,
) -> &'static crate::common::Reg<self::Dpsier0_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Dpsier0_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1026usize),
)
}
}
#[inline(always)]
pub const fn dpsier1(
&self,
) -> &'static crate::common::Reg<self::Dpsier1_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Dpsier1_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1027usize),
)
}
}
#[inline(always)]
pub const fn dpsier2(
&self,
) -> &'static crate::common::Reg<self::Dpsier2_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Dpsier2_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1028usize),
)
}
}
#[inline(always)]
pub const fn dpsier3(
&self,
) -> &'static crate::common::Reg<self::Dpsier3_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Dpsier3_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1029usize),
)
}
}
#[inline(always)]
pub const fn dpsifr0(
&self,
) -> &'static crate::common::Reg<self::Dpsifr0_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Dpsifr0_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1030usize),
)
}
}
#[inline(always)]
pub const fn dpsifr1(
&self,
) -> &'static crate::common::Reg<self::Dpsifr1_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Dpsifr1_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1031usize),
)
}
}
#[inline(always)]
pub const fn dpsifr2(
&self,
) -> &'static crate::common::Reg<self::Dpsifr2_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Dpsifr2_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1032usize),
)
}
}
#[inline(always)]
pub const fn dpsifr3(
&self,
) -> &'static crate::common::Reg<self::Dpsifr3_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Dpsifr3_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1033usize),
)
}
}
#[inline(always)]
pub const fn dpsiegr0(
&self,
) -> &'static crate::common::Reg<self::Dpsiegr0_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Dpsiegr0_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1034usize),
)
}
}
#[inline(always)]
pub const fn dpsiegr1(
&self,
) -> &'static crate::common::Reg<self::Dpsiegr1_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Dpsiegr1_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1035usize),
)
}
}
#[inline(always)]
pub const fn dpsiegr2(
&self,
) -> &'static crate::common::Reg<self::Dpsiegr2_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Dpsiegr2_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1036usize),
)
}
}
#[inline(always)]
pub const fn syocdcr(
&self,
) -> &'static crate::common::Reg<self::Syocdcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Syocdcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1038usize),
)
}
}
#[inline(always)]
pub const fn rstsr0(
&self,
) -> &'static crate::common::Reg<self::Rstsr0_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Rstsr0_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1040usize),
)
}
}
#[inline(always)]
pub const fn rstsr2(
&self,
) -> &'static crate::common::Reg<self::Rstsr2_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Rstsr2_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1041usize),
)
}
}
#[inline(always)]
pub const fn momcr(&self) -> &'static crate::common::Reg<self::Momcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Momcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1043usize),
)
}
}
#[inline(always)]
pub const fn fwepror(
&self,
) -> &'static crate::common::Reg<self::Fwepror_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Fwepror_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1046usize),
)
}
}
#[inline(always)]
pub const fn lvd1cmpcr(
&self,
) -> &'static crate::common::Reg<self::Lvd1Cmpcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Lvd1Cmpcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1047usize),
)
}
}
#[inline(always)]
pub const fn lvd2cmpcr(
&self,
) -> &'static crate::common::Reg<self::Lvd2Cmpcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Lvd2Cmpcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1048usize),
)
}
}
#[inline(always)]
pub const fn lvd1cr0(
&self,
) -> &'static crate::common::Reg<self::Lvd1Cr0_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Lvd1Cr0_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1050usize),
)
}
}
#[inline(always)]
pub const fn lvd2cr0(
&self,
) -> &'static crate::common::Reg<self::Lvd2Cr0_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Lvd2Cr0_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1051usize),
)
}
}
#[inline(always)]
pub const fn vbattmnselr(
&self,
) -> &'static crate::common::Reg<self::Vbattmnselr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Vbattmnselr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1053usize),
)
}
}
#[inline(always)]
pub const fn vbattmonr(
&self,
) -> &'static crate::common::Reg<self::Vbattmonr_SPEC, crate::common::R> {
unsafe {
crate::common::Reg::<self::Vbattmonr_SPEC, crate::common::R>::from_ptr(
self._svd2pac_as_ptr().add(1054usize),
)
}
}
#[inline(always)]
pub const fn sosccr(
&self,
) -> &'static crate::common::Reg<self::Sosccr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Sosccr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1152usize),
)
}
}
#[inline(always)]
pub const fn somcr(&self) -> &'static crate::common::Reg<self::Somcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Somcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1153usize),
)
}
}
#[inline(always)]
pub const fn lococr(
&self,
) -> &'static crate::common::Reg<self::Lococr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Lococr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1168usize),
)
}
}
#[inline(always)]
pub const fn locoutcr(
&self,
) -> &'static crate::common::Reg<self::Locoutcr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Locoutcr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1170usize),
)
}
}
#[inline(always)]
pub const fn vbtictlr(
&self,
) -> &'static crate::common::Reg<self::Vbtictlr_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Vbtictlr_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1211usize),
)
}
}
#[inline(always)]
pub const fn vbtber(
&self,
) -> &'static crate::common::Reg<self::Vbtber_SPEC, crate::common::RW> {
unsafe {
crate::common::Reg::<self::Vbtber_SPEC, crate::common::RW>::from_ptr(
self._svd2pac_as_ptr().add(1216usize),
)
}
}
#[inline(always)]
pub const fn vbtbkr(
&self,
) -> &'static crate::common::ClusterRegisterArray<
crate::common::Reg<self::Vbtbkr_SPEC, crate::common::RW>,
128,
0x1,
> {
unsafe {
crate::common::ClusterRegisterArray::from_ptr(self._svd2pac_as_ptr().add(0x500usize))
}
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Sbycr_SPEC;
impl crate::sealed::RegSpec for Sbycr_SPEC {
type DataType = u16;
}
pub type Sbycr = crate::RegValueT<Sbycr_SPEC>;
impl Sbycr {
#[inline(always)]
pub fn ope(
self,
) -> crate::common::RegisterField<
14,
0x1,
1,
0,
sbycr::Ope,
sbycr::Ope,
Sbycr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
14,
0x1,
1,
0,
sbycr::Ope,
sbycr::Ope,
Sbycr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn ssby(
self,
) -> crate::common::RegisterField<
15,
0x1,
1,
0,
sbycr::Ssby,
sbycr::Ssby,
Sbycr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
15,
0x1,
1,
0,
sbycr::Ssby,
sbycr::Ssby,
Sbycr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Sbycr {
#[inline(always)]
fn default() -> Sbycr {
<crate::RegValueT<Sbycr_SPEC> as RegisterValue<_>>::new(16384)
}
}
pub mod sbycr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Ope_SPEC;
pub type Ope = crate::EnumBitfieldStruct<u8, Ope_SPEC>;
impl Ope {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Ssby_SPEC;
pub type Ssby = crate::EnumBitfieldStruct<u8, Ssby_SPEC>;
impl Ssby {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Sckdivcr_SPEC;
impl crate::sealed::RegSpec for Sckdivcr_SPEC {
type DataType = u32;
}
pub type Sckdivcr = crate::RegValueT<Sckdivcr_SPEC>;
impl Sckdivcr {
#[inline(always)]
pub fn pckd(
self,
) -> crate::common::RegisterField<
0,
0x7,
1,
0,
sckdivcr::Pckd,
sckdivcr::Pckd,
Sckdivcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x7,
1,
0,
sckdivcr::Pckd,
sckdivcr::Pckd,
Sckdivcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn pckc(
self,
) -> crate::common::RegisterField<
4,
0x7,
1,
0,
sckdivcr::Pckc,
sckdivcr::Pckc,
Sckdivcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
4,
0x7,
1,
0,
sckdivcr::Pckc,
sckdivcr::Pckc,
Sckdivcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn pckb(
self,
) -> crate::common::RegisterField<
8,
0x7,
1,
0,
sckdivcr::Pckb,
sckdivcr::Pckb,
Sckdivcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
8,
0x7,
1,
0,
sckdivcr::Pckb,
sckdivcr::Pckb,
Sckdivcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn pcka(
self,
) -> crate::common::RegisterField<
12,
0x7,
1,
0,
sckdivcr::Pcka,
sckdivcr::Pcka,
Sckdivcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
12,
0x7,
1,
0,
sckdivcr::Pcka,
sckdivcr::Pcka,
Sckdivcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn ick(
self,
) -> crate::common::RegisterField<
24,
0x7,
1,
0,
sckdivcr::Ick,
sckdivcr::Ick,
Sckdivcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
24,
0x7,
1,
0,
sckdivcr::Ick,
sckdivcr::Ick,
Sckdivcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn fck(
self,
) -> crate::common::RegisterField<
28,
0x7,
1,
0,
sckdivcr::Fck,
sckdivcr::Fck,
Sckdivcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
28,
0x7,
1,
0,
sckdivcr::Fck,
sckdivcr::Fck,
Sckdivcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Sckdivcr {
#[inline(always)]
fn default() -> Sckdivcr {
<crate::RegValueT<Sckdivcr_SPEC> as RegisterValue<_>>::new(570565154)
}
}
pub mod sckdivcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Pckd_SPEC;
pub type Pckd = crate::EnumBitfieldStruct<u8, Pckd_SPEC>;
impl Pckd {
pub const _000: Self = Self::new(0);
pub const _001: Self = Self::new(1);
pub const _010: Self = Self::new(2);
pub const _011: Self = Self::new(3);
pub const _100: Self = Self::new(4);
pub const _101: Self = Self::new(5);
pub const _110: Self = Self::new(6);
pub const OTHERS: Self = Self::new(0);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Pckc_SPEC;
pub type Pckc = crate::EnumBitfieldStruct<u8, Pckc_SPEC>;
impl Pckc {
pub const _000: Self = Self::new(0);
pub const _001: Self = Self::new(1);
pub const _010: Self = Self::new(2);
pub const _011: Self = Self::new(3);
pub const _100: Self = Self::new(4);
pub const _101: Self = Self::new(5);
pub const _110: Self = Self::new(6);
pub const OTHERS: Self = Self::new(0);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Pckb_SPEC;
pub type Pckb = crate::EnumBitfieldStruct<u8, Pckb_SPEC>;
impl Pckb {
pub const _000: Self = Self::new(0);
pub const _001: Self = Self::new(1);
pub const _010: Self = Self::new(2);
pub const _011: Self = Self::new(3);
pub const _100: Self = Self::new(4);
pub const _101: Self = Self::new(5);
pub const _110: Self = Self::new(6);
pub const OTHERS: Self = Self::new(0);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Pcka_SPEC;
pub type Pcka = crate::EnumBitfieldStruct<u8, Pcka_SPEC>;
impl Pcka {
pub const _000: Self = Self::new(0);
pub const _001: Self = Self::new(1);
pub const _010: Self = Self::new(2);
pub const _011: Self = Self::new(3);
pub const _100: Self = Self::new(4);
pub const _101: Self = Self::new(5);
pub const _110: Self = Self::new(6);
pub const OTHERS: Self = Self::new(0);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Ick_SPEC;
pub type Ick = crate::EnumBitfieldStruct<u8, Ick_SPEC>;
impl Ick {
pub const _000: Self = Self::new(0);
pub const _001: Self = Self::new(1);
pub const _010: Self = Self::new(2);
pub const _011: Self = Self::new(3);
pub const _100: Self = Self::new(4);
pub const _101: Self = Self::new(5);
pub const _110: Self = Self::new(6);
pub const OTHERS: Self = Self::new(0);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Fck_SPEC;
pub type Fck = crate::EnumBitfieldStruct<u8, Fck_SPEC>;
impl Fck {
pub const _000: Self = Self::new(0);
pub const _001: Self = Self::new(1);
pub const _010: Self = Self::new(2);
pub const _011: Self = Self::new(3);
pub const _100: Self = Self::new(4);
pub const _101: Self = Self::new(5);
pub const _110: Self = Self::new(6);
pub const OTHERS: Self = Self::new(0);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Sckscr_SPEC;
impl crate::sealed::RegSpec for Sckscr_SPEC {
type DataType = u8;
}
pub type Sckscr = crate::RegValueT<Sckscr_SPEC>;
impl Sckscr {
#[inline(always)]
pub fn cksel(
self,
) -> crate::common::RegisterField<
0,
0x7,
1,
0,
sckscr::Cksel,
sckscr::Cksel,
Sckscr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x7,
1,
0,
sckscr::Cksel,
sckscr::Cksel,
Sckscr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Sckscr {
#[inline(always)]
fn default() -> Sckscr {
<crate::RegValueT<Sckscr_SPEC> as RegisterValue<_>>::new(1)
}
}
pub mod sckscr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Cksel_SPEC;
pub type Cksel = crate::EnumBitfieldStruct<u8, Cksel_SPEC>;
impl Cksel {
pub const _000: Self = Self::new(0);
pub const _001: Self = Self::new(1);
pub const _010: Self = Self::new(2);
pub const _011: Self = Self::new(3);
pub const _100: Self = Self::new(4);
pub const _101: Self = Self::new(5);
pub const _110: Self = Self::new(6);
pub const _111: Self = Self::new(7);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Pllccr_SPEC;
impl crate::sealed::RegSpec for Pllccr_SPEC {
type DataType = u16;
}
pub type Pllccr = crate::RegValueT<Pllccr_SPEC>;
impl Pllccr {
#[inline(always)]
pub fn plidiv(
self,
) -> crate::common::RegisterField<
0,
0x3,
1,
0,
pllccr::Plidiv,
pllccr::Plidiv,
Pllccr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x3,
1,
0,
pllccr::Plidiv,
pllccr::Plidiv,
Pllccr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn plsrcsel(
self,
) -> crate::common::RegisterField<
4,
0x1,
1,
0,
pllccr::Plsrcsel,
pllccr::Plsrcsel,
Pllccr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
4,
0x1,
1,
0,
pllccr::Plsrcsel,
pllccr::Plsrcsel,
Pllccr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn pllmul(
self,
) -> crate::common::RegisterField<8, 0x3f, 1, 0, u8, u8, Pllccr_SPEC, crate::common::RW> {
crate::common::RegisterField::<8,0x3f,1,0,u8,u8,Pllccr_SPEC,crate::common::RW>::from_register(self,0)
}
}
impl ::core::default::Default for Pllccr {
#[inline(always)]
fn default() -> Pllccr {
<crate::RegValueT<Pllccr_SPEC> as RegisterValue<_>>::new(4864)
}
}
pub mod pllccr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Plidiv_SPEC;
pub type Plidiv = crate::EnumBitfieldStruct<u8, Plidiv_SPEC>;
impl Plidiv {
pub const _00: Self = Self::new(0);
pub const _01: Self = Self::new(1);
pub const _10: Self = Self::new(2);
pub const OTHERS: Self = Self::new(0);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Plsrcsel_SPEC;
pub type Plsrcsel = crate::EnumBitfieldStruct<u8, Plsrcsel_SPEC>;
impl Plsrcsel {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Pllcr_SPEC;
impl crate::sealed::RegSpec for Pllcr_SPEC {
type DataType = u8;
}
pub type Pllcr = crate::RegValueT<Pllcr_SPEC>;
impl Pllcr {
#[inline(always)]
pub fn pllstp(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
pllcr::Pllstp,
pllcr::Pllstp,
Pllcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
pllcr::Pllstp,
pllcr::Pllstp,
Pllcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Pllcr {
#[inline(always)]
fn default() -> Pllcr {
<crate::RegValueT<Pllcr_SPEC> as RegisterValue<_>>::new(1)
}
}
pub mod pllcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Pllstp_SPEC;
pub type Pllstp = crate::EnumBitfieldStruct<u8, Pllstp_SPEC>;
impl Pllstp {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Bckcr_SPEC;
impl crate::sealed::RegSpec for Bckcr_SPEC {
type DataType = u8;
}
pub type Bckcr = crate::RegValueT<Bckcr_SPEC>;
impl Bckcr {
#[inline(always)]
pub fn bclkdiv(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
bckcr::Bclkdiv,
bckcr::Bclkdiv,
Bckcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
bckcr::Bclkdiv,
bckcr::Bclkdiv,
Bckcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Bckcr {
#[inline(always)]
fn default() -> Bckcr {
<crate::RegValueT<Bckcr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod bckcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Bclkdiv_SPEC;
pub type Bclkdiv = crate::EnumBitfieldStruct<u8, Bclkdiv_SPEC>;
impl Bclkdiv {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Mosccr_SPEC;
impl crate::sealed::RegSpec for Mosccr_SPEC {
type DataType = u8;
}
pub type Mosccr = crate::RegValueT<Mosccr_SPEC>;
impl Mosccr {
#[inline(always)]
pub fn mostp(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
mosccr::Mostp,
mosccr::Mostp,
Mosccr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
mosccr::Mostp,
mosccr::Mostp,
Mosccr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Mosccr {
#[inline(always)]
fn default() -> Mosccr {
<crate::RegValueT<Mosccr_SPEC> as RegisterValue<_>>::new(1)
}
}
pub mod mosccr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Mostp_SPEC;
pub type Mostp = crate::EnumBitfieldStruct<u8, Mostp_SPEC>;
impl Mostp {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Hococr_SPEC;
impl crate::sealed::RegSpec for Hococr_SPEC {
type DataType = u8;
}
pub type Hococr = crate::RegValueT<Hococr_SPEC>;
impl Hococr {
#[inline(always)]
pub fn hcstp(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
hococr::Hcstp,
hococr::Hcstp,
Hococr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
hococr::Hcstp,
hococr::Hcstp,
Hococr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Hococr {
#[inline(always)]
fn default() -> Hococr {
<crate::RegValueT<Hococr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod hococr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Hcstp_SPEC;
pub type Hcstp = crate::EnumBitfieldStruct<u8, Hcstp_SPEC>;
impl Hcstp {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Mococr_SPEC;
impl crate::sealed::RegSpec for Mococr_SPEC {
type DataType = u8;
}
pub type Mococr = crate::RegValueT<Mococr_SPEC>;
impl Mococr {
#[inline(always)]
pub fn mcstp(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
mococr::Mcstp,
mococr::Mcstp,
Mococr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
mococr::Mcstp,
mococr::Mcstp,
Mococr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Mococr {
#[inline(always)]
fn default() -> Mococr {
<crate::RegValueT<Mococr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod mococr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Mcstp_SPEC;
pub type Mcstp = crate::EnumBitfieldStruct<u8, Mcstp_SPEC>;
impl Mcstp {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Fllcr1_SPEC;
impl crate::sealed::RegSpec for Fllcr1_SPEC {
type DataType = u8;
}
pub type Fllcr1 = crate::RegValueT<Fllcr1_SPEC>;
impl Fllcr1 {
#[inline(always)]
pub fn fllen(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
fllcr1::Fllen,
fllcr1::Fllen,
Fllcr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
fllcr1::Fllen,
fllcr1::Fllen,
Fllcr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Fllcr1 {
#[inline(always)]
fn default() -> Fllcr1 {
<crate::RegValueT<Fllcr1_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod fllcr1 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Fllen_SPEC;
pub type Fllen = crate::EnumBitfieldStruct<u8, Fllen_SPEC>;
impl Fllen {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Fllcr2_SPEC;
impl crate::sealed::RegSpec for Fllcr2_SPEC {
type DataType = u16;
}
pub type Fllcr2 = crate::RegValueT<Fllcr2_SPEC>;
impl Fllcr2 {
#[inline(always)]
pub fn fllcntl(
self,
) -> crate::common::RegisterField<0, 0x7ff, 1, 0, u16, u16, Fllcr2_SPEC, crate::common::RW>
{
crate::common::RegisterField::<0,0x7ff,1,0,u16,u16,Fllcr2_SPEC,crate::common::RW>::from_register(self,0)
}
}
impl ::core::default::Default for Fllcr2 {
#[inline(always)]
fn default() -> Fllcr2 {
<crate::RegValueT<Fllcr2_SPEC> as RegisterValue<_>>::new(0)
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Oscsf_SPEC;
impl crate::sealed::RegSpec for Oscsf_SPEC {
type DataType = u8;
}
pub type Oscsf = crate::RegValueT<Oscsf_SPEC>;
impl Oscsf {
#[inline(always)]
pub fn hocosf(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
oscsf::Hocosf,
oscsf::Hocosf,
Oscsf_SPEC,
crate::common::R,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
oscsf::Hocosf,
oscsf::Hocosf,
Oscsf_SPEC,
crate::common::R,
>::from_register(self, 0)
}
#[inline(always)]
pub fn moscsf(
self,
) -> crate::common::RegisterField<
3,
0x1,
1,
0,
oscsf::Moscsf,
oscsf::Moscsf,
Oscsf_SPEC,
crate::common::R,
> {
crate::common::RegisterField::<
3,
0x1,
1,
0,
oscsf::Moscsf,
oscsf::Moscsf,
Oscsf_SPEC,
crate::common::R,
>::from_register(self, 0)
}
#[inline(always)]
pub fn pllsf(
self,
) -> crate::common::RegisterField<
5,
0x1,
1,
0,
oscsf::Pllsf,
oscsf::Pllsf,
Oscsf_SPEC,
crate::common::R,
> {
crate::common::RegisterField::<
5,
0x1,
1,
0,
oscsf::Pllsf,
oscsf::Pllsf,
Oscsf_SPEC,
crate::common::R,
>::from_register(self, 0)
}
#[inline(always)]
pub fn pll2sf(
self,
) -> crate::common::RegisterField<
6,
0x1,
1,
0,
oscsf::Pll2Sf,
oscsf::Pll2Sf,
Oscsf_SPEC,
crate::common::R,
> {
crate::common::RegisterField::<
6,
0x1,
1,
0,
oscsf::Pll2Sf,
oscsf::Pll2Sf,
Oscsf_SPEC,
crate::common::R,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Oscsf {
#[inline(always)]
fn default() -> Oscsf {
<crate::RegValueT<Oscsf_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod oscsf {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Hocosf_SPEC;
pub type Hocosf = crate::EnumBitfieldStruct<u8, Hocosf_SPEC>;
impl Hocosf {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Moscsf_SPEC;
pub type Moscsf = crate::EnumBitfieldStruct<u8, Moscsf_SPEC>;
impl Moscsf {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Pllsf_SPEC;
pub type Pllsf = crate::EnumBitfieldStruct<u8, Pllsf_SPEC>;
impl Pllsf {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Pll2Sf_SPEC;
pub type Pll2Sf = crate::EnumBitfieldStruct<u8, Pll2Sf_SPEC>;
impl Pll2Sf {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Ckocr_SPEC;
impl crate::sealed::RegSpec for Ckocr_SPEC {
type DataType = u8;
}
pub type Ckocr = crate::RegValueT<Ckocr_SPEC>;
impl Ckocr {
#[inline(always)]
pub fn ckosel(
self,
) -> crate::common::RegisterField<
0,
0x7,
1,
0,
ckocr::Ckosel,
ckocr::Ckosel,
Ckocr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x7,
1,
0,
ckocr::Ckosel,
ckocr::Ckosel,
Ckocr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn ckodiv(
self,
) -> crate::common::RegisterField<
4,
0x7,
1,
0,
ckocr::Ckodiv,
ckocr::Ckodiv,
Ckocr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
4,
0x7,
1,
0,
ckocr::Ckodiv,
ckocr::Ckodiv,
Ckocr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn ckoen(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
ckocr::Ckoen,
ckocr::Ckoen,
Ckocr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
ckocr::Ckoen,
ckocr::Ckoen,
Ckocr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Ckocr {
#[inline(always)]
fn default() -> Ckocr {
<crate::RegValueT<Ckocr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod ckocr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Ckosel_SPEC;
pub type Ckosel = crate::EnumBitfieldStruct<u8, Ckosel_SPEC>;
impl Ckosel {
pub const _000: Self = Self::new(0);
pub const _001: Self = Self::new(1);
pub const _010: Self = Self::new(2);
pub const _011: Self = Self::new(3);
pub const _100: Self = Self::new(4);
pub const _101: Self = Self::new(5);
pub const OTHERS: Self = Self::new(0);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Ckodiv_SPEC;
pub type Ckodiv = crate::EnumBitfieldStruct<u8, Ckodiv_SPEC>;
impl Ckodiv {
pub const _000: Self = Self::new(0);
pub const _001: Self = Self::new(1);
pub const _010: Self = Self::new(2);
pub const _011: Self = Self::new(3);
pub const _100: Self = Self::new(4);
pub const _101: Self = Self::new(5);
pub const _110: Self = Self::new(6);
pub const _111: Self = Self::new(7);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Ckoen_SPEC;
pub type Ckoen = crate::EnumBitfieldStruct<u8, Ckoen_SPEC>;
impl Ckoen {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Trckcr_SPEC;
impl crate::sealed::RegSpec for Trckcr_SPEC {
type DataType = u8;
}
pub type Trckcr = crate::RegValueT<Trckcr_SPEC>;
impl Trckcr {
#[inline(always)]
pub fn trck(
self,
) -> crate::common::RegisterField<
0,
0xf,
1,
0,
trckcr::Trck,
trckcr::Trck,
Trckcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0xf,
1,
0,
trckcr::Trck,
trckcr::Trck,
Trckcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn trcken(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
trckcr::Trcken,
trckcr::Trcken,
Trckcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
trckcr::Trcken,
trckcr::Trcken,
Trckcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Trckcr {
#[inline(always)]
fn default() -> Trckcr {
<crate::RegValueT<Trckcr_SPEC> as RegisterValue<_>>::new(1)
}
}
pub mod trckcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Trck_SPEC;
pub type Trck = crate::EnumBitfieldStruct<u8, Trck_SPEC>;
impl Trck {
pub const _0_X_0: Self = Self::new(0);
pub const _0_X_1: Self = Self::new(1);
pub const _0_X_2: Self = Self::new(2);
pub const OTHERS: Self = Self::new(0);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Trcken_SPEC;
pub type Trcken = crate::EnumBitfieldStruct<u8, Trcken_SPEC>;
impl Trcken {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Ostdcr_SPEC;
impl crate::sealed::RegSpec for Ostdcr_SPEC {
type DataType = u8;
}
pub type Ostdcr = crate::RegValueT<Ostdcr_SPEC>;
impl Ostdcr {
#[inline(always)]
pub fn ostdie(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
ostdcr::Ostdie,
ostdcr::Ostdie,
Ostdcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
ostdcr::Ostdie,
ostdcr::Ostdie,
Ostdcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn ostde(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
ostdcr::Ostde,
ostdcr::Ostde,
Ostdcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
ostdcr::Ostde,
ostdcr::Ostde,
Ostdcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Ostdcr {
#[inline(always)]
fn default() -> Ostdcr {
<crate::RegValueT<Ostdcr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod ostdcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Ostdie_SPEC;
pub type Ostdie = crate::EnumBitfieldStruct<u8, Ostdie_SPEC>;
impl Ostdie {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Ostde_SPEC;
pub type Ostde = crate::EnumBitfieldStruct<u8, Ostde_SPEC>;
impl Ostde {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Ostdsr_SPEC;
impl crate::sealed::RegSpec for Ostdsr_SPEC {
type DataType = u8;
}
pub type Ostdsr = crate::RegValueT<Ostdsr_SPEC>;
impl Ostdsr {
#[inline(always)]
pub fn ostdf(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
ostdsr::Ostdf,
ostdsr::Ostdf,
Ostdsr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
ostdsr::Ostdf,
ostdsr::Ostdf,
Ostdsr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Ostdsr {
#[inline(always)]
fn default() -> Ostdsr {
<crate::RegValueT<Ostdsr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod ostdsr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Ostdf_SPEC;
pub type Ostdf = crate::EnumBitfieldStruct<u8, Ostdf_SPEC>;
impl Ostdf {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Pll2Ccr_SPEC;
impl crate::sealed::RegSpec for Pll2Ccr_SPEC {
type DataType = u16;
}
pub type Pll2Ccr = crate::RegValueT<Pll2Ccr_SPEC>;
impl Pll2Ccr {
#[inline(always)]
pub fn pl2idiv(
self,
) -> crate::common::RegisterField<
0,
0x3,
1,
0,
pll2ccr::Pl2Idiv,
pll2ccr::Pl2Idiv,
Pll2Ccr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x3,
1,
0,
pll2ccr::Pl2Idiv,
pll2ccr::Pl2Idiv,
Pll2Ccr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn pl2srcsel(
self,
) -> crate::common::RegisterField<
4,
0x1,
1,
0,
pll2ccr::Pl2Srcsel,
pll2ccr::Pl2Srcsel,
Pll2Ccr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
4,
0x1,
1,
0,
pll2ccr::Pl2Srcsel,
pll2ccr::Pl2Srcsel,
Pll2Ccr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn pll2mul(
self,
) -> crate::common::RegisterField<8, 0x3f, 1, 0, u8, u8, Pll2Ccr_SPEC, crate::common::RW> {
crate::common::RegisterField::<8,0x3f,1,0,u8,u8,Pll2Ccr_SPEC,crate::common::RW>::from_register(self,0)
}
}
impl ::core::default::Default for Pll2Ccr {
#[inline(always)]
fn default() -> Pll2Ccr {
<crate::RegValueT<Pll2Ccr_SPEC> as RegisterValue<_>>::new(4864)
}
}
pub mod pll2ccr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Pl2Idiv_SPEC;
pub type Pl2Idiv = crate::EnumBitfieldStruct<u8, Pl2Idiv_SPEC>;
impl Pl2Idiv {
pub const _00: Self = Self::new(0);
pub const _01: Self = Self::new(1);
pub const _10: Self = Self::new(2);
pub const OTHERS: Self = Self::new(0);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Pl2Srcsel_SPEC;
pub type Pl2Srcsel = crate::EnumBitfieldStruct<u8, Pl2Srcsel_SPEC>;
impl Pl2Srcsel {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Pll2Cr_SPEC;
impl crate::sealed::RegSpec for Pll2Cr_SPEC {
type DataType = u8;
}
pub type Pll2Cr = crate::RegValueT<Pll2Cr_SPEC>;
impl Pll2Cr {
#[inline(always)]
pub fn pll2stp(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
pll2cr::Pll2Stp,
pll2cr::Pll2Stp,
Pll2Cr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
pll2cr::Pll2Stp,
pll2cr::Pll2Stp,
Pll2Cr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Pll2Cr {
#[inline(always)]
fn default() -> Pll2Cr {
<crate::RegValueT<Pll2Cr_SPEC> as RegisterValue<_>>::new(1)
}
}
pub mod pll2cr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Pll2Stp_SPEC;
pub type Pll2Stp = crate::EnumBitfieldStruct<u8, Pll2Stp_SPEC>;
impl Pll2Stp {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Ebckocr_SPEC;
impl crate::sealed::RegSpec for Ebckocr_SPEC {
type DataType = u8;
}
pub type Ebckocr = crate::RegValueT<Ebckocr_SPEC>;
impl Ebckocr {
#[inline(always)]
pub fn ebckoen(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
ebckocr::Ebckoen,
ebckocr::Ebckoen,
Ebckocr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
ebckocr::Ebckoen,
ebckocr::Ebckoen,
Ebckocr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Ebckocr {
#[inline(always)]
fn default() -> Ebckocr {
<crate::RegValueT<Ebckocr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod ebckocr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Ebckoen_SPEC;
pub type Ebckoen = crate::EnumBitfieldStruct<u8, Ebckoen_SPEC>;
impl Ebckoen {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Mocoutcr_SPEC;
impl crate::sealed::RegSpec for Mocoutcr_SPEC {
type DataType = u8;
}
pub type Mocoutcr = crate::RegValueT<Mocoutcr_SPEC>;
impl Mocoutcr {
#[inline(always)]
pub fn mocoutrm(
self,
) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, Mocoutcr_SPEC, crate::common::RW> {
crate::common::RegisterField::<0,0xff,1,0,u8,u8,Mocoutcr_SPEC,crate::common::RW>::from_register(self,0)
}
}
impl ::core::default::Default for Mocoutcr {
#[inline(always)]
fn default() -> Mocoutcr {
<crate::RegValueT<Mocoutcr_SPEC> as RegisterValue<_>>::new(0)
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Hocoutcr_SPEC;
impl crate::sealed::RegSpec for Hocoutcr_SPEC {
type DataType = u8;
}
pub type Hocoutcr = crate::RegValueT<Hocoutcr_SPEC>;
impl Hocoutcr {
#[inline(always)]
pub fn hocoutrm(
self,
) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, Hocoutcr_SPEC, crate::common::RW> {
crate::common::RegisterField::<0,0xff,1,0,u8,u8,Hocoutcr_SPEC,crate::common::RW>::from_register(self,0)
}
}
impl ::core::default::Default for Hocoutcr {
#[inline(always)]
fn default() -> Hocoutcr {
<crate::RegValueT<Hocoutcr_SPEC> as RegisterValue<_>>::new(0)
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Usbckdivcr_SPEC;
impl crate::sealed::RegSpec for Usbckdivcr_SPEC {
type DataType = u8;
}
pub type Usbckdivcr = crate::RegValueT<Usbckdivcr_SPEC>;
impl Usbckdivcr {
#[inline(always)]
pub fn usbckdiv(
self,
) -> crate::common::RegisterField<
0,
0x7,
1,
0,
usbckdivcr::Usbckdiv,
usbckdivcr::Usbckdiv,
Usbckdivcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x7,
1,
0,
usbckdivcr::Usbckdiv,
usbckdivcr::Usbckdiv,
Usbckdivcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Usbckdivcr {
#[inline(always)]
fn default() -> Usbckdivcr {
<crate::RegValueT<Usbckdivcr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod usbckdivcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Usbckdiv_SPEC;
pub type Usbckdiv = crate::EnumBitfieldStruct<u8, Usbckdiv_SPEC>;
impl Usbckdiv {
pub const _010: Self = Self::new(2);
pub const _101: Self = Self::new(5);
pub const _110: Self = Self::new(6);
pub const OTHERS: Self = Self::new(0);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Octackdivcr_SPEC;
impl crate::sealed::RegSpec for Octackdivcr_SPEC {
type DataType = u8;
}
pub type Octackdivcr = crate::RegValueT<Octackdivcr_SPEC>;
impl Octackdivcr {
#[inline(always)]
pub fn octackdiv(
self,
) -> crate::common::RegisterField<
0,
0x7,
1,
0,
octackdivcr::Octackdiv,
octackdivcr::Octackdiv,
Octackdivcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x7,
1,
0,
octackdivcr::Octackdiv,
octackdivcr::Octackdiv,
Octackdivcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Octackdivcr {
#[inline(always)]
fn default() -> Octackdivcr {
<crate::RegValueT<Octackdivcr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod octackdivcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Octackdiv_SPEC;
pub type Octackdiv = crate::EnumBitfieldStruct<u8, Octackdiv_SPEC>;
impl Octackdiv {
pub const _000: Self = Self::new(0);
pub const _001: Self = Self::new(1);
pub const _010: Self = Self::new(2);
pub const _011: Self = Self::new(3);
pub const _100: Self = Self::new(4);
pub const OTHERS: Self = Self::new(0);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Canfdckdivcr_SPEC;
impl crate::sealed::RegSpec for Canfdckdivcr_SPEC {
type DataType = u8;
}
pub type Canfdckdivcr = crate::RegValueT<Canfdckdivcr_SPEC>;
impl Canfdckdivcr {
#[inline(always)]
pub fn canfdckdiv(
self,
) -> crate::common::RegisterField<
0,
0x7,
1,
0,
canfdckdivcr::Canfdckdiv,
canfdckdivcr::Canfdckdiv,
Canfdckdivcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x7,
1,
0,
canfdckdivcr::Canfdckdiv,
canfdckdivcr::Canfdckdiv,
Canfdckdivcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Canfdckdivcr {
#[inline(always)]
fn default() -> Canfdckdivcr {
<crate::RegValueT<Canfdckdivcr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod canfdckdivcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Canfdckdiv_SPEC;
pub type Canfdckdiv = crate::EnumBitfieldStruct<u8, Canfdckdiv_SPEC>;
impl Canfdckdiv {
pub const _000: Self = Self::new(0);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Usb60Ckdivcr_SPEC;
impl crate::sealed::RegSpec for Usb60Ckdivcr_SPEC {
type DataType = u8;
}
pub type Usb60Ckdivcr = crate::RegValueT<Usb60Ckdivcr_SPEC>;
impl Usb60Ckdivcr {
#[inline(always)]
pub fn usb60ckdiv(
self,
) -> crate::common::RegisterField<
0,
0x7,
1,
0,
usb60ckdivcr::Usb60Ckdiv,
usb60ckdivcr::Usb60Ckdiv,
Usb60Ckdivcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x7,
1,
0,
usb60ckdivcr::Usb60Ckdiv,
usb60ckdivcr::Usb60Ckdiv,
Usb60Ckdivcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Usb60Ckdivcr {
#[inline(always)]
fn default() -> Usb60Ckdivcr {
<crate::RegValueT<Usb60Ckdivcr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod usb60ckdivcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Usb60Ckdiv_SPEC;
pub type Usb60Ckdiv = crate::EnumBitfieldStruct<u8, Usb60Ckdiv_SPEC>;
impl Usb60Ckdiv {
pub const _000: Self = Self::new(0);
pub const _001: Self = Self::new(1);
pub const _010: Self = Self::new(2);
pub const _011: Self = Self::new(3);
pub const _100: Self = Self::new(4);
pub const _101: Self = Self::new(5);
pub const _110: Self = Self::new(6);
pub const OTHERS: Self = Self::new(0);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Cecckdivcr_SPEC;
impl crate::sealed::RegSpec for Cecckdivcr_SPEC {
type DataType = u8;
}
pub type Cecckdivcr = crate::RegValueT<Cecckdivcr_SPEC>;
impl Cecckdivcr {
#[inline(always)]
pub fn cecckdiv(
self,
) -> crate::common::RegisterField<
0,
0x7,
1,
0,
cecckdivcr::Cecckdiv,
cecckdivcr::Cecckdiv,
Cecckdivcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x7,
1,
0,
cecckdivcr::Cecckdiv,
cecckdivcr::Cecckdiv,
Cecckdivcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Cecckdivcr {
#[inline(always)]
fn default() -> Cecckdivcr {
<crate::RegValueT<Cecckdivcr_SPEC> as RegisterValue<_>>::new(1)
}
}
pub mod cecckdivcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Cecckdiv_SPEC;
pub type Cecckdiv = crate::EnumBitfieldStruct<u8, Cecckdiv_SPEC>;
impl Cecckdiv {
pub const _000: Self = Self::new(0);
pub const _001: Self = Self::new(1);
pub const _010: Self = Self::new(2);
pub const _011: Self = Self::new(3);
pub const _100: Self = Self::new(4);
pub const _101: Self = Self::new(5);
pub const _110: Self = Self::new(6);
pub const OTHERS: Self = Self::new(0);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Usbckcr_SPEC;
impl crate::sealed::RegSpec for Usbckcr_SPEC {
type DataType = u8;
}
pub type Usbckcr = crate::RegValueT<Usbckcr_SPEC>;
impl Usbckcr {
#[inline(always)]
pub fn usbcksel(
self,
) -> crate::common::RegisterField<
0,
0x7,
1,
0,
usbckcr::Usbcksel,
usbckcr::Usbcksel,
Usbckcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x7,
1,
0,
usbckcr::Usbcksel,
usbckcr::Usbcksel,
Usbckcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn usbcksreq(
self,
) -> crate::common::RegisterField<
6,
0x1,
1,
0,
usbckcr::Usbcksreq,
usbckcr::Usbcksreq,
Usbckcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
6,
0x1,
1,
0,
usbckcr::Usbcksreq,
usbckcr::Usbcksreq,
Usbckcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn usbcksrdy(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
usbckcr::Usbcksrdy,
usbckcr::Usbcksrdy,
Usbckcr_SPEC,
crate::common::R,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
usbckcr::Usbcksrdy,
usbckcr::Usbcksrdy,
Usbckcr_SPEC,
crate::common::R,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Usbckcr {
#[inline(always)]
fn default() -> Usbckcr {
<crate::RegValueT<Usbckcr_SPEC> as RegisterValue<_>>::new(1)
}
}
pub mod usbckcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Usbcksel_SPEC;
pub type Usbcksel = crate::EnumBitfieldStruct<u8, Usbcksel_SPEC>;
impl Usbcksel {
pub const _101: Self = Self::new(5);
pub const _110: Self = Self::new(6);
pub const OTHERS: Self = Self::new(0);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Usbcksreq_SPEC;
pub type Usbcksreq = crate::EnumBitfieldStruct<u8, Usbcksreq_SPEC>;
impl Usbcksreq {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Usbcksrdy_SPEC;
pub type Usbcksrdy = crate::EnumBitfieldStruct<u8, Usbcksrdy_SPEC>;
impl Usbcksrdy {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Octackcr_SPEC;
impl crate::sealed::RegSpec for Octackcr_SPEC {
type DataType = u8;
}
pub type Octackcr = crate::RegValueT<Octackcr_SPEC>;
impl Octackcr {
#[inline(always)]
pub fn octacksel(
self,
) -> crate::common::RegisterField<
0,
0x7,
1,
0,
octackcr::Octacksel,
octackcr::Octacksel,
Octackcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x7,
1,
0,
octackcr::Octacksel,
octackcr::Octacksel,
Octackcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn octacksreq(
self,
) -> crate::common::RegisterField<
6,
0x1,
1,
0,
octackcr::Octacksreq,
octackcr::Octacksreq,
Octackcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
6,
0x1,
1,
0,
octackcr::Octacksreq,
octackcr::Octacksreq,
Octackcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn octacksrdy(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
octackcr::Octacksrdy,
octackcr::Octacksrdy,
Octackcr_SPEC,
crate::common::R,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
octackcr::Octacksrdy,
octackcr::Octacksrdy,
Octackcr_SPEC,
crate::common::R,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Octackcr {
#[inline(always)]
fn default() -> Octackcr {
<crate::RegValueT<Octackcr_SPEC> as RegisterValue<_>>::new(1)
}
}
pub mod octackcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Octacksel_SPEC;
pub type Octacksel = crate::EnumBitfieldStruct<u8, Octacksel_SPEC>;
impl Octacksel {
pub const _000: Self = Self::new(0);
pub const _001: Self = Self::new(1);
pub const _010: Self = Self::new(2);
pub const _011: Self = Self::new(3);
pub const _100: Self = Self::new(4);
pub const _101: Self = Self::new(5);
pub const _110: Self = Self::new(6);
pub const OTHERS: Self = Self::new(0);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Octacksreq_SPEC;
pub type Octacksreq = crate::EnumBitfieldStruct<u8, Octacksreq_SPEC>;
impl Octacksreq {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Octacksrdy_SPEC;
pub type Octacksrdy = crate::EnumBitfieldStruct<u8, Octacksrdy_SPEC>;
impl Octacksrdy {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Canfdckcr_SPEC;
impl crate::sealed::RegSpec for Canfdckcr_SPEC {
type DataType = u8;
}
pub type Canfdckcr = crate::RegValueT<Canfdckcr_SPEC>;
impl Canfdckcr {
#[inline(always)]
pub fn canfdcksel(
self,
) -> crate::common::RegisterField<
0,
0x7,
1,
0,
canfdckcr::Canfdcksel,
canfdckcr::Canfdcksel,
Canfdckcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x7,
1,
0,
canfdckcr::Canfdcksel,
canfdckcr::Canfdcksel,
Canfdckcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn canfdcksreq(
self,
) -> crate::common::RegisterField<
6,
0x1,
1,
0,
canfdckcr::Canfdcksreq,
canfdckcr::Canfdcksreq,
Canfdckcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
6,
0x1,
1,
0,
canfdckcr::Canfdcksreq,
canfdckcr::Canfdcksreq,
Canfdckcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn canfdcksrdy(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
canfdckcr::Canfdcksrdy,
canfdckcr::Canfdcksrdy,
Canfdckcr_SPEC,
crate::common::R,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
canfdckcr::Canfdcksrdy,
canfdckcr::Canfdcksrdy,
Canfdckcr_SPEC,
crate::common::R,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Canfdckcr {
#[inline(always)]
fn default() -> Canfdckcr {
<crate::RegValueT<Canfdckcr_SPEC> as RegisterValue<_>>::new(1)
}
}
pub mod canfdckcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Canfdcksel_SPEC;
pub type Canfdcksel = crate::EnumBitfieldStruct<u8, Canfdcksel_SPEC>;
impl Canfdcksel {
pub const _101: Self = Self::new(5);
pub const _110: Self = Self::new(6);
pub const OTHERS: Self = Self::new(0);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Canfdcksreq_SPEC;
pub type Canfdcksreq = crate::EnumBitfieldStruct<u8, Canfdcksreq_SPEC>;
impl Canfdcksreq {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Canfdcksrdy_SPEC;
pub type Canfdcksrdy = crate::EnumBitfieldStruct<u8, Canfdcksrdy_SPEC>;
impl Canfdcksrdy {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Usb60Ckcr_SPEC;
impl crate::sealed::RegSpec for Usb60Ckcr_SPEC {
type DataType = u8;
}
pub type Usb60Ckcr = crate::RegValueT<Usb60Ckcr_SPEC>;
impl Usb60Ckcr {
#[inline(always)]
pub fn usb60cksel(
self,
) -> crate::common::RegisterField<
0,
0x7,
1,
0,
usb60ckcr::Usb60Cksel,
usb60ckcr::Usb60Cksel,
Usb60Ckcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x7,
1,
0,
usb60ckcr::Usb60Cksel,
usb60ckcr::Usb60Cksel,
Usb60Ckcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn usb60cksreq(
self,
) -> crate::common::RegisterField<
6,
0x1,
1,
0,
usb60ckcr::Usb60Cksreq,
usb60ckcr::Usb60Cksreq,
Usb60Ckcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
6,
0x1,
1,
0,
usb60ckcr::Usb60Cksreq,
usb60ckcr::Usb60Cksreq,
Usb60Ckcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn usb60cksrdy(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
usb60ckcr::Usb60Cksrdy,
usb60ckcr::Usb60Cksrdy,
Usb60Ckcr_SPEC,
crate::common::R,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
usb60ckcr::Usb60Cksrdy,
usb60ckcr::Usb60Cksrdy,
Usb60Ckcr_SPEC,
crate::common::R,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Usb60Ckcr {
#[inline(always)]
fn default() -> Usb60Ckcr {
<crate::RegValueT<Usb60Ckcr_SPEC> as RegisterValue<_>>::new(1)
}
}
pub mod usb60ckcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Usb60Cksel_SPEC;
pub type Usb60Cksel = crate::EnumBitfieldStruct<u8, Usb60Cksel_SPEC>;
impl Usb60Cksel {
pub const _101: Self = Self::new(5);
pub const _110: Self = Self::new(6);
pub const OTHERS: Self = Self::new(0);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Usb60Cksreq_SPEC;
pub type Usb60Cksreq = crate::EnumBitfieldStruct<u8, Usb60Cksreq_SPEC>;
impl Usb60Cksreq {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Usb60Cksrdy_SPEC;
pub type Usb60Cksrdy = crate::EnumBitfieldStruct<u8, Usb60Cksrdy_SPEC>;
impl Usb60Cksrdy {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Cecckcr_SPEC;
impl crate::sealed::RegSpec for Cecckcr_SPEC {
type DataType = u8;
}
pub type Cecckcr = crate::RegValueT<Cecckcr_SPEC>;
impl Cecckcr {
#[inline(always)]
pub fn ceccksel(
self,
) -> crate::common::RegisterField<
0,
0x7,
1,
0,
cecckcr::Ceccksel,
cecckcr::Ceccksel,
Cecckcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x7,
1,
0,
cecckcr::Ceccksel,
cecckcr::Ceccksel,
Cecckcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn ceccksreq(
self,
) -> crate::common::RegisterField<
6,
0x1,
1,
0,
cecckcr::Ceccksreq,
cecckcr::Ceccksreq,
Cecckcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
6,
0x1,
1,
0,
cecckcr::Ceccksreq,
cecckcr::Ceccksreq,
Cecckcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn ceccksrdy(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
cecckcr::Ceccksrdy,
cecckcr::Ceccksrdy,
Cecckcr_SPEC,
crate::common::R,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
cecckcr::Ceccksrdy,
cecckcr::Ceccksrdy,
Cecckcr_SPEC,
crate::common::R,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Cecckcr {
#[inline(always)]
fn default() -> Cecckcr {
<crate::RegValueT<Cecckcr_SPEC> as RegisterValue<_>>::new(1)
}
}
pub mod cecckcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Ceccksel_SPEC;
pub type Ceccksel = crate::EnumBitfieldStruct<u8, Ceccksel_SPEC>;
impl Ceccksel {
pub const _011: Self = Self::new(3);
pub const _100: Self = Self::new(4);
pub const OTHERS: Self = Self::new(0);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Ceccksreq_SPEC;
pub type Ceccksreq = crate::EnumBitfieldStruct<u8, Ceccksreq_SPEC>;
impl Ceccksreq {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Ceccksrdy_SPEC;
pub type Ceccksrdy = crate::EnumBitfieldStruct<u8, Ceccksrdy_SPEC>;
impl Ceccksrdy {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Snzreqcr1_SPEC;
impl crate::sealed::RegSpec for Snzreqcr1_SPEC {
type DataType = u32;
}
pub type Snzreqcr1 = crate::RegValueT<Snzreqcr1_SPEC>;
impl Snzreqcr1 {
#[inline(always)]
pub fn snzreqen0(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
snzreqcr1::Snzreqen0,
snzreqcr1::Snzreqen0,
Snzreqcr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
snzreqcr1::Snzreqen0,
snzreqcr1::Snzreqen0,
Snzreqcr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzreqen1(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
snzreqcr1::Snzreqen1,
snzreqcr1::Snzreqen1,
Snzreqcr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
snzreqcr1::Snzreqen1,
snzreqcr1::Snzreqen1,
Snzreqcr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzreqen2(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
snzreqcr1::Snzreqen2,
snzreqcr1::Snzreqen2,
Snzreqcr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
snzreqcr1::Snzreqen2,
snzreqcr1::Snzreqen2,
Snzreqcr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Snzreqcr1 {
#[inline(always)]
fn default() -> Snzreqcr1 {
<crate::RegValueT<Snzreqcr1_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod snzreqcr1 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen0_SPEC;
pub type Snzreqen0 = crate::EnumBitfieldStruct<u8, Snzreqen0_SPEC>;
impl Snzreqen0 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen1_SPEC;
pub type Snzreqen1 = crate::EnumBitfieldStruct<u8, Snzreqen1_SPEC>;
impl Snzreqen1 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen2_SPEC;
pub type Snzreqen2 = crate::EnumBitfieldStruct<u8, Snzreqen2_SPEC>;
impl Snzreqen2 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Snzcr_SPEC;
impl crate::sealed::RegSpec for Snzcr_SPEC {
type DataType = u8;
}
pub type Snzcr = crate::RegValueT<Snzcr_SPEC>;
impl Snzcr {
#[inline(always)]
pub fn rxdreqen(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
snzcr::Rxdreqen,
snzcr::Rxdreqen,
Snzcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
snzcr::Rxdreqen,
snzcr::Rxdreqen,
Snzcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzdtcen(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
snzcr::Snzdtcen,
snzcr::Snzdtcen,
Snzcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
snzcr::Snzdtcen,
snzcr::Snzdtcen,
Snzcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snze(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
snzcr::Snze,
snzcr::Snze,
Snzcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
snzcr::Snze,
snzcr::Snze,
Snzcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Snzcr {
#[inline(always)]
fn default() -> Snzcr {
<crate::RegValueT<Snzcr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod snzcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Rxdreqen_SPEC;
pub type Rxdreqen = crate::EnumBitfieldStruct<u8, Rxdreqen_SPEC>;
impl Rxdreqen {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzdtcen_SPEC;
pub type Snzdtcen = crate::EnumBitfieldStruct<u8, Snzdtcen_SPEC>;
impl Snzdtcen {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snze_SPEC;
pub type Snze = crate::EnumBitfieldStruct<u8, Snze_SPEC>;
impl Snze {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Snzedcr0_SPEC;
impl crate::sealed::RegSpec for Snzedcr0_SPEC {
type DataType = u8;
}
pub type Snzedcr0 = crate::RegValueT<Snzedcr0_SPEC>;
impl Snzedcr0 {
#[inline(always)]
pub fn agtunfed(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
snzedcr0::Agtunfed,
snzedcr0::Agtunfed,
Snzedcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
snzedcr0::Agtunfed,
snzedcr0::Agtunfed,
Snzedcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dtczred(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
snzedcr0::Dtczred,
snzedcr0::Dtczred,
Snzedcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
snzedcr0::Dtczred,
snzedcr0::Dtczred,
Snzedcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dtcnzred(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
snzedcr0::Dtcnzred,
snzedcr0::Dtcnzred,
Snzedcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
snzedcr0::Dtcnzred,
snzedcr0::Dtcnzred,
Snzedcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn ad0mated(
self,
) -> crate::common::RegisterField<
3,
0x1,
1,
0,
snzedcr0::Ad0Mated,
snzedcr0::Ad0Mated,
Snzedcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
3,
0x1,
1,
0,
snzedcr0::Ad0Mated,
snzedcr0::Ad0Mated,
Snzedcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn ad0umted(
self,
) -> crate::common::RegisterField<
4,
0x1,
1,
0,
snzedcr0::Ad0Umted,
snzedcr0::Ad0Umted,
Snzedcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
4,
0x1,
1,
0,
snzedcr0::Ad0Umted,
snzedcr0::Ad0Umted,
Snzedcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn ad1mated(
self,
) -> crate::common::RegisterField<
5,
0x1,
1,
0,
snzedcr0::Ad1Mated,
snzedcr0::Ad1Mated,
Snzedcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
5,
0x1,
1,
0,
snzedcr0::Ad1Mated,
snzedcr0::Ad1Mated,
Snzedcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn ad1umted(
self,
) -> crate::common::RegisterField<
6,
0x1,
1,
0,
snzedcr0::Ad1Umted,
snzedcr0::Ad1Umted,
Snzedcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
6,
0x1,
1,
0,
snzedcr0::Ad1Umted,
snzedcr0::Ad1Umted,
Snzedcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn sci0umted(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
snzedcr0::Sci0Umted,
snzedcr0::Sci0Umted,
Snzedcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
snzedcr0::Sci0Umted,
snzedcr0::Sci0Umted,
Snzedcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Snzedcr0 {
#[inline(always)]
fn default() -> Snzedcr0 {
<crate::RegValueT<Snzedcr0_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod snzedcr0 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Agtunfed_SPEC;
pub type Agtunfed = crate::EnumBitfieldStruct<u8, Agtunfed_SPEC>;
impl Agtunfed {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dtczred_SPEC;
pub type Dtczred = crate::EnumBitfieldStruct<u8, Dtczred_SPEC>;
impl Dtczred {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dtcnzred_SPEC;
pub type Dtcnzred = crate::EnumBitfieldStruct<u8, Dtcnzred_SPEC>;
impl Dtcnzred {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Ad0Mated_SPEC;
pub type Ad0Mated = crate::EnumBitfieldStruct<u8, Ad0Mated_SPEC>;
impl Ad0Mated {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Ad0Umted_SPEC;
pub type Ad0Umted = crate::EnumBitfieldStruct<u8, Ad0Umted_SPEC>;
impl Ad0Umted {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Ad1Mated_SPEC;
pub type Ad1Mated = crate::EnumBitfieldStruct<u8, Ad1Mated_SPEC>;
impl Ad1Mated {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Ad1Umted_SPEC;
pub type Ad1Umted = crate::EnumBitfieldStruct<u8, Ad1Umted_SPEC>;
impl Ad1Umted {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Sci0Umted_SPEC;
pub type Sci0Umted = crate::EnumBitfieldStruct<u8, Sci0Umted_SPEC>;
impl Sci0Umted {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Snzedcr1_SPEC;
impl crate::sealed::RegSpec for Snzedcr1_SPEC {
type DataType = u8;
}
pub type Snzedcr1 = crate::RegValueT<Snzedcr1_SPEC>;
impl Snzedcr1 {
#[inline(always)]
pub fn agt3unfed(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
snzedcr1::Agt3Unfed,
snzedcr1::Agt3Unfed,
Snzedcr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
snzedcr1::Agt3Unfed,
snzedcr1::Agt3Unfed,
Snzedcr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Snzedcr1 {
#[inline(always)]
fn default() -> Snzedcr1 {
<crate::RegValueT<Snzedcr1_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod snzedcr1 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Agt3Unfed_SPEC;
pub type Agt3Unfed = crate::EnumBitfieldStruct<u8, Agt3Unfed_SPEC>;
impl Agt3Unfed {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Snzreqcr0_SPEC;
impl crate::sealed::RegSpec for Snzreqcr0_SPEC {
type DataType = u32;
}
pub type Snzreqcr0 = crate::RegValueT<Snzreqcr0_SPEC>;
impl Snzreqcr0 {
#[inline(always)]
pub fn snzreqen0(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
snzreqcr0::Snzreqen0,
snzreqcr0::Snzreqen0,
Snzreqcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
snzreqcr0::Snzreqen0,
snzreqcr0::Snzreqen0,
Snzreqcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzreqen1(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
snzreqcr0::Snzreqen1,
snzreqcr0::Snzreqen1,
Snzreqcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
snzreqcr0::Snzreqen1,
snzreqcr0::Snzreqen1,
Snzreqcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzreqen2(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
snzreqcr0::Snzreqen2,
snzreqcr0::Snzreqen2,
Snzreqcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
snzreqcr0::Snzreqen2,
snzreqcr0::Snzreqen2,
Snzreqcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzreqen3(
self,
) -> crate::common::RegisterField<
3,
0x1,
1,
0,
snzreqcr0::Snzreqen3,
snzreqcr0::Snzreqen3,
Snzreqcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
3,
0x1,
1,
0,
snzreqcr0::Snzreqen3,
snzreqcr0::Snzreqen3,
Snzreqcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzreqen4(
self,
) -> crate::common::RegisterField<
4,
0x1,
1,
0,
snzreqcr0::Snzreqen4,
snzreqcr0::Snzreqen4,
Snzreqcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
4,
0x1,
1,
0,
snzreqcr0::Snzreqen4,
snzreqcr0::Snzreqen4,
Snzreqcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzreqen5(
self,
) -> crate::common::RegisterField<
5,
0x1,
1,
0,
snzreqcr0::Snzreqen5,
snzreqcr0::Snzreqen5,
Snzreqcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
5,
0x1,
1,
0,
snzreqcr0::Snzreqen5,
snzreqcr0::Snzreqen5,
Snzreqcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzreqen6(
self,
) -> crate::common::RegisterField<
6,
0x1,
1,
0,
snzreqcr0::Snzreqen6,
snzreqcr0::Snzreqen6,
Snzreqcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
6,
0x1,
1,
0,
snzreqcr0::Snzreqen6,
snzreqcr0::Snzreqen6,
Snzreqcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzreqen7(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
snzreqcr0::Snzreqen7,
snzreqcr0::Snzreqen7,
Snzreqcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
snzreqcr0::Snzreqen7,
snzreqcr0::Snzreqen7,
Snzreqcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzreqen8(
self,
) -> crate::common::RegisterField<
8,
0x1,
1,
0,
snzreqcr0::Snzreqen8,
snzreqcr0::Snzreqen8,
Snzreqcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
8,
0x1,
1,
0,
snzreqcr0::Snzreqen8,
snzreqcr0::Snzreqen8,
Snzreqcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzreqen9(
self,
) -> crate::common::RegisterField<
9,
0x1,
1,
0,
snzreqcr0::Snzreqen9,
snzreqcr0::Snzreqen9,
Snzreqcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
9,
0x1,
1,
0,
snzreqcr0::Snzreqen9,
snzreqcr0::Snzreqen9,
Snzreqcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzreqen10(
self,
) -> crate::common::RegisterField<
10,
0x1,
1,
0,
snzreqcr0::Snzreqen10,
snzreqcr0::Snzreqen10,
Snzreqcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
10,
0x1,
1,
0,
snzreqcr0::Snzreqen10,
snzreqcr0::Snzreqen10,
Snzreqcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzreqen11(
self,
) -> crate::common::RegisterField<
11,
0x1,
1,
0,
snzreqcr0::Snzreqen11,
snzreqcr0::Snzreqen11,
Snzreqcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
11,
0x1,
1,
0,
snzreqcr0::Snzreqen11,
snzreqcr0::Snzreqen11,
Snzreqcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzreqen12(
self,
) -> crate::common::RegisterField<
12,
0x1,
1,
0,
snzreqcr0::Snzreqen12,
snzreqcr0::Snzreqen12,
Snzreqcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
12,
0x1,
1,
0,
snzreqcr0::Snzreqen12,
snzreqcr0::Snzreqen12,
Snzreqcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzreqen13(
self,
) -> crate::common::RegisterField<
13,
0x1,
1,
0,
snzreqcr0::Snzreqen13,
snzreqcr0::Snzreqen13,
Snzreqcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
13,
0x1,
1,
0,
snzreqcr0::Snzreqen13,
snzreqcr0::Snzreqen13,
Snzreqcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzreqen14(
self,
) -> crate::common::RegisterField<
14,
0x1,
1,
0,
snzreqcr0::Snzreqen14,
snzreqcr0::Snzreqen14,
Snzreqcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
14,
0x1,
1,
0,
snzreqcr0::Snzreqen14,
snzreqcr0::Snzreqen14,
Snzreqcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzreqen15(
self,
) -> crate::common::RegisterField<
15,
0x1,
1,
0,
snzreqcr0::Snzreqen15,
snzreqcr0::Snzreqen15,
Snzreqcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
15,
0x1,
1,
0,
snzreqcr0::Snzreqen15,
snzreqcr0::Snzreqen15,
Snzreqcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzreqen24(
self,
) -> crate::common::RegisterField<
24,
0x1,
1,
0,
snzreqcr0::Snzreqen24,
snzreqcr0::Snzreqen24,
Snzreqcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
24,
0x1,
1,
0,
snzreqcr0::Snzreqen24,
snzreqcr0::Snzreqen24,
Snzreqcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzreqen25(
self,
) -> crate::common::RegisterField<
25,
0x1,
1,
0,
snzreqcr0::Snzreqen25,
snzreqcr0::Snzreqen25,
Snzreqcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
25,
0x1,
1,
0,
snzreqcr0::Snzreqen25,
snzreqcr0::Snzreqen25,
Snzreqcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzreqen28(
self,
) -> crate::common::RegisterField<
28,
0x1,
1,
0,
snzreqcr0::Snzreqen28,
snzreqcr0::Snzreqen28,
Snzreqcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
28,
0x1,
1,
0,
snzreqcr0::Snzreqen28,
snzreqcr0::Snzreqen28,
Snzreqcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzreqen29(
self,
) -> crate::common::RegisterField<
29,
0x1,
1,
0,
snzreqcr0::Snzreqen29,
snzreqcr0::Snzreqen29,
Snzreqcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
29,
0x1,
1,
0,
snzreqcr0::Snzreqen29,
snzreqcr0::Snzreqen29,
Snzreqcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn snzreqen30(
self,
) -> crate::common::RegisterField<
30,
0x1,
1,
0,
snzreqcr0::Snzreqen30,
snzreqcr0::Snzreqen30,
Snzreqcr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
30,
0x1,
1,
0,
snzreqcr0::Snzreqen30,
snzreqcr0::Snzreqen30,
Snzreqcr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Snzreqcr0 {
#[inline(always)]
fn default() -> Snzreqcr0 {
<crate::RegValueT<Snzreqcr0_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod snzreqcr0 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen0_SPEC;
pub type Snzreqen0 = crate::EnumBitfieldStruct<u8, Snzreqen0_SPEC>;
impl Snzreqen0 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen1_SPEC;
pub type Snzreqen1 = crate::EnumBitfieldStruct<u8, Snzreqen1_SPEC>;
impl Snzreqen1 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen2_SPEC;
pub type Snzreqen2 = crate::EnumBitfieldStruct<u8, Snzreqen2_SPEC>;
impl Snzreqen2 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen3_SPEC;
pub type Snzreqen3 = crate::EnumBitfieldStruct<u8, Snzreqen3_SPEC>;
impl Snzreqen3 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen4_SPEC;
pub type Snzreqen4 = crate::EnumBitfieldStruct<u8, Snzreqen4_SPEC>;
impl Snzreqen4 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen5_SPEC;
pub type Snzreqen5 = crate::EnumBitfieldStruct<u8, Snzreqen5_SPEC>;
impl Snzreqen5 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen6_SPEC;
pub type Snzreqen6 = crate::EnumBitfieldStruct<u8, Snzreqen6_SPEC>;
impl Snzreqen6 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen7_SPEC;
pub type Snzreqen7 = crate::EnumBitfieldStruct<u8, Snzreqen7_SPEC>;
impl Snzreqen7 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen8_SPEC;
pub type Snzreqen8 = crate::EnumBitfieldStruct<u8, Snzreqen8_SPEC>;
impl Snzreqen8 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen9_SPEC;
pub type Snzreqen9 = crate::EnumBitfieldStruct<u8, Snzreqen9_SPEC>;
impl Snzreqen9 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen10_SPEC;
pub type Snzreqen10 = crate::EnumBitfieldStruct<u8, Snzreqen10_SPEC>;
impl Snzreqen10 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen11_SPEC;
pub type Snzreqen11 = crate::EnumBitfieldStruct<u8, Snzreqen11_SPEC>;
impl Snzreqen11 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen12_SPEC;
pub type Snzreqen12 = crate::EnumBitfieldStruct<u8, Snzreqen12_SPEC>;
impl Snzreqen12 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen13_SPEC;
pub type Snzreqen13 = crate::EnumBitfieldStruct<u8, Snzreqen13_SPEC>;
impl Snzreqen13 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen14_SPEC;
pub type Snzreqen14 = crate::EnumBitfieldStruct<u8, Snzreqen14_SPEC>;
impl Snzreqen14 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen15_SPEC;
pub type Snzreqen15 = crate::EnumBitfieldStruct<u8, Snzreqen15_SPEC>;
impl Snzreqen15 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen24_SPEC;
pub type Snzreqen24 = crate::EnumBitfieldStruct<u8, Snzreqen24_SPEC>;
impl Snzreqen24 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen25_SPEC;
pub type Snzreqen25 = crate::EnumBitfieldStruct<u8, Snzreqen25_SPEC>;
impl Snzreqen25 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen28_SPEC;
pub type Snzreqen28 = crate::EnumBitfieldStruct<u8, Snzreqen28_SPEC>;
impl Snzreqen28 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen29_SPEC;
pub type Snzreqen29 = crate::EnumBitfieldStruct<u8, Snzreqen29_SPEC>;
impl Snzreqen29 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Snzreqen30_SPEC;
pub type Snzreqen30 = crate::EnumBitfieldStruct<u8, Snzreqen30_SPEC>;
impl Snzreqen30 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Opccr_SPEC;
impl crate::sealed::RegSpec for Opccr_SPEC {
type DataType = u8;
}
pub type Opccr = crate::RegValueT<Opccr_SPEC>;
impl Opccr {
#[inline(always)]
pub fn opcm(
self,
) -> crate::common::RegisterField<
0,
0x3,
1,
0,
opccr::Opcm,
opccr::Opcm,
Opccr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x3,
1,
0,
opccr::Opcm,
opccr::Opcm,
Opccr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn opcmtsf(
self,
) -> crate::common::RegisterField<
4,
0x1,
1,
0,
opccr::Opcmtsf,
opccr::Opcmtsf,
Opccr_SPEC,
crate::common::R,
> {
crate::common::RegisterField::<
4,
0x1,
1,
0,
opccr::Opcmtsf,
opccr::Opcmtsf,
Opccr_SPEC,
crate::common::R,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Opccr {
#[inline(always)]
fn default() -> Opccr {
<crate::RegValueT<Opccr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod opccr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Opcm_SPEC;
pub type Opcm = crate::EnumBitfieldStruct<u8, Opcm_SPEC>;
impl Opcm {
pub const _00: Self = Self::new(0);
pub const _01: Self = Self::new(1);
pub const _10: Self = Self::new(2);
pub const _11: Self = Self::new(3);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Opcmtsf_SPEC;
pub type Opcmtsf = crate::EnumBitfieldStruct<u8, Opcmtsf_SPEC>;
impl Opcmtsf {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Moscwtcr_SPEC;
impl crate::sealed::RegSpec for Moscwtcr_SPEC {
type DataType = u8;
}
pub type Moscwtcr = crate::RegValueT<Moscwtcr_SPEC>;
impl Moscwtcr {
#[inline(always)]
pub fn msts(
self,
) -> crate::common::RegisterField<
0,
0xf,
1,
0,
moscwtcr::Msts,
moscwtcr::Msts,
Moscwtcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0xf,
1,
0,
moscwtcr::Msts,
moscwtcr::Msts,
Moscwtcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Moscwtcr {
#[inline(always)]
fn default() -> Moscwtcr {
<crate::RegValueT<Moscwtcr_SPEC> as RegisterValue<_>>::new(5)
}
}
pub mod moscwtcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Msts_SPEC;
pub type Msts = crate::EnumBitfieldStruct<u8, Msts_SPEC>;
impl Msts {
pub const _0_X_0: Self = Self::new(0);
pub const _0_X_1: Self = Self::new(1);
pub const _0_X_2: Self = Self::new(2);
pub const _0_X_3: Self = Self::new(3);
pub const _0_X_4: Self = Self::new(4);
pub const _0_X_5: Self = Self::new(5);
pub const _0_X_6: Self = Self::new(6);
pub const _0_X_7: Self = Self::new(7);
pub const _0_X_8: Self = Self::new(8);
pub const _0_X_9: Self = Self::new(9);
pub const OTHERS: Self = Self::new(0);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Sopccr_SPEC;
impl crate::sealed::RegSpec for Sopccr_SPEC {
type DataType = u8;
}
pub type Sopccr = crate::RegValueT<Sopccr_SPEC>;
impl Sopccr {
#[inline(always)]
pub fn sopcm(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
sopccr::Sopcm,
sopccr::Sopcm,
Sopccr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
sopccr::Sopcm,
sopccr::Sopcm,
Sopccr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn sopcmtsf(
self,
) -> crate::common::RegisterField<
4,
0x1,
1,
0,
sopccr::Sopcmtsf,
sopccr::Sopcmtsf,
Sopccr_SPEC,
crate::common::R,
> {
crate::common::RegisterField::<
4,
0x1,
1,
0,
sopccr::Sopcmtsf,
sopccr::Sopcmtsf,
Sopccr_SPEC,
crate::common::R,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Sopccr {
#[inline(always)]
fn default() -> Sopccr {
<crate::RegValueT<Sopccr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod sopccr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Sopcm_SPEC;
pub type Sopcm = crate::EnumBitfieldStruct<u8, Sopcm_SPEC>;
impl Sopcm {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Sopcmtsf_SPEC;
pub type Sopcmtsf = crate::EnumBitfieldStruct<u8, Sopcmtsf_SPEC>;
impl Sopcmtsf {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Rstsr1_SPEC;
impl crate::sealed::RegSpec for Rstsr1_SPEC {
type DataType = u16;
}
pub type Rstsr1 = crate::RegValueT<Rstsr1_SPEC>;
impl Rstsr1 {
#[inline(always)]
pub fn iwdtrf(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
rstsr1::Iwdtrf,
rstsr1::Iwdtrf,
Rstsr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
rstsr1::Iwdtrf,
rstsr1::Iwdtrf,
Rstsr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn wdtrf(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
rstsr1::Wdtrf,
rstsr1::Wdtrf,
Rstsr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
rstsr1::Wdtrf,
rstsr1::Wdtrf,
Rstsr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn swrf(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
rstsr1::Swrf,
rstsr1::Swrf,
Rstsr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
rstsr1::Swrf,
rstsr1::Swrf,
Rstsr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn rperf(
self,
) -> crate::common::RegisterField<
8,
0x1,
1,
0,
rstsr1::Rperf,
rstsr1::Rperf,
Rstsr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
8,
0x1,
1,
0,
rstsr1::Rperf,
rstsr1::Rperf,
Rstsr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn reerf(
self,
) -> crate::common::RegisterField<
9,
0x1,
1,
0,
rstsr1::Reerf,
rstsr1::Reerf,
Rstsr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
9,
0x1,
1,
0,
rstsr1::Reerf,
rstsr1::Reerf,
Rstsr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn busmrf(
self,
) -> crate::common::RegisterField<
11,
0x1,
1,
0,
rstsr1::Busmrf,
rstsr1::Busmrf,
Rstsr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
11,
0x1,
1,
0,
rstsr1::Busmrf,
rstsr1::Busmrf,
Rstsr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn tzerf(
self,
) -> crate::common::RegisterField<
13,
0x1,
1,
0,
rstsr1::Tzerf,
rstsr1::Tzerf,
Rstsr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
13,
0x1,
1,
0,
rstsr1::Tzerf,
rstsr1::Tzerf,
Rstsr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn cperf(
self,
) -> crate::common::RegisterField<
15,
0x1,
1,
0,
rstsr1::Cperf,
rstsr1::Cperf,
Rstsr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
15,
0x1,
1,
0,
rstsr1::Cperf,
rstsr1::Cperf,
Rstsr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Rstsr1 {
#[inline(always)]
fn default() -> Rstsr1 {
<crate::RegValueT<Rstsr1_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod rstsr1 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Iwdtrf_SPEC;
pub type Iwdtrf = crate::EnumBitfieldStruct<u8, Iwdtrf_SPEC>;
impl Iwdtrf {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Wdtrf_SPEC;
pub type Wdtrf = crate::EnumBitfieldStruct<u8, Wdtrf_SPEC>;
impl Wdtrf {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Swrf_SPEC;
pub type Swrf = crate::EnumBitfieldStruct<u8, Swrf_SPEC>;
impl Swrf {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Rperf_SPEC;
pub type Rperf = crate::EnumBitfieldStruct<u8, Rperf_SPEC>;
impl Rperf {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Reerf_SPEC;
pub type Reerf = crate::EnumBitfieldStruct<u8, Reerf_SPEC>;
impl Reerf {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Busmrf_SPEC;
pub type Busmrf = crate::EnumBitfieldStruct<u8, Busmrf_SPEC>;
impl Busmrf {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Tzerf_SPEC;
pub type Tzerf = crate::EnumBitfieldStruct<u8, Tzerf_SPEC>;
impl Tzerf {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Cperf_SPEC;
pub type Cperf = crate::EnumBitfieldStruct<u8, Cperf_SPEC>;
impl Cperf {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Lvd1Cr1_SPEC;
impl crate::sealed::RegSpec for Lvd1Cr1_SPEC {
type DataType = u8;
}
pub type Lvd1Cr1 = crate::RegValueT<Lvd1Cr1_SPEC>;
impl Lvd1Cr1 {
#[inline(always)]
pub fn idtsel(
self,
) -> crate::common::RegisterField<
0,
0x3,
1,
0,
lvd1cr1::Idtsel,
lvd1cr1::Idtsel,
Lvd1Cr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x3,
1,
0,
lvd1cr1::Idtsel,
lvd1cr1::Idtsel,
Lvd1Cr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn irqsel(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
lvd1cr1::Irqsel,
lvd1cr1::Irqsel,
Lvd1Cr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
lvd1cr1::Irqsel,
lvd1cr1::Irqsel,
Lvd1Cr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Lvd1Cr1 {
#[inline(always)]
fn default() -> Lvd1Cr1 {
<crate::RegValueT<Lvd1Cr1_SPEC> as RegisterValue<_>>::new(1)
}
}
pub mod lvd1cr1 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Idtsel_SPEC;
pub type Idtsel = crate::EnumBitfieldStruct<u8, Idtsel_SPEC>;
impl Idtsel {
pub const _00: Self = Self::new(0);
pub const _01: Self = Self::new(1);
pub const _10: Self = Self::new(2);
pub const _11: Self = Self::new(3);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Irqsel_SPEC;
pub type Irqsel = crate::EnumBitfieldStruct<u8, Irqsel_SPEC>;
impl Irqsel {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Lvd1Sr_SPEC;
impl crate::sealed::RegSpec for Lvd1Sr_SPEC {
type DataType = u8;
}
pub type Lvd1Sr = crate::RegValueT<Lvd1Sr_SPEC>;
impl Lvd1Sr {
#[inline(always)]
pub fn det(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
lvd1sr::Det,
lvd1sr::Det,
Lvd1Sr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
lvd1sr::Det,
lvd1sr::Det,
Lvd1Sr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn mon(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
lvd1sr::Mon,
lvd1sr::Mon,
Lvd1Sr_SPEC,
crate::common::R,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
lvd1sr::Mon,
lvd1sr::Mon,
Lvd1Sr_SPEC,
crate::common::R,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Lvd1Sr {
#[inline(always)]
fn default() -> Lvd1Sr {
<crate::RegValueT<Lvd1Sr_SPEC> as RegisterValue<_>>::new(2)
}
}
pub mod lvd1sr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Det_SPEC;
pub type Det = crate::EnumBitfieldStruct<u8, Det_SPEC>;
impl Det {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Mon_SPEC;
pub type Mon = crate::EnumBitfieldStruct<u8, Mon_SPEC>;
impl Mon {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Lvd2Cr1_SPEC;
impl crate::sealed::RegSpec for Lvd2Cr1_SPEC {
type DataType = u8;
}
pub type Lvd2Cr1 = crate::RegValueT<Lvd2Cr1_SPEC>;
impl Lvd2Cr1 {
#[inline(always)]
pub fn idtsel(
self,
) -> crate::common::RegisterField<
0,
0x3,
1,
0,
lvd2cr1::Idtsel,
lvd2cr1::Idtsel,
Lvd2Cr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x3,
1,
0,
lvd2cr1::Idtsel,
lvd2cr1::Idtsel,
Lvd2Cr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn irqsel(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
lvd2cr1::Irqsel,
lvd2cr1::Irqsel,
Lvd2Cr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
lvd2cr1::Irqsel,
lvd2cr1::Irqsel,
Lvd2Cr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Lvd2Cr1 {
#[inline(always)]
fn default() -> Lvd2Cr1 {
<crate::RegValueT<Lvd2Cr1_SPEC> as RegisterValue<_>>::new(1)
}
}
pub mod lvd2cr1 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Idtsel_SPEC;
pub type Idtsel = crate::EnumBitfieldStruct<u8, Idtsel_SPEC>;
impl Idtsel {
pub const _00: Self = Self::new(0);
pub const _01: Self = Self::new(1);
pub const _10: Self = Self::new(2);
pub const _11: Self = Self::new(3);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Irqsel_SPEC;
pub type Irqsel = crate::EnumBitfieldStruct<u8, Irqsel_SPEC>;
impl Irqsel {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Lvd2Sr_SPEC;
impl crate::sealed::RegSpec for Lvd2Sr_SPEC {
type DataType = u8;
}
pub type Lvd2Sr = crate::RegValueT<Lvd2Sr_SPEC>;
impl Lvd2Sr {
#[inline(always)]
pub fn det(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
lvd2sr::Det,
lvd2sr::Det,
Lvd2Sr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
lvd2sr::Det,
lvd2sr::Det,
Lvd2Sr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn mon(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
lvd2sr::Mon,
lvd2sr::Mon,
Lvd2Sr_SPEC,
crate::common::R,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
lvd2sr::Mon,
lvd2sr::Mon,
Lvd2Sr_SPEC,
crate::common::R,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Lvd2Sr {
#[inline(always)]
fn default() -> Lvd2Sr {
<crate::RegValueT<Lvd2Sr_SPEC> as RegisterValue<_>>::new(2)
}
}
pub mod lvd2sr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Det_SPEC;
pub type Det = crate::EnumBitfieldStruct<u8, Det_SPEC>;
impl Det {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Mon_SPEC;
pub type Mon = crate::EnumBitfieldStruct<u8, Mon_SPEC>;
impl Mon {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Cgfsar_SPEC;
impl crate::sealed::RegSpec for Cgfsar_SPEC {
type DataType = u32;
}
pub type Cgfsar = crate::RegValueT<Cgfsar_SPEC>;
impl Cgfsar {
#[inline(always)]
pub fn nonsec00(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
cgfsar::Nonsec00,
cgfsar::Nonsec00,
Cgfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
cgfsar::Nonsec00,
cgfsar::Nonsec00,
Cgfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec02(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
cgfsar::Nonsec02,
cgfsar::Nonsec02,
Cgfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
cgfsar::Nonsec02,
cgfsar::Nonsec02,
Cgfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec03(
self,
) -> crate::common::RegisterField<
3,
0x1,
1,
0,
cgfsar::Nonsec03,
cgfsar::Nonsec03,
Cgfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
3,
0x1,
1,
0,
cgfsar::Nonsec03,
cgfsar::Nonsec03,
Cgfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec04(
self,
) -> crate::common::RegisterField<
4,
0x1,
1,
0,
cgfsar::Nonsec04,
cgfsar::Nonsec04,
Cgfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
4,
0x1,
1,
0,
cgfsar::Nonsec04,
cgfsar::Nonsec04,
Cgfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec05(
self,
) -> crate::common::RegisterField<
5,
0x1,
1,
0,
cgfsar::Nonsec05,
cgfsar::Nonsec05,
Cgfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
5,
0x1,
1,
0,
cgfsar::Nonsec05,
cgfsar::Nonsec05,
Cgfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec06(
self,
) -> crate::common::RegisterField<
6,
0x1,
1,
0,
cgfsar::Nonsec06,
cgfsar::Nonsec06,
Cgfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
6,
0x1,
1,
0,
cgfsar::Nonsec06,
cgfsar::Nonsec06,
Cgfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec07(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
cgfsar::Nonsec07,
cgfsar::Nonsec07,
Cgfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
cgfsar::Nonsec07,
cgfsar::Nonsec07,
Cgfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec08(
self,
) -> crate::common::RegisterField<
8,
0x1,
1,
0,
cgfsar::Nonsec08,
cgfsar::Nonsec08,
Cgfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
8,
0x1,
1,
0,
cgfsar::Nonsec08,
cgfsar::Nonsec08,
Cgfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec09(
self,
) -> crate::common::RegisterField<
9,
0x1,
1,
0,
cgfsar::Nonsec09,
cgfsar::Nonsec09,
Cgfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
9,
0x1,
1,
0,
cgfsar::Nonsec09,
cgfsar::Nonsec09,
Cgfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec11(
self,
) -> crate::common::RegisterField<
11,
0x1,
1,
0,
cgfsar::Nonsec11,
cgfsar::Nonsec11,
Cgfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
11,
0x1,
1,
0,
cgfsar::Nonsec11,
cgfsar::Nonsec11,
Cgfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec12(
self,
) -> crate::common::RegisterField<
12,
0x1,
1,
0,
cgfsar::Nonsec12,
cgfsar::Nonsec12,
Cgfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
12,
0x1,
1,
0,
cgfsar::Nonsec12,
cgfsar::Nonsec12,
Cgfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec16(
self,
) -> crate::common::RegisterField<
16,
0x1,
1,
0,
cgfsar::Nonsec16,
cgfsar::Nonsec16,
Cgfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
16,
0x1,
1,
0,
cgfsar::Nonsec16,
cgfsar::Nonsec16,
Cgfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec17(
self,
) -> crate::common::RegisterField<
17,
0x1,
1,
0,
cgfsar::Nonsec17,
cgfsar::Nonsec17,
Cgfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
17,
0x1,
1,
0,
cgfsar::Nonsec17,
cgfsar::Nonsec17,
Cgfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec18(
self,
) -> crate::common::RegisterField<
18,
0x1,
1,
0,
cgfsar::Nonsec18,
cgfsar::Nonsec18,
Cgfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
18,
0x1,
1,
0,
cgfsar::Nonsec18,
cgfsar::Nonsec18,
Cgfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec19(
self,
) -> crate::common::RegisterField<
19,
0x1,
1,
0,
cgfsar::Nonsec19,
cgfsar::Nonsec19,
Cgfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
19,
0x1,
1,
0,
cgfsar::Nonsec19,
cgfsar::Nonsec19,
Cgfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec20(
self,
) -> crate::common::RegisterField<
20,
0x1,
1,
0,
cgfsar::Nonsec20,
cgfsar::Nonsec20,
Cgfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
20,
0x1,
1,
0,
cgfsar::Nonsec20,
cgfsar::Nonsec20,
Cgfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Cgfsar {
#[inline(always)]
fn default() -> Cgfsar {
<crate::RegValueT<Cgfsar_SPEC> as RegisterValue<_>>::new(4294967295)
}
}
pub mod cgfsar {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec00_SPEC;
pub type Nonsec00 = crate::EnumBitfieldStruct<u8, Nonsec00_SPEC>;
impl Nonsec00 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec02_SPEC;
pub type Nonsec02 = crate::EnumBitfieldStruct<u8, Nonsec02_SPEC>;
impl Nonsec02 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec03_SPEC;
pub type Nonsec03 = crate::EnumBitfieldStruct<u8, Nonsec03_SPEC>;
impl Nonsec03 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec04_SPEC;
pub type Nonsec04 = crate::EnumBitfieldStruct<u8, Nonsec04_SPEC>;
impl Nonsec04 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec05_SPEC;
pub type Nonsec05 = crate::EnumBitfieldStruct<u8, Nonsec05_SPEC>;
impl Nonsec05 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec06_SPEC;
pub type Nonsec06 = crate::EnumBitfieldStruct<u8, Nonsec06_SPEC>;
impl Nonsec06 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec07_SPEC;
pub type Nonsec07 = crate::EnumBitfieldStruct<u8, Nonsec07_SPEC>;
impl Nonsec07 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec08_SPEC;
pub type Nonsec08 = crate::EnumBitfieldStruct<u8, Nonsec08_SPEC>;
impl Nonsec08 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec09_SPEC;
pub type Nonsec09 = crate::EnumBitfieldStruct<u8, Nonsec09_SPEC>;
impl Nonsec09 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec11_SPEC;
pub type Nonsec11 = crate::EnumBitfieldStruct<u8, Nonsec11_SPEC>;
impl Nonsec11 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec12_SPEC;
pub type Nonsec12 = crate::EnumBitfieldStruct<u8, Nonsec12_SPEC>;
impl Nonsec12 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec16_SPEC;
pub type Nonsec16 = crate::EnumBitfieldStruct<u8, Nonsec16_SPEC>;
impl Nonsec16 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec17_SPEC;
pub type Nonsec17 = crate::EnumBitfieldStruct<u8, Nonsec17_SPEC>;
impl Nonsec17 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec18_SPEC;
pub type Nonsec18 = crate::EnumBitfieldStruct<u8, Nonsec18_SPEC>;
impl Nonsec18 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec19_SPEC;
pub type Nonsec19 = crate::EnumBitfieldStruct<u8, Nonsec19_SPEC>;
impl Nonsec19 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec20_SPEC;
pub type Nonsec20 = crate::EnumBitfieldStruct<u8, Nonsec20_SPEC>;
impl Nonsec20 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Rstsar_SPEC;
impl crate::sealed::RegSpec for Rstsar_SPEC {
type DataType = u32;
}
pub type Rstsar = crate::RegValueT<Rstsar_SPEC>;
impl Rstsar {
#[inline(always)]
pub fn nonsec0(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
rstsar::Nonsec0,
rstsar::Nonsec0,
Rstsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
rstsar::Nonsec0,
rstsar::Nonsec0,
Rstsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec1(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
rstsar::Nonsec1,
rstsar::Nonsec1,
Rstsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
rstsar::Nonsec1,
rstsar::Nonsec1,
Rstsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec2(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
rstsar::Nonsec2,
rstsar::Nonsec2,
Rstsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
rstsar::Nonsec2,
rstsar::Nonsec2,
Rstsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Rstsar {
#[inline(always)]
fn default() -> Rstsar {
<crate::RegValueT<Rstsar_SPEC> as RegisterValue<_>>::new(4294967295)
}
}
pub mod rstsar {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec0_SPEC;
pub type Nonsec0 = crate::EnumBitfieldStruct<u8, Nonsec0_SPEC>;
impl Nonsec0 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec1_SPEC;
pub type Nonsec1 = crate::EnumBitfieldStruct<u8, Nonsec1_SPEC>;
impl Nonsec1 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec2_SPEC;
pub type Nonsec2 = crate::EnumBitfieldStruct<u8, Nonsec2_SPEC>;
impl Nonsec2 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Lpmsar_SPEC;
impl crate::sealed::RegSpec for Lpmsar_SPEC {
type DataType = u32;
}
pub type Lpmsar = crate::RegValueT<Lpmsar_SPEC>;
impl Lpmsar {
#[inline(always)]
pub fn nonsec0(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
lpmsar::Nonsec0,
lpmsar::Nonsec0,
Lpmsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
lpmsar::Nonsec0,
lpmsar::Nonsec0,
Lpmsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec2(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
lpmsar::Nonsec2,
lpmsar::Nonsec2,
Lpmsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
lpmsar::Nonsec2,
lpmsar::Nonsec2,
Lpmsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec4(
self,
) -> crate::common::RegisterField<
4,
0x1,
1,
0,
lpmsar::Nonsec4,
lpmsar::Nonsec4,
Lpmsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
4,
0x1,
1,
0,
lpmsar::Nonsec4,
lpmsar::Nonsec4,
Lpmsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec8(
self,
) -> crate::common::RegisterField<
8,
0x1,
1,
0,
lpmsar::Nonsec8,
lpmsar::Nonsec8,
Lpmsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
8,
0x1,
1,
0,
lpmsar::Nonsec8,
lpmsar::Nonsec8,
Lpmsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec9(
self,
) -> crate::common::RegisterField<
9,
0x1,
1,
0,
lpmsar::Nonsec9,
lpmsar::Nonsec9,
Lpmsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
9,
0x1,
1,
0,
lpmsar::Nonsec9,
lpmsar::Nonsec9,
Lpmsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Lpmsar {
#[inline(always)]
fn default() -> Lpmsar {
<crate::RegValueT<Lpmsar_SPEC> as RegisterValue<_>>::new(4294967295)
}
}
pub mod lpmsar {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec0_SPEC;
pub type Nonsec0 = crate::EnumBitfieldStruct<u8, Nonsec0_SPEC>;
impl Nonsec0 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec2_SPEC;
pub type Nonsec2 = crate::EnumBitfieldStruct<u8, Nonsec2_SPEC>;
impl Nonsec2 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec4_SPEC;
pub type Nonsec4 = crate::EnumBitfieldStruct<u8, Nonsec4_SPEC>;
impl Nonsec4 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec8_SPEC;
pub type Nonsec8 = crate::EnumBitfieldStruct<u8, Nonsec8_SPEC>;
impl Nonsec8 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec9_SPEC;
pub type Nonsec9 = crate::EnumBitfieldStruct<u8, Nonsec9_SPEC>;
impl Nonsec9 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Lvdsar_SPEC;
impl crate::sealed::RegSpec for Lvdsar_SPEC {
type DataType = u32;
}
pub type Lvdsar = crate::RegValueT<Lvdsar_SPEC>;
impl Lvdsar {
#[inline(always)]
pub fn nonsec0(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
lvdsar::Nonsec0,
lvdsar::Nonsec0,
Lvdsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
lvdsar::Nonsec0,
lvdsar::Nonsec0,
Lvdsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec1(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
lvdsar::Nonsec1,
lvdsar::Nonsec1,
Lvdsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
lvdsar::Nonsec1,
lvdsar::Nonsec1,
Lvdsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Lvdsar {
#[inline(always)]
fn default() -> Lvdsar {
<crate::RegValueT<Lvdsar_SPEC> as RegisterValue<_>>::new(4294967295)
}
}
pub mod lvdsar {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec0_SPEC;
pub type Nonsec0 = crate::EnumBitfieldStruct<u8, Nonsec0_SPEC>;
impl Nonsec0 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec1_SPEC;
pub type Nonsec1 = crate::EnumBitfieldStruct<u8, Nonsec1_SPEC>;
impl Nonsec1 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Bbfsar_SPEC;
impl crate::sealed::RegSpec for Bbfsar_SPEC {
type DataType = u32;
}
pub type Bbfsar = crate::RegValueT<Bbfsar_SPEC>;
impl Bbfsar {
#[inline(always)]
pub fn nonsec0(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
bbfsar::Nonsec0,
bbfsar::Nonsec0,
Bbfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
bbfsar::Nonsec0,
bbfsar::Nonsec0,
Bbfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec1(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
bbfsar::Nonsec1,
bbfsar::Nonsec1,
Bbfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
bbfsar::Nonsec1,
bbfsar::Nonsec1,
Bbfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec2(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
bbfsar::Nonsec2,
bbfsar::Nonsec2,
Bbfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
bbfsar::Nonsec2,
bbfsar::Nonsec2,
Bbfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec16(
self,
) -> crate::common::RegisterField<
16,
0x1,
1,
0,
bbfsar::Nonsec16,
bbfsar::Nonsec16,
Bbfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
16,
0x1,
1,
0,
bbfsar::Nonsec16,
bbfsar::Nonsec16,
Bbfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec17(
self,
) -> crate::common::RegisterField<
17,
0x1,
1,
0,
bbfsar::Nonsec17,
bbfsar::Nonsec17,
Bbfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
17,
0x1,
1,
0,
bbfsar::Nonsec17,
bbfsar::Nonsec17,
Bbfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec18(
self,
) -> crate::common::RegisterField<
18,
0x1,
1,
0,
bbfsar::Nonsec18,
bbfsar::Nonsec18,
Bbfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
18,
0x1,
1,
0,
bbfsar::Nonsec18,
bbfsar::Nonsec18,
Bbfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec19(
self,
) -> crate::common::RegisterField<
19,
0x1,
1,
0,
bbfsar::Nonsec19,
bbfsar::Nonsec19,
Bbfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
19,
0x1,
1,
0,
bbfsar::Nonsec19,
bbfsar::Nonsec19,
Bbfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec20(
self,
) -> crate::common::RegisterField<
20,
0x1,
1,
0,
bbfsar::Nonsec20,
bbfsar::Nonsec20,
Bbfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
20,
0x1,
1,
0,
bbfsar::Nonsec20,
bbfsar::Nonsec20,
Bbfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec21(
self,
) -> crate::common::RegisterField<
21,
0x1,
1,
0,
bbfsar::Nonsec21,
bbfsar::Nonsec21,
Bbfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
21,
0x1,
1,
0,
bbfsar::Nonsec21,
bbfsar::Nonsec21,
Bbfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec22(
self,
) -> crate::common::RegisterField<
22,
0x1,
1,
0,
bbfsar::Nonsec22,
bbfsar::Nonsec22,
Bbfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
22,
0x1,
1,
0,
bbfsar::Nonsec22,
bbfsar::Nonsec22,
Bbfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn nonsec23(
self,
) -> crate::common::RegisterField<
23,
0x1,
1,
0,
bbfsar::Nonsec23,
bbfsar::Nonsec23,
Bbfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
23,
0x1,
1,
0,
bbfsar::Nonsec23,
bbfsar::Nonsec23,
Bbfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Bbfsar {
#[inline(always)]
fn default() -> Bbfsar {
<crate::RegValueT<Bbfsar_SPEC> as RegisterValue<_>>::new(65535)
}
}
pub mod bbfsar {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec0_SPEC;
pub type Nonsec0 = crate::EnumBitfieldStruct<u8, Nonsec0_SPEC>;
impl Nonsec0 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec1_SPEC;
pub type Nonsec1 = crate::EnumBitfieldStruct<u8, Nonsec1_SPEC>;
impl Nonsec1 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec2_SPEC;
pub type Nonsec2 = crate::EnumBitfieldStruct<u8, Nonsec2_SPEC>;
impl Nonsec2 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec16_SPEC;
pub type Nonsec16 = crate::EnumBitfieldStruct<u8, Nonsec16_SPEC>;
impl Nonsec16 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec17_SPEC;
pub type Nonsec17 = crate::EnumBitfieldStruct<u8, Nonsec17_SPEC>;
impl Nonsec17 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec18_SPEC;
pub type Nonsec18 = crate::EnumBitfieldStruct<u8, Nonsec18_SPEC>;
impl Nonsec18 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec19_SPEC;
pub type Nonsec19 = crate::EnumBitfieldStruct<u8, Nonsec19_SPEC>;
impl Nonsec19 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec20_SPEC;
pub type Nonsec20 = crate::EnumBitfieldStruct<u8, Nonsec20_SPEC>;
impl Nonsec20 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec21_SPEC;
pub type Nonsec21 = crate::EnumBitfieldStruct<u8, Nonsec21_SPEC>;
impl Nonsec21 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec22_SPEC;
pub type Nonsec22 = crate::EnumBitfieldStruct<u8, Nonsec22_SPEC>;
impl Nonsec22 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Nonsec23_SPEC;
pub type Nonsec23 = crate::EnumBitfieldStruct<u8, Nonsec23_SPEC>;
impl Nonsec23 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Dpfsar_SPEC;
impl crate::sealed::RegSpec for Dpfsar_SPEC {
type DataType = u32;
}
pub type Dpfsar = crate::RegValueT<Dpfsar_SPEC>;
impl Dpfsar {
#[inline(always)]
pub fn dpfsa0(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
dpfsar::Dpfsa0,
dpfsar::Dpfsa0,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
dpfsar::Dpfsa0,
dpfsar::Dpfsa0,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa1(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
dpfsar::Dpfsa1,
dpfsar::Dpfsa1,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
dpfsar::Dpfsa1,
dpfsar::Dpfsa1,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa2(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
dpfsar::Dpfsa2,
dpfsar::Dpfsa2,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
dpfsar::Dpfsa2,
dpfsar::Dpfsa2,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa3(
self,
) -> crate::common::RegisterField<
3,
0x1,
1,
0,
dpfsar::Dpfsa3,
dpfsar::Dpfsa3,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
3,
0x1,
1,
0,
dpfsar::Dpfsa3,
dpfsar::Dpfsa3,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa4(
self,
) -> crate::common::RegisterField<
4,
0x1,
1,
0,
dpfsar::Dpfsa4,
dpfsar::Dpfsa4,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
4,
0x1,
1,
0,
dpfsar::Dpfsa4,
dpfsar::Dpfsa4,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa5(
self,
) -> crate::common::RegisterField<
5,
0x1,
1,
0,
dpfsar::Dpfsa5,
dpfsar::Dpfsa5,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
5,
0x1,
1,
0,
dpfsar::Dpfsa5,
dpfsar::Dpfsa5,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa6(
self,
) -> crate::common::RegisterField<
6,
0x1,
1,
0,
dpfsar::Dpfsa6,
dpfsar::Dpfsa6,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
6,
0x1,
1,
0,
dpfsar::Dpfsa6,
dpfsar::Dpfsa6,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa7(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
dpfsar::Dpfsa7,
dpfsar::Dpfsa7,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
dpfsar::Dpfsa7,
dpfsar::Dpfsa7,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa08(
self,
) -> crate::common::RegisterField<
8,
0x1,
1,
0,
dpfsar::Dpfsa08,
dpfsar::Dpfsa08,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
8,
0x1,
1,
0,
dpfsar::Dpfsa08,
dpfsar::Dpfsa08,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa09(
self,
) -> crate::common::RegisterField<
9,
0x1,
1,
0,
dpfsar::Dpfsa09,
dpfsar::Dpfsa09,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
9,
0x1,
1,
0,
dpfsar::Dpfsa09,
dpfsar::Dpfsa09,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa10(
self,
) -> crate::common::RegisterField<
10,
0x1,
1,
0,
dpfsar::Dpfsa10,
dpfsar::Dpfsa10,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
10,
0x1,
1,
0,
dpfsar::Dpfsa10,
dpfsar::Dpfsa10,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa11(
self,
) -> crate::common::RegisterField<
11,
0x1,
1,
0,
dpfsar::Dpfsa11,
dpfsar::Dpfsa11,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
11,
0x1,
1,
0,
dpfsar::Dpfsa11,
dpfsar::Dpfsa11,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa12(
self,
) -> crate::common::RegisterField<
12,
0x1,
1,
0,
dpfsar::Dpfsa12,
dpfsar::Dpfsa12,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
12,
0x1,
1,
0,
dpfsar::Dpfsa12,
dpfsar::Dpfsa12,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa13(
self,
) -> crate::common::RegisterField<
13,
0x1,
1,
0,
dpfsar::Dpfsa13,
dpfsar::Dpfsa13,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
13,
0x1,
1,
0,
dpfsar::Dpfsa13,
dpfsar::Dpfsa13,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa14(
self,
) -> crate::common::RegisterField<
14,
0x1,
1,
0,
dpfsar::Dpfsa14,
dpfsar::Dpfsa14,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
14,
0x1,
1,
0,
dpfsar::Dpfsa14,
dpfsar::Dpfsa14,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa15(
self,
) -> crate::common::RegisterField<
15,
0x1,
1,
0,
dpfsar::Dpfsa15,
dpfsar::Dpfsa15,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
15,
0x1,
1,
0,
dpfsar::Dpfsa15,
dpfsar::Dpfsa15,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa16(
self,
) -> crate::common::RegisterField<
16,
0x1,
1,
0,
dpfsar::Dpfsa16,
dpfsar::Dpfsa16,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
16,
0x1,
1,
0,
dpfsar::Dpfsa16,
dpfsar::Dpfsa16,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa17(
self,
) -> crate::common::RegisterField<
17,
0x1,
1,
0,
dpfsar::Dpfsa17,
dpfsar::Dpfsa17,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
17,
0x1,
1,
0,
dpfsar::Dpfsa17,
dpfsar::Dpfsa17,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa18(
self,
) -> crate::common::RegisterField<
18,
0x1,
1,
0,
dpfsar::Dpfsa18,
dpfsar::Dpfsa18,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
18,
0x1,
1,
0,
dpfsar::Dpfsa18,
dpfsar::Dpfsa18,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa19(
self,
) -> crate::common::RegisterField<
19,
0x1,
1,
0,
dpfsar::Dpfsa19,
dpfsar::Dpfsa19,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
19,
0x1,
1,
0,
dpfsar::Dpfsa19,
dpfsar::Dpfsa19,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa20(
self,
) -> crate::common::RegisterField<
20,
0x1,
1,
0,
dpfsar::Dpfsa20,
dpfsar::Dpfsa20,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
20,
0x1,
1,
0,
dpfsar::Dpfsa20,
dpfsar::Dpfsa20,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa24(
self,
) -> crate::common::RegisterField<
24,
0x1,
1,
0,
dpfsar::Dpfsa24,
dpfsar::Dpfsa24,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
24,
0x1,
1,
0,
dpfsar::Dpfsa24,
dpfsar::Dpfsa24,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa25(
self,
) -> crate::common::RegisterField<
25,
0x1,
1,
0,
dpfsar::Dpfsa25,
dpfsar::Dpfsa25,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
25,
0x1,
1,
0,
dpfsar::Dpfsa25,
dpfsar::Dpfsa25,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa26(
self,
) -> crate::common::RegisterField<
26,
0x1,
1,
0,
dpfsar::Dpfsa26,
dpfsar::Dpfsa26,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
26,
0x1,
1,
0,
dpfsar::Dpfsa26,
dpfsar::Dpfsa26,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpfsa27(
self,
) -> crate::common::RegisterField<
27,
0x1,
1,
0,
dpfsar::Dpfsa27,
dpfsar::Dpfsa27,
Dpfsar_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
27,
0x1,
1,
0,
dpfsar::Dpfsa27,
dpfsar::Dpfsa27,
Dpfsar_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Dpfsar {
#[inline(always)]
fn default() -> Dpfsar {
<crate::RegValueT<Dpfsar_SPEC> as RegisterValue<_>>::new(4294967295)
}
}
pub mod dpfsar {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa0_SPEC;
pub type Dpfsa0 = crate::EnumBitfieldStruct<u8, Dpfsa0_SPEC>;
impl Dpfsa0 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa1_SPEC;
pub type Dpfsa1 = crate::EnumBitfieldStruct<u8, Dpfsa1_SPEC>;
impl Dpfsa1 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa2_SPEC;
pub type Dpfsa2 = crate::EnumBitfieldStruct<u8, Dpfsa2_SPEC>;
impl Dpfsa2 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa3_SPEC;
pub type Dpfsa3 = crate::EnumBitfieldStruct<u8, Dpfsa3_SPEC>;
impl Dpfsa3 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa4_SPEC;
pub type Dpfsa4 = crate::EnumBitfieldStruct<u8, Dpfsa4_SPEC>;
impl Dpfsa4 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa5_SPEC;
pub type Dpfsa5 = crate::EnumBitfieldStruct<u8, Dpfsa5_SPEC>;
impl Dpfsa5 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa6_SPEC;
pub type Dpfsa6 = crate::EnumBitfieldStruct<u8, Dpfsa6_SPEC>;
impl Dpfsa6 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa7_SPEC;
pub type Dpfsa7 = crate::EnumBitfieldStruct<u8, Dpfsa7_SPEC>;
impl Dpfsa7 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa08_SPEC;
pub type Dpfsa08 = crate::EnumBitfieldStruct<u8, Dpfsa08_SPEC>;
impl Dpfsa08 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa09_SPEC;
pub type Dpfsa09 = crate::EnumBitfieldStruct<u8, Dpfsa09_SPEC>;
impl Dpfsa09 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa10_SPEC;
pub type Dpfsa10 = crate::EnumBitfieldStruct<u8, Dpfsa10_SPEC>;
impl Dpfsa10 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa11_SPEC;
pub type Dpfsa11 = crate::EnumBitfieldStruct<u8, Dpfsa11_SPEC>;
impl Dpfsa11 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa12_SPEC;
pub type Dpfsa12 = crate::EnumBitfieldStruct<u8, Dpfsa12_SPEC>;
impl Dpfsa12 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa13_SPEC;
pub type Dpfsa13 = crate::EnumBitfieldStruct<u8, Dpfsa13_SPEC>;
impl Dpfsa13 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa14_SPEC;
pub type Dpfsa14 = crate::EnumBitfieldStruct<u8, Dpfsa14_SPEC>;
impl Dpfsa14 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa15_SPEC;
pub type Dpfsa15 = crate::EnumBitfieldStruct<u8, Dpfsa15_SPEC>;
impl Dpfsa15 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa16_SPEC;
pub type Dpfsa16 = crate::EnumBitfieldStruct<u8, Dpfsa16_SPEC>;
impl Dpfsa16 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa17_SPEC;
pub type Dpfsa17 = crate::EnumBitfieldStruct<u8, Dpfsa17_SPEC>;
impl Dpfsa17 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa18_SPEC;
pub type Dpfsa18 = crate::EnumBitfieldStruct<u8, Dpfsa18_SPEC>;
impl Dpfsa18 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa19_SPEC;
pub type Dpfsa19 = crate::EnumBitfieldStruct<u8, Dpfsa19_SPEC>;
impl Dpfsa19 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa20_SPEC;
pub type Dpfsa20 = crate::EnumBitfieldStruct<u8, Dpfsa20_SPEC>;
impl Dpfsa20 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa24_SPEC;
pub type Dpfsa24 = crate::EnumBitfieldStruct<u8, Dpfsa24_SPEC>;
impl Dpfsa24 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa25_SPEC;
pub type Dpfsa25 = crate::EnumBitfieldStruct<u8, Dpfsa25_SPEC>;
impl Dpfsa25 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa26_SPEC;
pub type Dpfsa26 = crate::EnumBitfieldStruct<u8, Dpfsa26_SPEC>;
impl Dpfsa26 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpfsa27_SPEC;
pub type Dpfsa27 = crate::EnumBitfieldStruct<u8, Dpfsa27_SPEC>;
impl Dpfsa27 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Prcr_SPEC;
impl crate::sealed::RegSpec for Prcr_SPEC {
type DataType = u16;
}
pub type Prcr = crate::RegValueT<Prcr_SPEC>;
impl Prcr {
#[inline(always)]
pub fn prc0(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
prcr::Prc0,
prcr::Prc0,
Prcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
prcr::Prc0,
prcr::Prc0,
Prcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn prc1(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
prcr::Prc1,
prcr::Prc1,
Prcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
prcr::Prc1,
prcr::Prc1,
Prcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn prc3(
self,
) -> crate::common::RegisterField<
3,
0x1,
1,
0,
prcr::Prc3,
prcr::Prc3,
Prcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
3,
0x1,
1,
0,
prcr::Prc3,
prcr::Prc3,
Prcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn prc4(
self,
) -> crate::common::RegisterField<
4,
0x1,
1,
0,
prcr::Prc4,
prcr::Prc4,
Prcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
4,
0x1,
1,
0,
prcr::Prc4,
prcr::Prc4,
Prcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn prkey(
self,
) -> crate::common::RegisterField<8, 0xff, 1, 0, u8, u8, Prcr_SPEC, crate::common::W> {
crate::common::RegisterField::<8,0xff,1,0,u8,u8,Prcr_SPEC,crate::common::W>::from_register(self,0)
}
}
impl ::core::default::Default for Prcr {
#[inline(always)]
fn default() -> Prcr {
<crate::RegValueT<Prcr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod prcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Prc0_SPEC;
pub type Prc0 = crate::EnumBitfieldStruct<u8, Prc0_SPEC>;
impl Prc0 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Prc1_SPEC;
pub type Prc1 = crate::EnumBitfieldStruct<u8, Prc1_SPEC>;
impl Prc1 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Prc3_SPEC;
pub type Prc3 = crate::EnumBitfieldStruct<u8, Prc3_SPEC>;
impl Prc3 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Prc4_SPEC;
pub type Prc4 = crate::EnumBitfieldStruct<u8, Prc4_SPEC>;
impl Prc4 {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Dpsbycr_SPEC;
impl crate::sealed::RegSpec for Dpsbycr_SPEC {
type DataType = u8;
}
pub type Dpsbycr = crate::RegValueT<Dpsbycr_SPEC>;
impl Dpsbycr {
#[inline(always)]
pub fn deepcut(
self,
) -> crate::common::RegisterField<
0,
0x3,
1,
0,
dpsbycr::Deepcut,
dpsbycr::Deepcut,
Dpsbycr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x3,
1,
0,
dpsbycr::Deepcut,
dpsbycr::Deepcut,
Dpsbycr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn iokeep(
self,
) -> crate::common::RegisterField<
6,
0x1,
1,
0,
dpsbycr::Iokeep,
dpsbycr::Iokeep,
Dpsbycr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
6,
0x1,
1,
0,
dpsbycr::Iokeep,
dpsbycr::Iokeep,
Dpsbycr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpsby(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
dpsbycr::Dpsby,
dpsbycr::Dpsby,
Dpsbycr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
dpsbycr::Dpsby,
dpsbycr::Dpsby,
Dpsbycr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Dpsbycr {
#[inline(always)]
fn default() -> Dpsbycr {
<crate::RegValueT<Dpsbycr_SPEC> as RegisterValue<_>>::new(1)
}
}
pub mod dpsbycr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Deepcut_SPEC;
pub type Deepcut = crate::EnumBitfieldStruct<u8, Deepcut_SPEC>;
impl Deepcut {
pub const _00: Self = Self::new(0);
pub const _01: Self = Self::new(1);
pub const _10: Self = Self::new(2);
pub const _11: Self = Self::new(3);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Iokeep_SPEC;
pub type Iokeep = crate::EnumBitfieldStruct<u8, Iokeep_SPEC>;
impl Iokeep {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpsby_SPEC;
pub type Dpsby = crate::EnumBitfieldStruct<u8, Dpsby_SPEC>;
impl Dpsby {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Dpswcr_SPEC;
impl crate::sealed::RegSpec for Dpswcr_SPEC {
type DataType = u8;
}
pub type Dpswcr = crate::RegValueT<Dpswcr_SPEC>;
impl Dpswcr {
#[inline(always)]
pub fn wtsts(
self,
) -> crate::common::RegisterField<
0,
0x3f,
1,
0,
dpswcr::Wtsts,
dpswcr::Wtsts,
Dpswcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x3f,
1,
0,
dpswcr::Wtsts,
dpswcr::Wtsts,
Dpswcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Dpswcr {
#[inline(always)]
fn default() -> Dpswcr {
<crate::RegValueT<Dpswcr_SPEC> as RegisterValue<_>>::new(25)
}
}
pub mod dpswcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Wtsts_SPEC;
pub type Wtsts = crate::EnumBitfieldStruct<u8, Wtsts_SPEC>;
impl Wtsts {
pub const _0_X_0_E: Self = Self::new(14);
pub const _0_X_19: Self = Self::new(25);
pub const OTHERS: Self = Self::new(0);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Dpsier0_SPEC;
impl crate::sealed::RegSpec for Dpsier0_SPEC {
type DataType = u8;
}
pub type Dpsier0 = crate::RegValueT<Dpsier0_SPEC>;
impl Dpsier0 {
#[inline(always)]
pub fn dirq0e(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
dpsier0::Dirq0E,
dpsier0::Dirq0E,
Dpsier0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
dpsier0::Dirq0E,
dpsier0::Dirq0E,
Dpsier0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq1e(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
dpsier0::Dirq1E,
dpsier0::Dirq1E,
Dpsier0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
dpsier0::Dirq1E,
dpsier0::Dirq1E,
Dpsier0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq2e(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
dpsier0::Dirq2E,
dpsier0::Dirq2E,
Dpsier0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
dpsier0::Dirq2E,
dpsier0::Dirq2E,
Dpsier0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq3e(
self,
) -> crate::common::RegisterField<
3,
0x1,
1,
0,
dpsier0::Dirq3E,
dpsier0::Dirq3E,
Dpsier0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
3,
0x1,
1,
0,
dpsier0::Dirq3E,
dpsier0::Dirq3E,
Dpsier0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq4e(
self,
) -> crate::common::RegisterField<
4,
0x1,
1,
0,
dpsier0::Dirq4E,
dpsier0::Dirq4E,
Dpsier0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
4,
0x1,
1,
0,
dpsier0::Dirq4E,
dpsier0::Dirq4E,
Dpsier0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq5e(
self,
) -> crate::common::RegisterField<
5,
0x1,
1,
0,
dpsier0::Dirq5E,
dpsier0::Dirq5E,
Dpsier0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
5,
0x1,
1,
0,
dpsier0::Dirq5E,
dpsier0::Dirq5E,
Dpsier0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq6e(
self,
) -> crate::common::RegisterField<
6,
0x1,
1,
0,
dpsier0::Dirq6E,
dpsier0::Dirq6E,
Dpsier0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
6,
0x1,
1,
0,
dpsier0::Dirq6E,
dpsier0::Dirq6E,
Dpsier0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq7e(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
dpsier0::Dirq7E,
dpsier0::Dirq7E,
Dpsier0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
dpsier0::Dirq7E,
dpsier0::Dirq7E,
Dpsier0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Dpsier0 {
#[inline(always)]
fn default() -> Dpsier0 {
<crate::RegValueT<Dpsier0_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod dpsier0 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq0E_SPEC;
pub type Dirq0E = crate::EnumBitfieldStruct<u8, Dirq0E_SPEC>;
impl Dirq0E {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq1E_SPEC;
pub type Dirq1E = crate::EnumBitfieldStruct<u8, Dirq1E_SPEC>;
impl Dirq1E {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq2E_SPEC;
pub type Dirq2E = crate::EnumBitfieldStruct<u8, Dirq2E_SPEC>;
impl Dirq2E {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq3E_SPEC;
pub type Dirq3E = crate::EnumBitfieldStruct<u8, Dirq3E_SPEC>;
impl Dirq3E {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq4E_SPEC;
pub type Dirq4E = crate::EnumBitfieldStruct<u8, Dirq4E_SPEC>;
impl Dirq4E {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq5E_SPEC;
pub type Dirq5E = crate::EnumBitfieldStruct<u8, Dirq5E_SPEC>;
impl Dirq5E {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq6E_SPEC;
pub type Dirq6E = crate::EnumBitfieldStruct<u8, Dirq6E_SPEC>;
impl Dirq6E {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq7E_SPEC;
pub type Dirq7E = crate::EnumBitfieldStruct<u8, Dirq7E_SPEC>;
impl Dirq7E {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Dpsier1_SPEC;
impl crate::sealed::RegSpec for Dpsier1_SPEC {
type DataType = u8;
}
pub type Dpsier1 = crate::RegValueT<Dpsier1_SPEC>;
impl Dpsier1 {
#[inline(always)]
pub fn dirq8e(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
dpsier1::Dirq8E,
dpsier1::Dirq8E,
Dpsier1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
dpsier1::Dirq8E,
dpsier1::Dirq8E,
Dpsier1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq9e(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
dpsier1::Dirq9E,
dpsier1::Dirq9E,
Dpsier1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
dpsier1::Dirq9E,
dpsier1::Dirq9E,
Dpsier1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq10e(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
dpsier1::Dirq10E,
dpsier1::Dirq10E,
Dpsier1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
dpsier1::Dirq10E,
dpsier1::Dirq10E,
Dpsier1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq11e(
self,
) -> crate::common::RegisterField<
3,
0x1,
1,
0,
dpsier1::Dirq11E,
dpsier1::Dirq11E,
Dpsier1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
3,
0x1,
1,
0,
dpsier1::Dirq11E,
dpsier1::Dirq11E,
Dpsier1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq12e(
self,
) -> crate::common::RegisterField<
4,
0x1,
1,
0,
dpsier1::Dirq12E,
dpsier1::Dirq12E,
Dpsier1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
4,
0x1,
1,
0,
dpsier1::Dirq12E,
dpsier1::Dirq12E,
Dpsier1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq13e(
self,
) -> crate::common::RegisterField<
5,
0x1,
1,
0,
dpsier1::Dirq13E,
dpsier1::Dirq13E,
Dpsier1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
5,
0x1,
1,
0,
dpsier1::Dirq13E,
dpsier1::Dirq13E,
Dpsier1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq14e(
self,
) -> crate::common::RegisterField<
6,
0x1,
1,
0,
dpsier1::Dirq14E,
dpsier1::Dirq14E,
Dpsier1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
6,
0x1,
1,
0,
dpsier1::Dirq14E,
dpsier1::Dirq14E,
Dpsier1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq15e(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
dpsier1::Dirq15E,
dpsier1::Dirq15E,
Dpsier1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
dpsier1::Dirq15E,
dpsier1::Dirq15E,
Dpsier1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Dpsier1 {
#[inline(always)]
fn default() -> Dpsier1 {
<crate::RegValueT<Dpsier1_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod dpsier1 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq8E_SPEC;
pub type Dirq8E = crate::EnumBitfieldStruct<u8, Dirq8E_SPEC>;
impl Dirq8E {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq9E_SPEC;
pub type Dirq9E = crate::EnumBitfieldStruct<u8, Dirq9E_SPEC>;
impl Dirq9E {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq10E_SPEC;
pub type Dirq10E = crate::EnumBitfieldStruct<u8, Dirq10E_SPEC>;
impl Dirq10E {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq11E_SPEC;
pub type Dirq11E = crate::EnumBitfieldStruct<u8, Dirq11E_SPEC>;
impl Dirq11E {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq12E_SPEC;
pub type Dirq12E = crate::EnumBitfieldStruct<u8, Dirq12E_SPEC>;
impl Dirq12E {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq13E_SPEC;
pub type Dirq13E = crate::EnumBitfieldStruct<u8, Dirq13E_SPEC>;
impl Dirq13E {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq14E_SPEC;
pub type Dirq14E = crate::EnumBitfieldStruct<u8, Dirq14E_SPEC>;
impl Dirq14E {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq15E_SPEC;
pub type Dirq15E = crate::EnumBitfieldStruct<u8, Dirq15E_SPEC>;
impl Dirq15E {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Dpsier2_SPEC;
impl crate::sealed::RegSpec for Dpsier2_SPEC {
type DataType = u8;
}
pub type Dpsier2 = crate::RegValueT<Dpsier2_SPEC>;
impl Dpsier2 {
#[inline(always)]
pub fn dlvd1ie(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
dpsier2::Dlvd1Ie,
dpsier2::Dlvd1Ie,
Dpsier2_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
dpsier2::Dlvd1Ie,
dpsier2::Dlvd1Ie,
Dpsier2_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dlvd2ie(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
dpsier2::Dlvd2Ie,
dpsier2::Dlvd2Ie,
Dpsier2_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
dpsier2::Dlvd2Ie,
dpsier2::Dlvd2Ie,
Dpsier2_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn drtciie(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
dpsier2::Drtciie,
dpsier2::Drtciie,
Dpsier2_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
dpsier2::Drtciie,
dpsier2::Drtciie,
Dpsier2_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn drtcaie(
self,
) -> crate::common::RegisterField<
3,
0x1,
1,
0,
dpsier2::Drtcaie,
dpsier2::Drtcaie,
Dpsier2_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
3,
0x1,
1,
0,
dpsier2::Drtcaie,
dpsier2::Drtcaie,
Dpsier2_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dnmie(
self,
) -> crate::common::RegisterField<
4,
0x1,
1,
0,
dpsier2::Dnmie,
dpsier2::Dnmie,
Dpsier2_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
4,
0x1,
1,
0,
dpsier2::Dnmie,
dpsier2::Dnmie,
Dpsier2_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Dpsier2 {
#[inline(always)]
fn default() -> Dpsier2 {
<crate::RegValueT<Dpsier2_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod dpsier2 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dlvd1Ie_SPEC;
pub type Dlvd1Ie = crate::EnumBitfieldStruct<u8, Dlvd1Ie_SPEC>;
impl Dlvd1Ie {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dlvd2Ie_SPEC;
pub type Dlvd2Ie = crate::EnumBitfieldStruct<u8, Dlvd2Ie_SPEC>;
impl Dlvd2Ie {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Drtciie_SPEC;
pub type Drtciie = crate::EnumBitfieldStruct<u8, Drtciie_SPEC>;
impl Drtciie {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Drtcaie_SPEC;
pub type Drtcaie = crate::EnumBitfieldStruct<u8, Drtcaie_SPEC>;
impl Drtcaie {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dnmie_SPEC;
pub type Dnmie = crate::EnumBitfieldStruct<u8, Dnmie_SPEC>;
impl Dnmie {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Dpsier3_SPEC;
impl crate::sealed::RegSpec for Dpsier3_SPEC {
type DataType = u8;
}
pub type Dpsier3 = crate::RegValueT<Dpsier3_SPEC>;
impl Dpsier3 {
#[inline(always)]
pub fn dusbfs0ie(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
dpsier3::Dusbfs0Ie,
dpsier3::Dusbfs0Ie,
Dpsier3_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
dpsier3::Dusbfs0Ie,
dpsier3::Dusbfs0Ie,
Dpsier3_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dusbhsie(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
dpsier3::Dusbhsie,
dpsier3::Dusbhsie,
Dpsier3_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
dpsier3::Dusbhsie,
dpsier3::Dusbhsie,
Dpsier3_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dagt1ie(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
dpsier3::Dagt1Ie,
dpsier3::Dagt1Ie,
Dpsier3_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
dpsier3::Dagt1Ie,
dpsier3::Dagt1Ie,
Dpsier3_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dagt3ie(
self,
) -> crate::common::RegisterField<
3,
0x1,
1,
0,
dpsier3::Dagt3Ie,
dpsier3::Dagt3Ie,
Dpsier3_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
3,
0x1,
1,
0,
dpsier3::Dagt3Ie,
dpsier3::Dagt3Ie,
Dpsier3_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Dpsier3 {
#[inline(always)]
fn default() -> Dpsier3 {
<crate::RegValueT<Dpsier3_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod dpsier3 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dusbfs0Ie_SPEC;
pub type Dusbfs0Ie = crate::EnumBitfieldStruct<u8, Dusbfs0Ie_SPEC>;
impl Dusbfs0Ie {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dusbhsie_SPEC;
pub type Dusbhsie = crate::EnumBitfieldStruct<u8, Dusbhsie_SPEC>;
impl Dusbhsie {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dagt1Ie_SPEC;
pub type Dagt1Ie = crate::EnumBitfieldStruct<u8, Dagt1Ie_SPEC>;
impl Dagt1Ie {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dagt3Ie_SPEC;
pub type Dagt3Ie = crate::EnumBitfieldStruct<u8, Dagt3Ie_SPEC>;
impl Dagt3Ie {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Dpsifr0_SPEC;
impl crate::sealed::RegSpec for Dpsifr0_SPEC {
type DataType = u8;
}
pub type Dpsifr0 = crate::RegValueT<Dpsifr0_SPEC>;
impl Dpsifr0 {
#[inline(always)]
pub fn dirq0f(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
dpsifr0::Dirq0F,
dpsifr0::Dirq0F,
Dpsifr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
dpsifr0::Dirq0F,
dpsifr0::Dirq0F,
Dpsifr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq1f(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
dpsifr0::Dirq1F,
dpsifr0::Dirq1F,
Dpsifr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
dpsifr0::Dirq1F,
dpsifr0::Dirq1F,
Dpsifr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq2f(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
dpsifr0::Dirq2F,
dpsifr0::Dirq2F,
Dpsifr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
dpsifr0::Dirq2F,
dpsifr0::Dirq2F,
Dpsifr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq3f(
self,
) -> crate::common::RegisterField<
3,
0x1,
1,
0,
dpsifr0::Dirq3F,
dpsifr0::Dirq3F,
Dpsifr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
3,
0x1,
1,
0,
dpsifr0::Dirq3F,
dpsifr0::Dirq3F,
Dpsifr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq4f(
self,
) -> crate::common::RegisterField<
4,
0x1,
1,
0,
dpsifr0::Dirq4F,
dpsifr0::Dirq4F,
Dpsifr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
4,
0x1,
1,
0,
dpsifr0::Dirq4F,
dpsifr0::Dirq4F,
Dpsifr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq5f(
self,
) -> crate::common::RegisterField<
5,
0x1,
1,
0,
dpsifr0::Dirq5F,
dpsifr0::Dirq5F,
Dpsifr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
5,
0x1,
1,
0,
dpsifr0::Dirq5F,
dpsifr0::Dirq5F,
Dpsifr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq6f(
self,
) -> crate::common::RegisterField<
6,
0x1,
1,
0,
dpsifr0::Dirq6F,
dpsifr0::Dirq6F,
Dpsifr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
6,
0x1,
1,
0,
dpsifr0::Dirq6F,
dpsifr0::Dirq6F,
Dpsifr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq7f(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
dpsifr0::Dirq7F,
dpsifr0::Dirq7F,
Dpsifr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
dpsifr0::Dirq7F,
dpsifr0::Dirq7F,
Dpsifr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Dpsifr0 {
#[inline(always)]
fn default() -> Dpsifr0 {
<crate::RegValueT<Dpsifr0_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod dpsifr0 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq0F_SPEC;
pub type Dirq0F = crate::EnumBitfieldStruct<u8, Dirq0F_SPEC>;
impl Dirq0F {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq1F_SPEC;
pub type Dirq1F = crate::EnumBitfieldStruct<u8, Dirq1F_SPEC>;
impl Dirq1F {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq2F_SPEC;
pub type Dirq2F = crate::EnumBitfieldStruct<u8, Dirq2F_SPEC>;
impl Dirq2F {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq3F_SPEC;
pub type Dirq3F = crate::EnumBitfieldStruct<u8, Dirq3F_SPEC>;
impl Dirq3F {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq4F_SPEC;
pub type Dirq4F = crate::EnumBitfieldStruct<u8, Dirq4F_SPEC>;
impl Dirq4F {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq5F_SPEC;
pub type Dirq5F = crate::EnumBitfieldStruct<u8, Dirq5F_SPEC>;
impl Dirq5F {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq6F_SPEC;
pub type Dirq6F = crate::EnumBitfieldStruct<u8, Dirq6F_SPEC>;
impl Dirq6F {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq7F_SPEC;
pub type Dirq7F = crate::EnumBitfieldStruct<u8, Dirq7F_SPEC>;
impl Dirq7F {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Dpsifr1_SPEC;
impl crate::sealed::RegSpec for Dpsifr1_SPEC {
type DataType = u8;
}
pub type Dpsifr1 = crate::RegValueT<Dpsifr1_SPEC>;
impl Dpsifr1 {
#[inline(always)]
pub fn dirq8f(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
dpsifr1::Dirq8F,
dpsifr1::Dirq8F,
Dpsifr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
dpsifr1::Dirq8F,
dpsifr1::Dirq8F,
Dpsifr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq9f(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
dpsifr1::Dirq9F,
dpsifr1::Dirq9F,
Dpsifr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
dpsifr1::Dirq9F,
dpsifr1::Dirq9F,
Dpsifr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq10f(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
dpsifr1::Dirq10F,
dpsifr1::Dirq10F,
Dpsifr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
dpsifr1::Dirq10F,
dpsifr1::Dirq10F,
Dpsifr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq11f(
self,
) -> crate::common::RegisterField<
3,
0x1,
1,
0,
dpsifr1::Dirq11F,
dpsifr1::Dirq11F,
Dpsifr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
3,
0x1,
1,
0,
dpsifr1::Dirq11F,
dpsifr1::Dirq11F,
Dpsifr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq12f(
self,
) -> crate::common::RegisterField<
4,
0x1,
1,
0,
dpsifr1::Dirq12F,
dpsifr1::Dirq12F,
Dpsifr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
4,
0x1,
1,
0,
dpsifr1::Dirq12F,
dpsifr1::Dirq12F,
Dpsifr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq13f(
self,
) -> crate::common::RegisterField<
5,
0x1,
1,
0,
dpsifr1::Dirq13F,
dpsifr1::Dirq13F,
Dpsifr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
5,
0x1,
1,
0,
dpsifr1::Dirq13F,
dpsifr1::Dirq13F,
Dpsifr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq14f(
self,
) -> crate::common::RegisterField<
6,
0x1,
1,
0,
dpsifr1::Dirq14F,
dpsifr1::Dirq14F,
Dpsifr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
6,
0x1,
1,
0,
dpsifr1::Dirq14F,
dpsifr1::Dirq14F,
Dpsifr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq15f(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
dpsifr1::Dirq15F,
dpsifr1::Dirq15F,
Dpsifr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
dpsifr1::Dirq15F,
dpsifr1::Dirq15F,
Dpsifr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Dpsifr1 {
#[inline(always)]
fn default() -> Dpsifr1 {
<crate::RegValueT<Dpsifr1_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod dpsifr1 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq8F_SPEC;
pub type Dirq8F = crate::EnumBitfieldStruct<u8, Dirq8F_SPEC>;
impl Dirq8F {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq9F_SPEC;
pub type Dirq9F = crate::EnumBitfieldStruct<u8, Dirq9F_SPEC>;
impl Dirq9F {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq10F_SPEC;
pub type Dirq10F = crate::EnumBitfieldStruct<u8, Dirq10F_SPEC>;
impl Dirq10F {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq11F_SPEC;
pub type Dirq11F = crate::EnumBitfieldStruct<u8, Dirq11F_SPEC>;
impl Dirq11F {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq12F_SPEC;
pub type Dirq12F = crate::EnumBitfieldStruct<u8, Dirq12F_SPEC>;
impl Dirq12F {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq13F_SPEC;
pub type Dirq13F = crate::EnumBitfieldStruct<u8, Dirq13F_SPEC>;
impl Dirq13F {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq14F_SPEC;
pub type Dirq14F = crate::EnumBitfieldStruct<u8, Dirq14F_SPEC>;
impl Dirq14F {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq15F_SPEC;
pub type Dirq15F = crate::EnumBitfieldStruct<u8, Dirq15F_SPEC>;
impl Dirq15F {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Dpsifr2_SPEC;
impl crate::sealed::RegSpec for Dpsifr2_SPEC {
type DataType = u8;
}
pub type Dpsifr2 = crate::RegValueT<Dpsifr2_SPEC>;
impl Dpsifr2 {
#[inline(always)]
pub fn dlvd1if(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
dpsifr2::Dlvd1If,
dpsifr2::Dlvd1If,
Dpsifr2_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
dpsifr2::Dlvd1If,
dpsifr2::Dlvd1If,
Dpsifr2_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dlvd2if(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
dpsifr2::Dlvd2If,
dpsifr2::Dlvd2If,
Dpsifr2_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
dpsifr2::Dlvd2If,
dpsifr2::Dlvd2If,
Dpsifr2_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn drtciif(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
dpsifr2::Drtciif,
dpsifr2::Drtciif,
Dpsifr2_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
dpsifr2::Drtciif,
dpsifr2::Drtciif,
Dpsifr2_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn drtcaif(
self,
) -> crate::common::RegisterField<
3,
0x1,
1,
0,
dpsifr2::Drtcaif,
dpsifr2::Drtcaif,
Dpsifr2_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
3,
0x1,
1,
0,
dpsifr2::Drtcaif,
dpsifr2::Drtcaif,
Dpsifr2_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dnmif(
self,
) -> crate::common::RegisterField<
4,
0x1,
1,
0,
dpsifr2::Dnmif,
dpsifr2::Dnmif,
Dpsifr2_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
4,
0x1,
1,
0,
dpsifr2::Dnmif,
dpsifr2::Dnmif,
Dpsifr2_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Dpsifr2 {
#[inline(always)]
fn default() -> Dpsifr2 {
<crate::RegValueT<Dpsifr2_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod dpsifr2 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dlvd1If_SPEC;
pub type Dlvd1If = crate::EnumBitfieldStruct<u8, Dlvd1If_SPEC>;
impl Dlvd1If {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dlvd2If_SPEC;
pub type Dlvd2If = crate::EnumBitfieldStruct<u8, Dlvd2If_SPEC>;
impl Dlvd2If {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Drtciif_SPEC;
pub type Drtciif = crate::EnumBitfieldStruct<u8, Drtciif_SPEC>;
impl Drtciif {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Drtcaif_SPEC;
pub type Drtcaif = crate::EnumBitfieldStruct<u8, Drtcaif_SPEC>;
impl Drtcaif {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dnmif_SPEC;
pub type Dnmif = crate::EnumBitfieldStruct<u8, Dnmif_SPEC>;
impl Dnmif {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Dpsifr3_SPEC;
impl crate::sealed::RegSpec for Dpsifr3_SPEC {
type DataType = u8;
}
pub type Dpsifr3 = crate::RegValueT<Dpsifr3_SPEC>;
impl Dpsifr3 {
#[inline(always)]
pub fn dusbfs0if(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
dpsifr3::Dusbfs0If,
dpsifr3::Dusbfs0If,
Dpsifr3_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
dpsifr3::Dusbfs0If,
dpsifr3::Dusbfs0If,
Dpsifr3_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dusbhsif(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
dpsifr3::Dusbhsif,
dpsifr3::Dusbhsif,
Dpsifr3_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
dpsifr3::Dusbhsif,
dpsifr3::Dusbhsif,
Dpsifr3_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dagt1if(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
dpsifr3::Dagt1If,
dpsifr3::Dagt1If,
Dpsifr3_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
dpsifr3::Dagt1If,
dpsifr3::Dagt1If,
Dpsifr3_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dagt3if(
self,
) -> crate::common::RegisterField<
3,
0x1,
1,
0,
dpsifr3::Dagt3If,
dpsifr3::Dagt3If,
Dpsifr3_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
3,
0x1,
1,
0,
dpsifr3::Dagt3If,
dpsifr3::Dagt3If,
Dpsifr3_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Dpsifr3 {
#[inline(always)]
fn default() -> Dpsifr3 {
<crate::RegValueT<Dpsifr3_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod dpsifr3 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dusbfs0If_SPEC;
pub type Dusbfs0If = crate::EnumBitfieldStruct<u8, Dusbfs0If_SPEC>;
impl Dusbfs0If {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dusbhsif_SPEC;
pub type Dusbhsif = crate::EnumBitfieldStruct<u8, Dusbhsif_SPEC>;
impl Dusbhsif {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dagt1If_SPEC;
pub type Dagt1If = crate::EnumBitfieldStruct<u8, Dagt1If_SPEC>;
impl Dagt1If {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dagt3If_SPEC;
pub type Dagt3If = crate::EnumBitfieldStruct<u8, Dagt3If_SPEC>;
impl Dagt3If {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Dpsiegr0_SPEC;
impl crate::sealed::RegSpec for Dpsiegr0_SPEC {
type DataType = u8;
}
pub type Dpsiegr0 = crate::RegValueT<Dpsiegr0_SPEC>;
impl Dpsiegr0 {
#[inline(always)]
pub fn dirq0eg(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
dpsiegr0::Dirq0Eg,
dpsiegr0::Dirq0Eg,
Dpsiegr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
dpsiegr0::Dirq0Eg,
dpsiegr0::Dirq0Eg,
Dpsiegr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq1eg(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
dpsiegr0::Dirq1Eg,
dpsiegr0::Dirq1Eg,
Dpsiegr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
dpsiegr0::Dirq1Eg,
dpsiegr0::Dirq1Eg,
Dpsiegr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq2eg(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
dpsiegr0::Dirq2Eg,
dpsiegr0::Dirq2Eg,
Dpsiegr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
dpsiegr0::Dirq2Eg,
dpsiegr0::Dirq2Eg,
Dpsiegr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq3eg(
self,
) -> crate::common::RegisterField<
3,
0x1,
1,
0,
dpsiegr0::Dirq3Eg,
dpsiegr0::Dirq3Eg,
Dpsiegr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
3,
0x1,
1,
0,
dpsiegr0::Dirq3Eg,
dpsiegr0::Dirq3Eg,
Dpsiegr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq4eg(
self,
) -> crate::common::RegisterField<
4,
0x1,
1,
0,
dpsiegr0::Dirq4Eg,
dpsiegr0::Dirq4Eg,
Dpsiegr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
4,
0x1,
1,
0,
dpsiegr0::Dirq4Eg,
dpsiegr0::Dirq4Eg,
Dpsiegr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq5eg(
self,
) -> crate::common::RegisterField<
5,
0x1,
1,
0,
dpsiegr0::Dirq5Eg,
dpsiegr0::Dirq5Eg,
Dpsiegr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
5,
0x1,
1,
0,
dpsiegr0::Dirq5Eg,
dpsiegr0::Dirq5Eg,
Dpsiegr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq6eg(
self,
) -> crate::common::RegisterField<
6,
0x1,
1,
0,
dpsiegr0::Dirq6Eg,
dpsiegr0::Dirq6Eg,
Dpsiegr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
6,
0x1,
1,
0,
dpsiegr0::Dirq6Eg,
dpsiegr0::Dirq6Eg,
Dpsiegr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq7eg(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
dpsiegr0::Dirq7Eg,
dpsiegr0::Dirq7Eg,
Dpsiegr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
dpsiegr0::Dirq7Eg,
dpsiegr0::Dirq7Eg,
Dpsiegr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Dpsiegr0 {
#[inline(always)]
fn default() -> Dpsiegr0 {
<crate::RegValueT<Dpsiegr0_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod dpsiegr0 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq0Eg_SPEC;
pub type Dirq0Eg = crate::EnumBitfieldStruct<u8, Dirq0Eg_SPEC>;
impl Dirq0Eg {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq1Eg_SPEC;
pub type Dirq1Eg = crate::EnumBitfieldStruct<u8, Dirq1Eg_SPEC>;
impl Dirq1Eg {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq2Eg_SPEC;
pub type Dirq2Eg = crate::EnumBitfieldStruct<u8, Dirq2Eg_SPEC>;
impl Dirq2Eg {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq3Eg_SPEC;
pub type Dirq3Eg = crate::EnumBitfieldStruct<u8, Dirq3Eg_SPEC>;
impl Dirq3Eg {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq4Eg_SPEC;
pub type Dirq4Eg = crate::EnumBitfieldStruct<u8, Dirq4Eg_SPEC>;
impl Dirq4Eg {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq5Eg_SPEC;
pub type Dirq5Eg = crate::EnumBitfieldStruct<u8, Dirq5Eg_SPEC>;
impl Dirq5Eg {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq6Eg_SPEC;
pub type Dirq6Eg = crate::EnumBitfieldStruct<u8, Dirq6Eg_SPEC>;
impl Dirq6Eg {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq7Eg_SPEC;
pub type Dirq7Eg = crate::EnumBitfieldStruct<u8, Dirq7Eg_SPEC>;
impl Dirq7Eg {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Dpsiegr1_SPEC;
impl crate::sealed::RegSpec for Dpsiegr1_SPEC {
type DataType = u8;
}
pub type Dpsiegr1 = crate::RegValueT<Dpsiegr1_SPEC>;
impl Dpsiegr1 {
#[inline(always)]
pub fn dirq8eg(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
dpsiegr1::Dirq8Eg,
dpsiegr1::Dirq8Eg,
Dpsiegr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
dpsiegr1::Dirq8Eg,
dpsiegr1::Dirq8Eg,
Dpsiegr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq9eg(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
dpsiegr1::Dirq9Eg,
dpsiegr1::Dirq9Eg,
Dpsiegr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
dpsiegr1::Dirq9Eg,
dpsiegr1::Dirq9Eg,
Dpsiegr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq10eg(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
dpsiegr1::Dirq10Eg,
dpsiegr1::Dirq10Eg,
Dpsiegr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
dpsiegr1::Dirq10Eg,
dpsiegr1::Dirq10Eg,
Dpsiegr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq11eg(
self,
) -> crate::common::RegisterField<
3,
0x1,
1,
0,
dpsiegr1::Dirq11Eg,
dpsiegr1::Dirq11Eg,
Dpsiegr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
3,
0x1,
1,
0,
dpsiegr1::Dirq11Eg,
dpsiegr1::Dirq11Eg,
Dpsiegr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq12eg(
self,
) -> crate::common::RegisterField<
4,
0x1,
1,
0,
dpsiegr1::Dirq12Eg,
dpsiegr1::Dirq12Eg,
Dpsiegr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
4,
0x1,
1,
0,
dpsiegr1::Dirq12Eg,
dpsiegr1::Dirq12Eg,
Dpsiegr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq13eg(
self,
) -> crate::common::RegisterField<
5,
0x1,
1,
0,
dpsiegr1::Dirq13Eg,
dpsiegr1::Dirq13Eg,
Dpsiegr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
5,
0x1,
1,
0,
dpsiegr1::Dirq13Eg,
dpsiegr1::Dirq13Eg,
Dpsiegr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq14eg(
self,
) -> crate::common::RegisterField<
6,
0x1,
1,
0,
dpsiegr1::Dirq14Eg,
dpsiegr1::Dirq14Eg,
Dpsiegr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
6,
0x1,
1,
0,
dpsiegr1::Dirq14Eg,
dpsiegr1::Dirq14Eg,
Dpsiegr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dirq15eg(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
dpsiegr1::Dirq15Eg,
dpsiegr1::Dirq15Eg,
Dpsiegr1_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
dpsiegr1::Dirq15Eg,
dpsiegr1::Dirq15Eg,
Dpsiegr1_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Dpsiegr1 {
#[inline(always)]
fn default() -> Dpsiegr1 {
<crate::RegValueT<Dpsiegr1_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod dpsiegr1 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq8Eg_SPEC;
pub type Dirq8Eg = crate::EnumBitfieldStruct<u8, Dirq8Eg_SPEC>;
impl Dirq8Eg {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq9Eg_SPEC;
pub type Dirq9Eg = crate::EnumBitfieldStruct<u8, Dirq9Eg_SPEC>;
impl Dirq9Eg {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq10Eg_SPEC;
pub type Dirq10Eg = crate::EnumBitfieldStruct<u8, Dirq10Eg_SPEC>;
impl Dirq10Eg {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq11Eg_SPEC;
pub type Dirq11Eg = crate::EnumBitfieldStruct<u8, Dirq11Eg_SPEC>;
impl Dirq11Eg {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq12Eg_SPEC;
pub type Dirq12Eg = crate::EnumBitfieldStruct<u8, Dirq12Eg_SPEC>;
impl Dirq12Eg {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq13Eg_SPEC;
pub type Dirq13Eg = crate::EnumBitfieldStruct<u8, Dirq13Eg_SPEC>;
impl Dirq13Eg {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq14Eg_SPEC;
pub type Dirq14Eg = crate::EnumBitfieldStruct<u8, Dirq14Eg_SPEC>;
impl Dirq14Eg {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dirq15Eg_SPEC;
pub type Dirq15Eg = crate::EnumBitfieldStruct<u8, Dirq15Eg_SPEC>;
impl Dirq15Eg {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Dpsiegr2_SPEC;
impl crate::sealed::RegSpec for Dpsiegr2_SPEC {
type DataType = u8;
}
pub type Dpsiegr2 = crate::RegValueT<Dpsiegr2_SPEC>;
impl Dpsiegr2 {
#[inline(always)]
pub fn dlvd1eg(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
dpsiegr2::Dlvd1Eg,
dpsiegr2::Dlvd1Eg,
Dpsiegr2_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
dpsiegr2::Dlvd1Eg,
dpsiegr2::Dlvd1Eg,
Dpsiegr2_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dlvd2eg(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
dpsiegr2::Dlvd2Eg,
dpsiegr2::Dlvd2Eg,
Dpsiegr2_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
dpsiegr2::Dlvd2Eg,
dpsiegr2::Dlvd2Eg,
Dpsiegr2_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dnmieg(
self,
) -> crate::common::RegisterField<
4,
0x1,
1,
0,
dpsiegr2::Dnmieg,
dpsiegr2::Dnmieg,
Dpsiegr2_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
4,
0x1,
1,
0,
dpsiegr2::Dnmieg,
dpsiegr2::Dnmieg,
Dpsiegr2_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Dpsiegr2 {
#[inline(always)]
fn default() -> Dpsiegr2 {
<crate::RegValueT<Dpsiegr2_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod dpsiegr2 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dlvd1Eg_SPEC;
pub type Dlvd1Eg = crate::EnumBitfieldStruct<u8, Dlvd1Eg_SPEC>;
impl Dlvd1Eg {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dlvd2Eg_SPEC;
pub type Dlvd2Eg = crate::EnumBitfieldStruct<u8, Dlvd2Eg_SPEC>;
impl Dlvd2Eg {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dnmieg_SPEC;
pub type Dnmieg = crate::EnumBitfieldStruct<u8, Dnmieg_SPEC>;
impl Dnmieg {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Syocdcr_SPEC;
impl crate::sealed::RegSpec for Syocdcr_SPEC {
type DataType = u8;
}
pub type Syocdcr = crate::RegValueT<Syocdcr_SPEC>;
impl Syocdcr {
#[inline(always)]
pub fn docdf(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
syocdcr::Docdf,
syocdcr::Docdf,
Syocdcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
syocdcr::Docdf,
syocdcr::Docdf,
Syocdcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dbgen(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
syocdcr::Dbgen,
syocdcr::Dbgen,
Syocdcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
syocdcr::Dbgen,
syocdcr::Dbgen,
Syocdcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Syocdcr {
#[inline(always)]
fn default() -> Syocdcr {
<crate::RegValueT<Syocdcr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod syocdcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Docdf_SPEC;
pub type Docdf = crate::EnumBitfieldStruct<u8, Docdf_SPEC>;
impl Docdf {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dbgen_SPEC;
pub type Dbgen = crate::EnumBitfieldStruct<u8, Dbgen_SPEC>;
impl Dbgen {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Rstsr0_SPEC;
impl crate::sealed::RegSpec for Rstsr0_SPEC {
type DataType = u8;
}
pub type Rstsr0 = crate::RegValueT<Rstsr0_SPEC>;
impl Rstsr0 {
#[inline(always)]
pub fn porf(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
rstsr0::Porf,
rstsr0::Porf,
Rstsr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
rstsr0::Porf,
rstsr0::Porf,
Rstsr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn lvd0rf(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
rstsr0::Lvd0Rf,
rstsr0::Lvd0Rf,
Rstsr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
rstsr0::Lvd0Rf,
rstsr0::Lvd0Rf,
Rstsr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn lvd1rf(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
rstsr0::Lvd1Rf,
rstsr0::Lvd1Rf,
Rstsr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
rstsr0::Lvd1Rf,
rstsr0::Lvd1Rf,
Rstsr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn lvd2rf(
self,
) -> crate::common::RegisterField<
3,
0x1,
1,
0,
rstsr0::Lvd2Rf,
rstsr0::Lvd2Rf,
Rstsr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
3,
0x1,
1,
0,
rstsr0::Lvd2Rf,
rstsr0::Lvd2Rf,
Rstsr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dpsrstf(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
rstsr0::Dpsrstf,
rstsr0::Dpsrstf,
Rstsr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
rstsr0::Dpsrstf,
rstsr0::Dpsrstf,
Rstsr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Rstsr0 {
#[inline(always)]
fn default() -> Rstsr0 {
<crate::RegValueT<Rstsr0_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod rstsr0 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Porf_SPEC;
pub type Porf = crate::EnumBitfieldStruct<u8, Porf_SPEC>;
impl Porf {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Lvd0Rf_SPEC;
pub type Lvd0Rf = crate::EnumBitfieldStruct<u8, Lvd0Rf_SPEC>;
impl Lvd0Rf {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Lvd1Rf_SPEC;
pub type Lvd1Rf = crate::EnumBitfieldStruct<u8, Lvd1Rf_SPEC>;
impl Lvd1Rf {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Lvd2Rf_SPEC;
pub type Lvd2Rf = crate::EnumBitfieldStruct<u8, Lvd2Rf_SPEC>;
impl Lvd2Rf {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dpsrstf_SPEC;
pub type Dpsrstf = crate::EnumBitfieldStruct<u8, Dpsrstf_SPEC>;
impl Dpsrstf {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Rstsr2_SPEC;
impl crate::sealed::RegSpec for Rstsr2_SPEC {
type DataType = u8;
}
pub type Rstsr2 = crate::RegValueT<Rstsr2_SPEC>;
impl Rstsr2 {
#[inline(always)]
pub fn cwsf(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
rstsr2::Cwsf,
rstsr2::Cwsf,
Rstsr2_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
rstsr2::Cwsf,
rstsr2::Cwsf,
Rstsr2_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Rstsr2 {
#[inline(always)]
fn default() -> Rstsr2 {
<crate::RegValueT<Rstsr2_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod rstsr2 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Cwsf_SPEC;
pub type Cwsf = crate::EnumBitfieldStruct<u8, Cwsf_SPEC>;
impl Cwsf {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Momcr_SPEC;
impl crate::sealed::RegSpec for Momcr_SPEC {
type DataType = u8;
}
pub type Momcr = crate::RegValueT<Momcr_SPEC>;
impl Momcr {
#[inline(always)]
pub fn modrv(
self,
) -> crate::common::RegisterField<
4,
0x3,
1,
0,
momcr::Modrv,
momcr::Modrv,
Momcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
4,
0x3,
1,
0,
momcr::Modrv,
momcr::Modrv,
Momcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn mosel(
self,
) -> crate::common::RegisterField<
6,
0x1,
1,
0,
momcr::Mosel,
momcr::Mosel,
Momcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
6,
0x1,
1,
0,
momcr::Mosel,
momcr::Mosel,
Momcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Momcr {
#[inline(always)]
fn default() -> Momcr {
<crate::RegValueT<Momcr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod momcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Modrv_SPEC;
pub type Modrv = crate::EnumBitfieldStruct<u8, Modrv_SPEC>;
impl Modrv {
pub const _00: Self = Self::new(0);
pub const _01: Self = Self::new(1);
pub const _10: Self = Self::new(2);
pub const _11: Self = Self::new(3);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Mosel_SPEC;
pub type Mosel = crate::EnumBitfieldStruct<u8, Mosel_SPEC>;
impl Mosel {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Fwepror_SPEC;
impl crate::sealed::RegSpec for Fwepror_SPEC {
type DataType = u8;
}
pub type Fwepror = crate::RegValueT<Fwepror_SPEC>;
impl Fwepror {
#[inline(always)]
pub fn flwe(
self,
) -> crate::common::RegisterField<
0,
0x3,
1,
0,
fwepror::Flwe,
fwepror::Flwe,
Fwepror_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x3,
1,
0,
fwepror::Flwe,
fwepror::Flwe,
Fwepror_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Fwepror {
#[inline(always)]
fn default() -> Fwepror {
<crate::RegValueT<Fwepror_SPEC> as RegisterValue<_>>::new(2)
}
}
pub mod fwepror {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Flwe_SPEC;
pub type Flwe = crate::EnumBitfieldStruct<u8, Flwe_SPEC>;
impl Flwe {
pub const _00: Self = Self::new(0);
pub const _01: Self = Self::new(1);
pub const _10: Self = Self::new(2);
pub const _11: Self = Self::new(3);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Lvd1Cmpcr_SPEC;
impl crate::sealed::RegSpec for Lvd1Cmpcr_SPEC {
type DataType = u8;
}
pub type Lvd1Cmpcr = crate::RegValueT<Lvd1Cmpcr_SPEC>;
impl Lvd1Cmpcr {
#[inline(always)]
pub fn lvd1lvl(
self,
) -> crate::common::RegisterField<
0,
0x1f,
1,
0,
lvd1cmpcr::Lvd1Lvl,
lvd1cmpcr::Lvd1Lvl,
Lvd1Cmpcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1f,
1,
0,
lvd1cmpcr::Lvd1Lvl,
lvd1cmpcr::Lvd1Lvl,
Lvd1Cmpcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn lvd1e(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
lvd1cmpcr::Lvd1E,
lvd1cmpcr::Lvd1E,
Lvd1Cmpcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
lvd1cmpcr::Lvd1E,
lvd1cmpcr::Lvd1E,
Lvd1Cmpcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Lvd1Cmpcr {
#[inline(always)]
fn default() -> Lvd1Cmpcr {
<crate::RegValueT<Lvd1Cmpcr_SPEC> as RegisterValue<_>>::new(19)
}
}
pub mod lvd1cmpcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Lvd1Lvl_SPEC;
pub type Lvd1Lvl = crate::EnumBitfieldStruct<u8, Lvd1Lvl_SPEC>;
impl Lvd1Lvl {
pub const _0_X_11: Self = Self::new(17);
pub const _0_X_12: Self = Self::new(18);
pub const _0_X_13: Self = Self::new(19);
pub const OTHERS: Self = Self::new(0);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Lvd1E_SPEC;
pub type Lvd1E = crate::EnumBitfieldStruct<u8, Lvd1E_SPEC>;
impl Lvd1E {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Lvd2Cmpcr_SPEC;
impl crate::sealed::RegSpec for Lvd2Cmpcr_SPEC {
type DataType = u8;
}
pub type Lvd2Cmpcr = crate::RegValueT<Lvd2Cmpcr_SPEC>;
impl Lvd2Cmpcr {
#[inline(always)]
pub fn lvd2lvl(
self,
) -> crate::common::RegisterField<
0,
0x7,
1,
0,
lvd2cmpcr::Lvd2Lvl,
lvd2cmpcr::Lvd2Lvl,
Lvd2Cmpcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x7,
1,
0,
lvd2cmpcr::Lvd2Lvl,
lvd2cmpcr::Lvd2Lvl,
Lvd2Cmpcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn lvd2e(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
lvd2cmpcr::Lvd2E,
lvd2cmpcr::Lvd2E,
Lvd2Cmpcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
lvd2cmpcr::Lvd2E,
lvd2cmpcr::Lvd2E,
Lvd2Cmpcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Lvd2Cmpcr {
#[inline(always)]
fn default() -> Lvd2Cmpcr {
<crate::RegValueT<Lvd2Cmpcr_SPEC> as RegisterValue<_>>::new(7)
}
}
pub mod lvd2cmpcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Lvd2Lvl_SPEC;
pub type Lvd2Lvl = crate::EnumBitfieldStruct<u8, Lvd2Lvl_SPEC>;
impl Lvd2Lvl {
pub const _101: Self = Self::new(5);
pub const _110: Self = Self::new(6);
pub const _111: Self = Self::new(7);
pub const OTHERS: Self = Self::new(0);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Lvd2E_SPEC;
pub type Lvd2E = crate::EnumBitfieldStruct<u8, Lvd2E_SPEC>;
impl Lvd2E {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Lvd1Cr0_SPEC;
impl crate::sealed::RegSpec for Lvd1Cr0_SPEC {
type DataType = u8;
}
pub type Lvd1Cr0 = crate::RegValueT<Lvd1Cr0_SPEC>;
impl Lvd1Cr0 {
#[inline(always)]
pub fn rie(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
lvd1cr0::Rie,
lvd1cr0::Rie,
Lvd1Cr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
lvd1cr0::Rie,
lvd1cr0::Rie,
Lvd1Cr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dfdis(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
lvd1cr0::Dfdis,
lvd1cr0::Dfdis,
Lvd1Cr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
lvd1cr0::Dfdis,
lvd1cr0::Dfdis,
Lvd1Cr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn cmpe(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
lvd1cr0::Cmpe,
lvd1cr0::Cmpe,
Lvd1Cr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
lvd1cr0::Cmpe,
lvd1cr0::Cmpe,
Lvd1Cr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn fsamp(
self,
) -> crate::common::RegisterField<
4,
0x3,
1,
0,
lvd1cr0::Fsamp,
lvd1cr0::Fsamp,
Lvd1Cr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
4,
0x3,
1,
0,
lvd1cr0::Fsamp,
lvd1cr0::Fsamp,
Lvd1Cr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn ri(
self,
) -> crate::common::RegisterField<
6,
0x1,
1,
0,
lvd1cr0::Ri,
lvd1cr0::Ri,
Lvd1Cr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
6,
0x1,
1,
0,
lvd1cr0::Ri,
lvd1cr0::Ri,
Lvd1Cr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn rn(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
lvd1cr0::Rn,
lvd1cr0::Rn,
Lvd1Cr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
lvd1cr0::Rn,
lvd1cr0::Rn,
Lvd1Cr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Lvd1Cr0 {
#[inline(always)]
fn default() -> Lvd1Cr0 {
<crate::RegValueT<Lvd1Cr0_SPEC> as RegisterValue<_>>::new(130)
}
}
pub mod lvd1cr0 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Rie_SPEC;
pub type Rie = crate::EnumBitfieldStruct<u8, Rie_SPEC>;
impl Rie {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dfdis_SPEC;
pub type Dfdis = crate::EnumBitfieldStruct<u8, Dfdis_SPEC>;
impl Dfdis {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Cmpe_SPEC;
pub type Cmpe = crate::EnumBitfieldStruct<u8, Cmpe_SPEC>;
impl Cmpe {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Fsamp_SPEC;
pub type Fsamp = crate::EnumBitfieldStruct<u8, Fsamp_SPEC>;
impl Fsamp {
pub const _00: Self = Self::new(0);
pub const _01: Self = Self::new(1);
pub const _10: Self = Self::new(2);
pub const _11: Self = Self::new(3);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Ri_SPEC;
pub type Ri = crate::EnumBitfieldStruct<u8, Ri_SPEC>;
impl Ri {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Rn_SPEC;
pub type Rn = crate::EnumBitfieldStruct<u8, Rn_SPEC>;
impl Rn {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Lvd2Cr0_SPEC;
impl crate::sealed::RegSpec for Lvd2Cr0_SPEC {
type DataType = u8;
}
pub type Lvd2Cr0 = crate::RegValueT<Lvd2Cr0_SPEC>;
impl Lvd2Cr0 {
#[inline(always)]
pub fn rie(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
lvd2cr0::Rie,
lvd2cr0::Rie,
Lvd2Cr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
lvd2cr0::Rie,
lvd2cr0::Rie,
Lvd2Cr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn dfdis(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
lvd2cr0::Dfdis,
lvd2cr0::Dfdis,
Lvd2Cr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
lvd2cr0::Dfdis,
lvd2cr0::Dfdis,
Lvd2Cr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn cmpe(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
lvd2cr0::Cmpe,
lvd2cr0::Cmpe,
Lvd2Cr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
lvd2cr0::Cmpe,
lvd2cr0::Cmpe,
Lvd2Cr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn fsamp(
self,
) -> crate::common::RegisterField<
4,
0x3,
1,
0,
lvd2cr0::Fsamp,
lvd2cr0::Fsamp,
Lvd2Cr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
4,
0x3,
1,
0,
lvd2cr0::Fsamp,
lvd2cr0::Fsamp,
Lvd2Cr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn ri(
self,
) -> crate::common::RegisterField<
6,
0x1,
1,
0,
lvd2cr0::Ri,
lvd2cr0::Ri,
Lvd2Cr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
6,
0x1,
1,
0,
lvd2cr0::Ri,
lvd2cr0::Ri,
Lvd2Cr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn rn(
self,
) -> crate::common::RegisterField<
7,
0x1,
1,
0,
lvd2cr0::Rn,
lvd2cr0::Rn,
Lvd2Cr0_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
7,
0x1,
1,
0,
lvd2cr0::Rn,
lvd2cr0::Rn,
Lvd2Cr0_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Lvd2Cr0 {
#[inline(always)]
fn default() -> Lvd2Cr0 {
<crate::RegValueT<Lvd2Cr0_SPEC> as RegisterValue<_>>::new(130)
}
}
pub mod lvd2cr0 {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Rie_SPEC;
pub type Rie = crate::EnumBitfieldStruct<u8, Rie_SPEC>;
impl Rie {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Dfdis_SPEC;
pub type Dfdis = crate::EnumBitfieldStruct<u8, Dfdis_SPEC>;
impl Dfdis {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Cmpe_SPEC;
pub type Cmpe = crate::EnumBitfieldStruct<u8, Cmpe_SPEC>;
impl Cmpe {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Fsamp_SPEC;
pub type Fsamp = crate::EnumBitfieldStruct<u8, Fsamp_SPEC>;
impl Fsamp {
pub const _00: Self = Self::new(0);
pub const _01: Self = Self::new(1);
pub const _10: Self = Self::new(2);
pub const _11: Self = Self::new(3);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Ri_SPEC;
pub type Ri = crate::EnumBitfieldStruct<u8, Ri_SPEC>;
impl Ri {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Rn_SPEC;
pub type Rn = crate::EnumBitfieldStruct<u8, Rn_SPEC>;
impl Rn {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Vbattmnselr_SPEC;
impl crate::sealed::RegSpec for Vbattmnselr_SPEC {
type DataType = u8;
}
pub type Vbattmnselr = crate::RegValueT<Vbattmnselr_SPEC>;
impl Vbattmnselr {
#[inline(always)]
pub fn vbattmnsel(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
vbattmnselr::Vbattmnsel,
vbattmnselr::Vbattmnsel,
Vbattmnselr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
vbattmnselr::Vbattmnsel,
vbattmnselr::Vbattmnsel,
Vbattmnselr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Vbattmnselr {
#[inline(always)]
fn default() -> Vbattmnselr {
<crate::RegValueT<Vbattmnselr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod vbattmnselr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Vbattmnsel_SPEC;
pub type Vbattmnsel = crate::EnumBitfieldStruct<u8, Vbattmnsel_SPEC>;
impl Vbattmnsel {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Vbattmonr_SPEC;
impl crate::sealed::RegSpec for Vbattmonr_SPEC {
type DataType = u8;
}
pub type Vbattmonr = crate::RegValueT<Vbattmonr_SPEC>;
impl Vbattmonr {
#[inline(always)]
pub fn vbattmon(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
vbattmonr::Vbattmon,
vbattmonr::Vbattmon,
Vbattmonr_SPEC,
crate::common::R,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
vbattmonr::Vbattmon,
vbattmonr::Vbattmon,
Vbattmonr_SPEC,
crate::common::R,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Vbattmonr {
#[inline(always)]
fn default() -> Vbattmonr {
<crate::RegValueT<Vbattmonr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod vbattmonr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Vbattmon_SPEC;
pub type Vbattmon = crate::EnumBitfieldStruct<u8, Vbattmon_SPEC>;
impl Vbattmon {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Sosccr_SPEC;
impl crate::sealed::RegSpec for Sosccr_SPEC {
type DataType = u8;
}
pub type Sosccr = crate::RegValueT<Sosccr_SPEC>;
impl Sosccr {
#[inline(always)]
pub fn sostp(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
sosccr::Sostp,
sosccr::Sostp,
Sosccr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
sosccr::Sostp,
sosccr::Sostp,
Sosccr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Sosccr {
#[inline(always)]
fn default() -> Sosccr {
<crate::RegValueT<Sosccr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod sosccr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Sostp_SPEC;
pub type Sostp = crate::EnumBitfieldStruct<u8, Sostp_SPEC>;
impl Sostp {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Somcr_SPEC;
impl crate::sealed::RegSpec for Somcr_SPEC {
type DataType = u8;
}
pub type Somcr = crate::RegValueT<Somcr_SPEC>;
impl Somcr {
#[inline(always)]
pub fn sodrv(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
somcr::Sodrv,
somcr::Sodrv,
Somcr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
somcr::Sodrv,
somcr::Sodrv,
Somcr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Somcr {
#[inline(always)]
fn default() -> Somcr {
<crate::RegValueT<Somcr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod somcr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Sodrv_SPEC;
pub type Sodrv = crate::EnumBitfieldStruct<u8, Sodrv_SPEC>;
impl Sodrv {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Lococr_SPEC;
impl crate::sealed::RegSpec for Lococr_SPEC {
type DataType = u8;
}
pub type Lococr = crate::RegValueT<Lococr_SPEC>;
impl Lococr {
#[inline(always)]
pub fn lcstp(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
lococr::Lcstp,
lococr::Lcstp,
Lococr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
lococr::Lcstp,
lococr::Lcstp,
Lococr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Lococr {
#[inline(always)]
fn default() -> Lococr {
<crate::RegValueT<Lococr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod lococr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Lcstp_SPEC;
pub type Lcstp = crate::EnumBitfieldStruct<u8, Lcstp_SPEC>;
impl Lcstp {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Locoutcr_SPEC;
impl crate::sealed::RegSpec for Locoutcr_SPEC {
type DataType = u8;
}
pub type Locoutcr = crate::RegValueT<Locoutcr_SPEC>;
impl Locoutcr {
#[inline(always)]
pub fn locoutrm(
self,
) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, Locoutcr_SPEC, crate::common::RW> {
crate::common::RegisterField::<0,0xff,1,0,u8,u8,Locoutcr_SPEC,crate::common::RW>::from_register(self,0)
}
}
impl ::core::default::Default for Locoutcr {
#[inline(always)]
fn default() -> Locoutcr {
<crate::RegValueT<Locoutcr_SPEC> as RegisterValue<_>>::new(0)
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Vbtictlr_SPEC;
impl crate::sealed::RegSpec for Vbtictlr_SPEC {
type DataType = u8;
}
pub type Vbtictlr = crate::RegValueT<Vbtictlr_SPEC>;
impl Vbtictlr {
#[inline(always)]
pub fn vch0inen(
self,
) -> crate::common::RegisterField<
0,
0x1,
1,
0,
vbtictlr::Vch0Inen,
vbtictlr::Vch0Inen,
Vbtictlr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
0,
0x1,
1,
0,
vbtictlr::Vch0Inen,
vbtictlr::Vch0Inen,
Vbtictlr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn vch1inen(
self,
) -> crate::common::RegisterField<
1,
0x1,
1,
0,
vbtictlr::Vch1Inen,
vbtictlr::Vch1Inen,
Vbtictlr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
1,
0x1,
1,
0,
vbtictlr::Vch1Inen,
vbtictlr::Vch1Inen,
Vbtictlr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
#[inline(always)]
pub fn vch2inen(
self,
) -> crate::common::RegisterField<
2,
0x1,
1,
0,
vbtictlr::Vch2Inen,
vbtictlr::Vch2Inen,
Vbtictlr_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
2,
0x1,
1,
0,
vbtictlr::Vch2Inen,
vbtictlr::Vch2Inen,
Vbtictlr_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Vbtictlr {
#[inline(always)]
fn default() -> Vbtictlr {
<crate::RegValueT<Vbtictlr_SPEC> as RegisterValue<_>>::new(0)
}
}
pub mod vbtictlr {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Vch0Inen_SPEC;
pub type Vch0Inen = crate::EnumBitfieldStruct<u8, Vch0Inen_SPEC>;
impl Vch0Inen {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Vch1Inen_SPEC;
pub type Vch1Inen = crate::EnumBitfieldStruct<u8, Vch1Inen_SPEC>;
impl Vch1Inen {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Vch2Inen_SPEC;
pub type Vch2Inen = crate::EnumBitfieldStruct<u8, Vch2Inen_SPEC>;
impl Vch2Inen {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Vbtber_SPEC;
impl crate::sealed::RegSpec for Vbtber_SPEC {
type DataType = u8;
}
pub type Vbtber = crate::RegValueT<Vbtber_SPEC>;
impl Vbtber {
#[inline(always)]
pub fn vbae(
self,
) -> crate::common::RegisterField<
3,
0x1,
1,
0,
vbtber::Vbae,
vbtber::Vbae,
Vbtber_SPEC,
crate::common::RW,
> {
crate::common::RegisterField::<
3,
0x1,
1,
0,
vbtber::Vbae,
vbtber::Vbae,
Vbtber_SPEC,
crate::common::RW,
>::from_register(self, 0)
}
}
impl ::core::default::Default for Vbtber {
#[inline(always)]
fn default() -> Vbtber {
<crate::RegValueT<Vbtber_SPEC> as RegisterValue<_>>::new(8)
}
}
pub mod vbtber {
#[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
pub struct Vbae_SPEC;
pub type Vbae = crate::EnumBitfieldStruct<u8, Vbae_SPEC>;
impl Vbae {
pub const _0: Self = Self::new(0);
pub const _1: Self = Self::new(1);
}
}
#[doc(hidden)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Vbtbkr_SPEC;
impl crate::sealed::RegSpec for Vbtbkr_SPEC {
type DataType = u8;
}
pub type Vbtbkr = crate::RegValueT<Vbtbkr_SPEC>;
impl Vbtbkr {
#[inline(always)]
pub fn vbtbkr(
self,
) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, Vbtbkr_SPEC, crate::common::RW> {
crate::common::RegisterField::<0,0xff,1,0,u8,u8,Vbtbkr_SPEC,crate::common::RW>::from_register(self,0)
}
}
impl ::core::default::Default for Vbtbkr {
#[inline(always)]
fn default() -> Vbtbkr {
<crate::RegValueT<Vbtbkr_SPEC> as RegisterValue<_>>::new(0)
}
}