Type Alias atsame70n21b::usart0::us_linmr::NACT_R
source · pub type NACT_R = FieldReader<NACTSELECT_A>;
Expand description
Field NACT
reader - LIN Node Action
Aliased Type§
struct NACT_R { /* private fields */ }
Implementations§
source§impl NACT_R
impl NACT_R
sourcepub fn variant(&self) -> Option<NACTSELECT_A>
pub fn variant(&self) -> Option<NACTSELECT_A>
Get enumerated values variant
sourcepub fn is_publish(&self) -> bool
pub fn is_publish(&self) -> bool
Checks if the value of the field is PUBLISH
sourcepub fn is_subscribe(&self) -> bool
pub fn is_subscribe(&self) -> bool
Checks if the value of the field is SUBSCRIBE