pub enum F_SR {
STANDARD,
FAST,
}
Expand description
Possible values of the field F_S
Variants
STANDARD
Standard mode I2C
FAST
Fast mode I2C
Implementations
impl F_SR
impl F_SR
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_standard(&self) -> bool
pub fn is_standard(&self) -> bool
Checks if the value of the field is STANDARD
Trait Implementations
impl Copy for F_SR
impl StructuralPartialEq for F_SR
Auto Trait Implementations
impl RefUnwindSafe for F_SR
impl Send for F_SR
impl Sync for F_SR
impl Unpin for F_SR
impl UnwindSafe for F_SR
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