saml10e14a::tc0::count16::ctrlbset

Type Alias ONESHOT_R

Source
pub type ONESHOT_R = R<bool, bool>;
Expand description

Reader of field ONESHOT

Aliased Type§

struct ONESHOT_R { /* private fields */ }

Implementations

Source§

impl<U, T> R<U, T>
where U: Copy,

Source

pub fn bits(&self) -> U

Read raw bits from register/field

Source§

impl<FI> R<bool, FI>

Source

pub fn bit(&self) -> bool

Value of the field as raw bits

Source

pub fn bit_is_clear(&self) -> bool

Returns true if the bit is clear (0)

Source

pub fn bit_is_set(&self) -> bool

Returns true if the bit is set (1)

Trait Implementations

Source§

impl<U, T, FI> PartialEq<FI> for R<U, T>
where U: PartialEq, FI: ToBits<U>,

Source§

fn eq(&self, other: &FI) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.