Enum efm32gg11b820::i2c2::ctrl::CLTOR
[−]
[src]
pub enum CLTOR { OFF, _40PCC, _80PCC, _160PCC, _320PCC, _1024PCC, _Reserved(u8), }
Possible values of the field CLTO
Variants
OFF
Timeout disabled
_40PCC
Timeout after 40 prescaled clock cycles. In standard mode at 100 kHz, this results in a 50us timeout.
_80PCC
Timeout after 80 prescaled clock cycles. In standard mode at 100 kHz, this results in a 100us timeout.
_160PCC
Timeout after 160 prescaled clock cycles. In standard mode at 100 kHz, this results in a 200us timeout.
_320PCC
Timeout after 320 prescaled clock cycles. In standard mode at 100 kHz, this results in a 400us timeout.
_1024PCC
Timeout after 1024 prescaled clock cycles. In standard mode at 100 kHz, this results in a 1280us timeout.
_Reserved(u8)
Reserved
Methods
impl CLTOR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_off(&self) -> bool
[src]
Checks if the value of the field is OFF
pub fn is_40pcc(&self) -> bool
[src]
Checks if the value of the field is _40PCC
pub fn is_80pcc(&self) -> bool
[src]
Checks if the value of the field is _80PCC
pub fn is_160pcc(&self) -> bool
[src]
Checks if the value of the field is _160PCC
pub fn is_320pcc(&self) -> bool
[src]
Checks if the value of the field is _320PCC
pub fn is_1024pcc(&self) -> bool
[src]
Checks if the value of the field is _1024PCC
Trait Implementations
impl Clone for CLTOR
[src]
fn clone(&self) -> CLTOR
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for CLTOR
[src]
impl Debug for CLTOR
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more