[][src]Type Definition nrf51::timer0::mode::MODE_R

type MODE_R = R<bool, MODE_A>;

Reader of field MODE

Methods

impl MODE_R[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_counter(&self) -> bool[src]

Checks if the value of the field is COUNTER

pub fn is_timer(&self) -> bool[src]

Checks if the value of the field is TIMER