[−][src]Struct nrf52810_hal::pac::TIMER0
Timer/Counter 0
Implementations
impl TIMER0
[src]
pub const fn ptr() -> *const RegisterBlock
[src]
Returns a pointer to the register block
Trait Implementations
impl Deref for TIMER0
[src]
type Target = RegisterBlock
The resulting type after dereferencing.
pub fn deref(&self) -> &<TIMER0 as Deref>::Target
[src]
impl Instance for TIMER0
[src]
pub const INTERRUPT: Interrupt
[src]
pub fn as_timer0(&self) -> &RegisterBlock
[src]
pub fn timer_start<Time>(&self, cycles: Time) where
Time: Into<u32>,
[src]
Time: Into<u32>,
pub fn timer_reset_event(&self)
[src]
pub fn timer_cancel(&self)
[src]
pub fn timer_running(&self) -> bool
[src]
pub fn read_counter(&self) -> u32
[src]
pub fn disable_interrupt(&self)
[src]
pub fn enable_interrupt(&self)
[src]
pub fn set_shorts_periodic(&self)
[src]
pub fn set_shorts_oneshot(&self)
[src]
pub fn set_periodic(&self)
[src]
pub fn set_oneshot(&self)
[src]
impl Send for TIMER0
[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,
pub 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<Src, Dst> LosslessTryInto<Dst> for Src where
Dst: LosslessTryFrom<Src>,
[src]
Dst: LosslessTryFrom<Src>,
pub fn lossless_try_into(self) -> Option<Dst>
[src]
impl<Src, Dst> LossyInto<Dst> for Src where
Dst: LossyFrom<Src>,
[src]
Dst: LossyFrom<Src>,
pub fn lossy_into(self) -> Dst
[src]
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.
pub 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>,