Trait rtic_time::half_period_counter::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.

Object Safety§

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§