[−][src]Struct atsamd21g18a::RTC
Real-Time Counter
Implementations
impl RTC
[src]
pub const fn ptr() -> *const RegisterBlock
[src]
Returns a pointer to the register block
Methods from Deref<Target = RegisterBlock>
pub fn mode2(&self) -> &MODE2
[src]
0x00 - Clock/Calendar with Alarm
pub fn mode2_mut(&self) -> &mut MODE2
[src]
0x00 - Clock/Calendar with Alarm
pub fn mode1(&self) -> &MODE1
[src]
0x00 - 16-bit Counter with Two 16-bit Compares
pub fn mode1_mut(&self) -> &mut MODE1
[src]
0x00 - 16-bit Counter with Two 16-bit Compares
pub fn mode0(&self) -> &MODE0
[src]
0x00 - 32-bit Counter with Single 32-bit Compare
pub fn mode0_mut(&self) -> &mut MODE0
[src]
0x00 - 32-bit Counter with Single 32-bit Compare
Trait Implementations
impl Deref for RTC
[src]
type Target = RegisterBlock
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl Send for RTC
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,