Struct libftd2xx_cc1101::regs::MDMCFG4 [−][src]
pub struct MDMCFG4 { /* fields omitted */ }
Expand description
Implementations
pub fn chanbw_e_or_err(
&self
) -> Result<<B2 as Specifier>::InOut, InvalidBitPattern<<B2 as Specifier>::Bytes>>
pub fn chanbw_e_or_err(
&self
) -> Result<<B2 as Specifier>::InOut, InvalidBitPattern<<B2 as Specifier>::Bytes>>
Returns the value of chanbw_e.
#Errors
If the returned value contains an invalid bit pattern for chanbw_e.
Returns a copy of the bitfield with the value of chanbw_e set to the given value.
#Panics
If the given value is out of bounds for chanbw_e.
pub fn with_chanbw_e_checked(
self,
new_val: <B2 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_chanbw_e_checked(
self,
new_val: <B2 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of chanbw_e set to the given value.
#Errors
If the given value is out of bounds for chanbw_e.
Sets the value of chanbw_e to the given value.
#Panics
If the given value is out of bounds for chanbw_e.
pub fn set_chanbw_e_checked(
&mut self,
new_val: <B2 as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_chanbw_e_checked(
&mut self,
new_val: <B2 as Specifier>::InOut
) -> Result<(), OutOfBounds>
Sets the value of chanbw_e to the given value.
#Errors
If the given value is out of bounds for chanbw_e.
pub fn chanbw_m_or_err(
&self
) -> Result<<B2 as Specifier>::InOut, InvalidBitPattern<<B2 as Specifier>::Bytes>>
pub fn chanbw_m_or_err(
&self
) -> Result<<B2 as Specifier>::InOut, InvalidBitPattern<<B2 as Specifier>::Bytes>>
Returns the value of chanbw_m.
#Errors
If the returned value contains an invalid bit pattern for chanbw_m.
Returns a copy of the bitfield with the value of chanbw_m set to the given value.
#Panics
If the given value is out of bounds for chanbw_m.
pub fn with_chanbw_m_checked(
self,
new_val: <B2 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_chanbw_m_checked(
self,
new_val: <B2 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of chanbw_m set to the given value.
#Errors
If the given value is out of bounds for chanbw_m.
Sets the value of chanbw_m to the given value.
#Panics
If the given value is out of bounds for chanbw_m.
pub fn set_chanbw_m_checked(
&mut self,
new_val: <B2 as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_chanbw_m_checked(
&mut self,
new_val: <B2 as Specifier>::InOut
) -> Result<(), OutOfBounds>
Sets the value of chanbw_m to the given value.
#Errors
If the given value is out of bounds for chanbw_m.
pub fn drate_e_or_err(
&self
) -> Result<<B4 as Specifier>::InOut, InvalidBitPattern<<B4 as Specifier>::Bytes>>
pub fn drate_e_or_err(
&self
) -> Result<<B4 as Specifier>::InOut, InvalidBitPattern<<B4 as Specifier>::Bytes>>
Returns the value of drate_e.
#Errors
If the returned value contains an invalid bit pattern for drate_e.
Returns a copy of the bitfield with the value of drate_e set to the given value.
#Panics
If the given value is out of bounds for drate_e.
pub fn with_drate_e_checked(
self,
new_val: <B4 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_drate_e_checked(
self,
new_val: <B4 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of drate_e set to the given value.
#Errors
If the given value is out of bounds for drate_e.
Sets the value of drate_e to the given value.
#Panics
If the given value is out of bounds for drate_e.
pub fn set_drate_e_checked(
&mut self,
new_val: <B4 as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_drate_e_checked(
&mut self,
new_val: <B4 as Specifier>::InOut
) -> Result<(), OutOfBounds>
Sets the value of drate_e to the given value.
#Errors
If the given value is out of bounds for drate_e.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MDMCFG4
impl UnwindSafe for MDMCFG4
Blanket Implementations
Mutably borrows from an owned value. Read more