TimerSrcR

Type Alias TimerSrcR 

pub type TimerSrcR = BitReader<TimerSrc>;
Expand description

Field TIMER_SRC reader - Timer Source

Aliased Type§

pub struct TimerSrcR { /* private fields */ }

Implementations§

§

impl TimerSrcR

pub const fn variant(&self) -> TimerSrc

Get enumerated values variant

pub fn is_0(&self) -> bool

The Free Running Timer is clocked by the CAN bit clock, which defines the baud rate on the CAN bus.

pub fn is_1(&self) -> bool

The Free Running Timer is clocked by an external time tick. The period can be either adjusted to be equal to the baud rate on the CAN bus, or a different value as required. See the device specific section for details about the external time tick.