#[doc = "Register `BSEC_OTP_DISTURBED1` reader"]
pub struct R(crate::R<BSEC_OTP_DISTURBED1_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<BSEC_OTP_DISTURBED1_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<BSEC_OTP_DISTURBED1_SPEC>> for R {
#[inline(always)]
fn from(reader: crate::R<BSEC_OTP_DISTURBED1_SPEC>) -> Self {
R(reader)
}
}
#[doc = "Field `DIS` reader - DIS"]
pub type DIS_R = crate::FieldReader<u32, u32>;
impl R {
#[doc = "Bits 0:31 - DIS"]
#[inline(always)]
pub fn dis(&self) -> DIS_R {
DIS_R::new(self.bits)
}
}
#[doc = "BSEC_OTP_DISTURBED0 is used to report disturbed state of BSEC_OTP_DATA0 to BSEC_OTP_DATA31 (lower 1Kbits OTP). BSEC_OTP_DISTURBED1 is used to report disturbed state of BSEC_OTP_DATA32 to BSEC_OTP_DATA63. BSEC_OTP_DISTURBED2 is used to report disturbed state of BSEC_OTP_DATA64 to BSEC_OTP_DATA95.\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [bsec_otp_disturbed1](index.html) module"]
pub struct BSEC_OTP_DISTURBED1_SPEC;
impl crate::RegisterSpec for BSEC_OTP_DISTURBED1_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [bsec_otp_disturbed1::R](R) reader structure"]
impl crate::Readable for BSEC_OTP_DISTURBED1_SPEC {
type Reader = R;
}
#[doc = "`reset()` method sets BSEC_OTP_DISTURBED1 to value 0"]
impl crate::Resettable for BSEC_OTP_DISTURBED1_SPEC {
#[inline(always)]
fn reset_value() -> Self::Ux {
0
}
}