#[doc = "Register `VAD_OB8` reader"]
pub type R = crate::R<VAD_OB8_SPEC>;
#[doc = "Field `ENERGY_HIGH_OB` reader - Reg energy bit 63~32 observe signal"]
pub type ENERGY_HIGH_OB_R = crate::FieldReader<u32>;
impl R {
#[doc = "Bits 0:31 - Reg energy bit 63~32 observe signal"]
#[inline(always)]
pub fn energy_high_ob(&self) -> ENERGY_HIGH_OB_R {
ENERGY_HIGH_OB_R::new(self.bits)
}
}
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("VAD_OB8")
.field(
"energy_high_ob",
&format_args!("{}", self.energy_high_ob().bits()),
)
.finish()
}
}
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for crate::generic::Reg<VAD_OB8_SPEC> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
core::fmt::Debug::fmt(&self.read(), f)
}
}
#[doc = "I2S VAD Observe register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`vad_ob8::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct VAD_OB8_SPEC;
impl crate::RegisterSpec for VAD_OB8_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [`vad_ob8::R`](R) reader structure"]
impl crate::Readable for VAD_OB8_SPEC {}
#[doc = "`reset()` method sets VAD_OB8 to value 0"]
impl crate::Resettable for VAD_OB8_SPEC {
const RESET_VALUE: u32 = 0;
}