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§
§impl I2SCFGR
impl I2SCFGR
pub fn is_slave_tx(&self) -> bool
pub fn is_slave_tx(&self) -> bool
Checks if the value of the field is SLAVETX
pub fn is_slave_rx(&self) -> bool
pub fn is_slave_rx(&self) -> bool
Checks if the value of the field is SLAVERX
pub fn is_master_tx(&self) -> bool
pub fn is_master_tx(&self) -> bool
Checks if the value of the field is MASTERTX
pub fn is_master_rx(&self) -> bool
pub fn is_master_rx(&self) -> bool
Checks if the value of the field is MASTERRX