Struct libftd2xx_cc1101::regs::TEST0 [−][src]
pub struct TEST0 { /* fields omitted */ }
Expand description
Implementations
pub fn test0a_or_err(
&self
) -> Result<<B6 as Specifier>::InOut, InvalidBitPattern<<B6 as Specifier>::Bytes>>
pub fn test0a_or_err(
&self
) -> Result<<B6 as Specifier>::InOut, InvalidBitPattern<<B6 as Specifier>::Bytes>>
Returns the value of test0a.
#Errors
If the returned value contains an invalid bit pattern for test0a.
Returns a copy of the bitfield with the value of test0a set to the given value.
#Panics
If the given value is out of bounds for test0a.
pub fn with_test0a_checked(
self,
new_val: <B6 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_test0a_checked(
self,
new_val: <B6 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of test0a set to the given value.
#Errors
If the given value is out of bounds for test0a.
Sets the value of test0a to the given value.
#Panics
If the given value is out of bounds for test0a.
pub fn set_test0a_checked(
&mut self,
new_val: <B6 as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_test0a_checked(
&mut self,
new_val: <B6 as Specifier>::InOut
) -> Result<(), OutOfBounds>
Sets the value of test0a to the given value.
#Errors
If the given value is out of bounds for test0a.
Returns the value of vco_sel_cal_en.
pub fn vco_sel_cal_en_or_err(
&self
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn vco_sel_cal_en_or_err(
&self
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of vco_sel_cal_en.
#Errors
If the returned value contains an invalid bit pattern for vco_sel_cal_en.
Returns a copy of the bitfield with the value of vco_sel_cal_en set to the given value.
#Panics
If the given value is out of bounds for vco_sel_cal_en.
pub fn with_vco_sel_cal_en_checked(
self,
new_val: <bool as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_vco_sel_cal_en_checked(
self,
new_val: <bool as Specifier>::InOut
) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of vco_sel_cal_en set to the given value.
#Errors
If the given value is out of bounds for vco_sel_cal_en.
Sets the value of vco_sel_cal_en to the given value.
#Panics
If the given value is out of bounds for vco_sel_cal_en.
pub fn set_vco_sel_cal_en_checked(
&mut self,
new_val: <bool as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_vco_sel_cal_en_checked(
&mut self,
new_val: <bool as Specifier>::InOut
) -> Result<(), OutOfBounds>
Sets the value of vco_sel_cal_en to the given value.
#Errors
If the given value is out of bounds for vco_sel_cal_en.
pub fn test0b_or_err(
&self
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn test0b_or_err(
&self
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of test0b.
#Errors
If the returned value contains an invalid bit pattern for test0b.
Returns a copy of the bitfield with the value of test0b set to the given value.
#Panics
If the given value is out of bounds for test0b.
pub fn with_test0b_checked(
self,
new_val: <bool as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_test0b_checked(
self,
new_val: <bool as Specifier>::InOut
) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of test0b set to the given value.
#Errors
If the given value is out of bounds for test0b.
Sets the value of test0b to the given value.
#Panics
If the given value is out of bounds for test0b.
pub fn set_test0b_checked(
&mut self,
new_val: <bool as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_test0b_checked(
&mut self,
new_val: <bool as Specifier>::InOut
) -> Result<(), OutOfBounds>
Sets the value of test0b to the given value.
#Errors
If the given value is out of bounds for test0b.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TEST0
impl UnwindSafe for TEST0
Blanket Implementations
Mutably borrows from an owned value. Read more