rtic_time::half_period_counter

Trait TimerValue

Source
pub trait TimerValue {
    const BITS: u32;
}
Expand description

The value of the timer’s count register.

Required Associated Constants§

Source

const BITS: u32

Bit size of the timer. Does not need to be a multiple of 8.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl TimerValue for u8

Source§

const BITS: u32 = 8u32

Source§

impl TimerValue for u16

Source§

const BITS: u32 = 16u32

Source§

impl TimerValue for u32

Source§

const BITS: u32 = 32u32

Source§

impl TimerValue for u64

Source§

const BITS: u32 = 64u32

Implementors§