#[doc = "Register `ACSRA` reader"]
pub struct R(crate::R<ACSRA_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<ACSRA_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl core::convert::From<crate::R<ACSRA_SPEC>> for R {
fn from(reader: crate::R<ACSRA_SPEC>) -> Self {
R(reader)
}
}
impl R {}
#[doc = "Analog Comparator Control And Status Register-A\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 [acsra](index.html) module"]
pub struct ACSRA_SPEC;
impl crate::RegisterSpec for ACSRA_SPEC {
type Ux = u8;
}
#[doc = "`read()` method returns [acsra::R](R) reader structure"]
impl crate::Readable for ACSRA_SPEC {
type Reader = R;
}
#[doc = "`reset()` method sets ACSRA to value 0"]
impl crate::Resettable for ACSRA_SPEC {
#[inline(always)]
fn reset_value() -> Self::Ux {
0
}
}