pub enum PSR {
ODD,
EVEN,
FORCED_1_STICK,
FORCED_0_STICK,
}
Expand description
Possible values of the field PS
Variants§
ODD
Odd parity. Number of 1s in the transmitted character and the attached parity bit will be odd.
EVEN
Even Parity. Number of 1s in the transmitted character and the attached parity bit will be even.
FORCED_1_STICK
Forced 1 stick parity.
FORCED_0_STICK
Forced 0 stick parity.
Implementations§
source§impl PSR
impl PSR
sourcepub fn is_forced_1_stick(&self) -> bool
pub fn is_forced_1_stick(&self) -> bool
Checks if the value of the field is FORCED_1_STICK
sourcepub fn is_forced_0_stick(&self) -> bool
pub fn is_forced_0_stick(&self) -> bool
Checks if the value of the field is FORCED_0_STICK