Type Definition atsame54n19a_pac::usb::device::fsmstatus::FSMSTATE_R[][src]

type FSMSTATE_R = R<u8, FSMSTATE_A>;

Reader of field FSMSTATE

Implementations

impl FSMSTATE_R[src]

pub fn variant(&self) -> Variant<u8, FSMSTATE_A>[src]

Get enumerated values variant

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

Checks if the value of the field is OFF

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

Checks if the value of the field is ON

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

Checks if the value of the field is SUSPEND

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

Checks if the value of the field is SLEEP

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

Checks if the value of the field is DNRESUME

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

Checks if the value of the field is UPRESUME

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

Checks if the value of the field is RESET