#[doc = "Register `ADDBLDR` reader"]
pub struct R(crate::R<ADDBLDR_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<ADDBLDR_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<ADDBLDR_SPEC>> for R {
#[inline(always)]
fn from(reader: crate::R<ADDBLDR_SPEC>) -> Self {
R(reader)
}
}
#[doc = "Field `ADDBLDR` reader - This is a 16-bit read-only register for storing the result of A/D conversion in response to the second trigger in double trigger mode."]
pub type ADDBLDR_R = crate::FieldReader<u16, u16>;
impl R {
#[doc = "Bits 0:15 - This is a 16-bit read-only register for storing the result of A/D conversion in response to the second trigger in double trigger mode."]
#[inline(always)]
pub fn addbldr(&self) -> ADDBLDR_R {
ADDBLDR_R::new(self.bits)
}
}
#[doc = "A/D Data Duplexing Register\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 [addbldr](index.html) module"]
pub struct ADDBLDR_SPEC;
impl crate::RegisterSpec for ADDBLDR_SPEC {
type Ux = u16;
}
#[doc = "`read()` method returns [addbldr::R](R) reader structure"]
impl crate::Readable for ADDBLDR_SPEC {
type Reader = R;
}
#[doc = "`reset()` method sets ADDBLDR to value 0"]
impl crate::Resettable for ADDBLDR_SPEC {
const RESET_VALUE: Self::Ux = 0;
}