Struct libftd2xx_cc1101::regs::FSCAL3 [−][src]
pub struct FSCAL3 { /* fields omitted */ }
Expand description
Implementations
pub fn fscal3_or_err(
&self
) -> Result<<B2 as Specifier>::InOut, InvalidBitPattern<<B2 as Specifier>::Bytes>>
pub fn fscal3_or_err(
&self
) -> Result<<B2 as Specifier>::InOut, InvalidBitPattern<<B2 as Specifier>::Bytes>>
Returns the value of fscal3.
#Errors
If the returned value contains an invalid bit pattern for fscal3.
Returns a copy of the bitfield with the value of fscal3 set to the given value.
#Panics
If the given value is out of bounds for fscal3.
pub fn with_fscal3_checked(
self,
new_val: <B2 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_fscal3_checked(
self,
new_val: <B2 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of fscal3 set to the given value.
#Errors
If the given value is out of bounds for fscal3.
Sets the value of fscal3 to the given value.
#Panics
If the given value is out of bounds for fscal3.
pub fn set_fscal3_checked(
&mut self,
new_val: <B2 as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_fscal3_checked(
&mut self,
new_val: <B2 as Specifier>::InOut
) -> Result<(), OutOfBounds>
Sets the value of fscal3 to the given value.
#Errors
If the given value is out of bounds for fscal3.
Returns the value of chp_curr_cal_en.
pub fn chp_curr_cal_en_or_err(
&self
) -> Result<<B2 as Specifier>::InOut, InvalidBitPattern<<B2 as Specifier>::Bytes>>
pub fn chp_curr_cal_en_or_err(
&self
) -> Result<<B2 as Specifier>::InOut, InvalidBitPattern<<B2 as Specifier>::Bytes>>
Returns the value of chp_curr_cal_en.
#Errors
If the returned value contains an invalid bit pattern for chp_curr_cal_en.
Returns a copy of the bitfield with the value of chp_curr_cal_en set to the given value.
#Panics
If the given value is out of bounds for chp_curr_cal_en.
pub fn with_chp_curr_cal_en_checked(
self,
new_val: <B2 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_chp_curr_cal_en_checked(
self,
new_val: <B2 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of chp_curr_cal_en set to the given value.
#Errors
If the given value is out of bounds for chp_curr_cal_en.
Sets the value of chp_curr_cal_en to the given value.
#Panics
If the given value is out of bounds for chp_curr_cal_en.
pub fn set_chp_curr_cal_en_checked(
&mut self,
new_val: <B2 as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_chp_curr_cal_en_checked(
&mut self,
new_val: <B2 as Specifier>::InOut
) -> Result<(), OutOfBounds>
Sets the value of chp_curr_cal_en to the given value.
#Errors
If the given value is out of bounds for chp_curr_cal_en.
Returns the value of fscal3_res.
pub fn fscal3_res_or_err(
&self
) -> Result<<B4 as Specifier>::InOut, InvalidBitPattern<<B4 as Specifier>::Bytes>>
pub fn fscal3_res_or_err(
&self
) -> Result<<B4 as Specifier>::InOut, InvalidBitPattern<<B4 as Specifier>::Bytes>>
Returns the value of fscal3_res.
#Errors
If the returned value contains an invalid bit pattern for fscal3_res.
Returns a copy of the bitfield with the value of fscal3_res set to the given value.
#Panics
If the given value is out of bounds for fscal3_res.
pub fn with_fscal3_res_checked(
self,
new_val: <B4 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_fscal3_res_checked(
self,
new_val: <B4 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of fscal3_res set to the given value.
#Errors
If the given value is out of bounds for fscal3_res.
Sets the value of fscal3_res to the given value.
#Panics
If the given value is out of bounds for fscal3_res.
pub fn set_fscal3_res_checked(
&mut self,
new_val: <B4 as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_fscal3_res_checked(
&mut self,
new_val: <B4 as Specifier>::InOut
) -> Result<(), OutOfBounds>
Sets the value of fscal3_res to the given value.
#Errors
If the given value is out of bounds for fscal3_res.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FSCAL3
impl UnwindSafe for FSCAL3
Blanket Implementations
Mutably borrows from an owned value. Read more