pub enum RXONLYR {
FULLDUPLEX,
OUTPUTDISABLED,
}
Expand description
Possible values of the field RXONLY
Variants
FULLDUPLEX
Full duplex (Transmit and receive)
OUTPUTDISABLED
Output disabled (Receive-only mode)
Implementations
impl RXONLYR
impl RXONLYR
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_full_duplex(&self) -> bool
pub fn is_full_duplex(&self) -> bool
Checks if the value of the field is FULLDUPLEX
pub fn is_output_disabled(&self) -> bool
pub fn is_output_disabled(&self) -> bool
Checks if the value of the field is OUTPUTDISABLED
Trait Implementations
impl Copy for RXONLYR
impl StructuralPartialEq for RXONLYR
Auto Trait Implementations
impl RefUnwindSafe for RXONLYR
impl Send for RXONLYR
impl Sync for RXONLYR
impl Unpin for RXONLYR
impl UnwindSafe for RXONLYR
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