Struct libftd2xx_cc1101::regs::FSCAL2 [−][src]
pub struct FSCAL2 { /* fields omitted */ }
Expand description
Implementations
Returns the value of vco_core_h_en.
pub fn vco_core_h_en_or_err(
&self
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn vco_core_h_en_or_err(
&self
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of vco_core_h_en.
#Errors
If the returned value contains an invalid bit pattern for vco_core_h_en.
Returns a copy of the bitfield with the value of vco_core_h_en set to the given value.
#Panics
If the given value is out of bounds for vco_core_h_en.
pub fn with_vco_core_h_en_checked(
self,
new_val: <bool as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_vco_core_h_en_checked(
self,
new_val: <bool as Specifier>::InOut
) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of vco_core_h_en set to the given value.
#Errors
If the given value is out of bounds for vco_core_h_en.
Sets the value of vco_core_h_en to the given value.
#Panics
If the given value is out of bounds for vco_core_h_en.
pub fn set_vco_core_h_en_checked(
&mut self,
new_val: <bool as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_vco_core_h_en_checked(
&mut self,
new_val: <bool as Specifier>::InOut
) -> Result<(), OutOfBounds>
Sets the value of vco_core_h_en to the given value.
#Errors
If the given value is out of bounds for vco_core_h_en.
Returns the value of fscal2_res.
pub fn fscal2_res_or_err(
&self
) -> Result<<B5 as Specifier>::InOut, InvalidBitPattern<<B5 as Specifier>::Bytes>>
pub fn fscal2_res_or_err(
&self
) -> Result<<B5 as Specifier>::InOut, InvalidBitPattern<<B5 as Specifier>::Bytes>>
Returns the value of fscal2_res.
#Errors
If the returned value contains an invalid bit pattern for fscal2_res.
Returns a copy of the bitfield with the value of fscal2_res set to the given value.
#Panics
If the given value is out of bounds for fscal2_res.
pub fn with_fscal2_res_checked(
self,
new_val: <B5 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_fscal2_res_checked(
self,
new_val: <B5 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of fscal2_res set to the given value.
#Errors
If the given value is out of bounds for fscal2_res.
Sets the value of fscal2_res to the given value.
#Panics
If the given value is out of bounds for fscal2_res.
pub fn set_fscal2_res_checked(
&mut self,
new_val: <B5 as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_fscal2_res_checked(
&mut self,
new_val: <B5 as Specifier>::InOut
) -> Result<(), OutOfBounds>
Sets the value of fscal2_res to the given value.
#Errors
If the given value is out of bounds for fscal2_res.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FSCAL2
impl UnwindSafe for FSCAL2
Blanket Implementations
Mutably borrows from an owned value. Read more