Enum nrf52832_pac::ccm::mode::LENGTHR
source · pub enum LENGTHR {
DEFAULT,
EXTENDED,
}
Expand description
Possible values of the field LENGTH
Variants§
DEFAULT
Default length. Effective length of LENGTH field is 5-bit
EXTENDED
Extended length. Effective length of LENGTH field is 8-bit
Implementations§
source§impl LENGTHR
impl LENGTHR
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_default(&self) -> bool
pub fn is_default(&self) -> bool
Checks if the value of the field is DEFAULT
sourcepub fn is_extended(&self) -> bool
pub fn is_extended(&self) -> bool
Checks if the value of the field is EXTENDED