pub fn check_features(&self) -> bool {
		unsafe {
			let status = read_volatile(&self.com_cfg.status);
			_mm_mfence();
			status & u32::from(device::Status::FEATURES_OK)
				== u32::from(device::Status::FEATURES_OK)
		}
	}
/// In order to correctly check feature negotiaten, this function
/// MUST be called after [self.features_ok()](ComCfg::features_ok()) in order to check
/// if features have been accepted by the device after negotiation.
///
/// Re-reads device status to ensure the FEATURES_OK bit is still set:
/// otherwise, the device does not support our subset of features and the device is unusable.
In order to correctly check feature negotiaten, this function
MUST be called after [self.features_ok()](ComCfg::features_ok()) in order to check
if features have been accepted by the device after negotiation.

Re-reads device status to ensure the FEATURES_OK bit is still set:
otherwise, the device does not support our subset of features and the device is unusable.
In order to correctly check feature negotiaten this function MUST be called after [ self . features_ok () ] ( ComCfg :: features_ok () ) in order to check if features have been accepted by the device after negotiation . Re - reads device status to ensure the FEATURES_OK bit is still set : otherwise the device does not support our subset of features and the device is unusable .
pub fn check_features(&self) -> bool {
		unsafe {
			let status = read_volatile(&self.com_cfg.status);
			_mm_mfence();
			status & u32::from(device::Status::FEATURES_OK)
				== u32::from(device::Status::FEATURES_OK)
		}
	}
pub fn check_features ( & self ) -> bool { unsafe { let status = read_volatile ( & self . com_cfg . status ) ; _mm_mfence ( ) ; status & u32 :: from ( device :: Status :: FEATURES_OK ) == u32 :: from ( device :: Status :: FEATURES_OK ) } }
In order to correctly check feature negotiaten, this function
MUST be called after [self.features_ok()](ComCfg::features_ok()) in order to check
if features have been accepted by the device after negotiation.
In order to correctly check feature negotiaten this function MUST be called after [ self . features_ok () ] ( ComCfg :: features_ok () ) in order to check if features have been accepted by the device after negotiation .
&self
&self