pub enum WAKER {
IDLELINE,
ADDRESSMARK,
}
Expand description
Possible values of the field WAKE
Variants
IDLELINE
USART wakeup on idle line
ADDRESSMARK
USART wakeup on address mark
Implementations
impl WAKER
impl WAKER
pub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
pub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
pub fn is_idle_line(&self) -> bool
pub fn is_idle_line(&self) -> bool
Checks if the value of the field is IDLELINE
pub fn is_address_mark(&self) -> bool
pub fn is_address_mark(&self) -> bool
Checks if the value of the field is ADDRESSMARK
Trait Implementations
impl Copy for WAKER
impl StructuralPartialEq for WAKER
Auto Trait Implementations
impl RefUnwindSafe for WAKER
impl Send for WAKER
impl Sync for WAKER
impl Unpin for WAKER
impl UnwindSafe for WAKER
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more