mcxa_pac/usb0/
keep_alive_wkctrl_rsvd.rs

1#[doc = "Register `KEEP_ALIVE_WKCTRL_RSVD` reader"]
2pub type R = crate::R<KeepAliveWkctrlRsvdSpec>;
3#[doc = "Register `KEEP_ALIVE_WKCTRL_RSVD` writer"]
4pub type W = crate::W<KeepAliveWkctrlRsvdSpec>;
5#[cfg(feature = "debug")]
6impl core::fmt::Debug for R {
7    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
8        write!(f, "{}", self.bits())
9    }
10}
11impl W {}
12#[doc = "Reserved\n\nYou can [`read`](crate::Reg::read) this register and get [`keep_alive_wkctrl_rsvd::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`keep_alive_wkctrl_rsvd::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct KeepAliveWkctrlRsvdSpec;
14impl crate::RegisterSpec for KeepAliveWkctrlRsvdSpec {
15    type Ux = u8;
16}
17#[doc = "`read()` method returns [`keep_alive_wkctrl_rsvd::R`](R) reader structure"]
18impl crate::Readable for KeepAliveWkctrlRsvdSpec {}
19#[doc = "`write(|w| ..)` method takes [`keep_alive_wkctrl_rsvd::W`](W) writer structure"]
20impl crate::Writable for KeepAliveWkctrlRsvdSpec {
21    type Safety = crate::Unsafe;
22}
23#[doc = "`reset()` method sets KEEP_ALIVE_WKCTRL_RSVD to value 0x01"]
24impl crate::Resettable for KeepAliveWkctrlRsvdSpec {
25    const RESET_VALUE: u8 = 0x01;
26}