pub enum I2SCFGR {
SLAVETX,
SLAVERX,
MASTERTX,
MASTERRX,
}Expand description
Possible values of the field I2SCFG
Variants§
SLAVETX
Slave - transmit
SLAVERX
Slave - receive
MASTERTX
Master - transmit
MASTERRX
Master - receive
Implementations§
source§impl I2SCFGR
impl I2SCFGR
sourcepub fn is_slave_tx(&self) -> bool
pub fn is_slave_tx(&self) -> bool
Checks if the value of the field is SLAVETX
sourcepub fn is_slave_rx(&self) -> bool
pub fn is_slave_rx(&self) -> bool
Checks if the value of the field is SLAVERX
sourcepub fn is_master_tx(&self) -> bool
pub fn is_master_tx(&self) -> bool
Checks if the value of the field is MASTERTX
sourcepub fn is_master_rx(&self) -> bool
pub fn is_master_rx(&self) -> bool
Checks if the value of the field is MASTERRX