1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#[doc = "Register `DC_SYNC0_STAT` reader"]
pub type R = crate::R<DcSync0StatSpec>;
#[doc = "Field `S0_STATE` reader - SYNC0 state for Acknowledge mode"]
pub type S0StateR = crate::BitReader;
impl R {
    #[doc = "Bit 0 - SYNC0 state for Acknowledge mode"]
    #[inline(always)]
    pub fn s0_state(&self) -> S0StateR {
        S0StateR::new((self.bits & 1) != 0)
    }
}
#[doc = "SYNC0 Status\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`dc_sync0_stat::R`](R).  See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct DcSync0StatSpec;
impl crate::RegisterSpec for DcSync0StatSpec {
    type Ux = u8;
}
#[doc = "`read()` method returns [`dc_sync0_stat::R`](R) reader structure"]
impl crate::Readable for DcSync0StatSpec {}
#[doc = "`reset()` method sets DC_SYNC0_STAT to value 0"]
impl crate::Resettable for DcSync0StatSpec {
    const RESET_VALUE: u8 = 0;
}