pub enum AUTOENDR {
SOFTWARE,
AUTOMATIC,
}Expand description
Possible values of the field AUTOEND
Variants§
SOFTWARE
Software end mode: TC flag is set when NBYTES data are transferred, stretching SCL low
AUTOMATIC
Automatic end mode: a STOP condition is automatically sent when NBYTES data are transferred
Implementations§
source§impl AUTOENDR
impl AUTOENDR
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true if the bit is clear (0)
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true if the bit is set (1)
sourcepub fn is_software(&self) -> bool
pub fn is_software(&self) -> bool
Checks if the value of the field is SOFTWARE
sourcepub fn is_automatic(&self) -> bool
pub fn is_automatic(&self) -> bool
Checks if the value of the field is AUTOMATIC