Struct libftd2xx_cc1101::regs::MCSM2 [−][src]
pub struct MCSM2 { /* fields omitted */ }
Expand description
Implementations
Returns the value of rx_time_rssi.
pub fn rx_time_rssi_or_err(
&self
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn rx_time_rssi_or_err(
&self
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of rx_time_rssi.
#Errors
If the returned value contains an invalid bit pattern for rx_time_rssi.
Returns a copy of the bitfield with the value of rx_time_rssi set to the given value.
#Panics
If the given value is out of bounds for rx_time_rssi.
pub fn with_rx_time_rssi_checked(
self,
new_val: <bool as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_rx_time_rssi_checked(
self,
new_val: <bool as Specifier>::InOut
) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of rx_time_rssi set to the given value.
#Errors
If the given value is out of bounds for rx_time_rssi.
Sets the value of rx_time_rssi to the given value.
#Panics
If the given value is out of bounds for rx_time_rssi.
pub fn set_rx_time_rssi_checked(
&mut self,
new_val: <bool as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_rx_time_rssi_checked(
&mut self,
new_val: <bool as Specifier>::InOut
) -> Result<(), OutOfBounds>
Sets the value of rx_time_rssi to the given value.
#Errors
If the given value is out of bounds for rx_time_rssi.
Returns the value of rx_time_qual.
pub fn rx_time_qual_or_err(
&self
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn rx_time_qual_or_err(
&self
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of rx_time_qual.
#Errors
If the returned value contains an invalid bit pattern for rx_time_qual.
Returns a copy of the bitfield with the value of rx_time_qual set to the given value.
#Panics
If the given value is out of bounds for rx_time_qual.
pub fn with_rx_time_qual_checked(
self,
new_val: <bool as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_rx_time_qual_checked(
self,
new_val: <bool as Specifier>::InOut
) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of rx_time_qual set to the given value.
#Errors
If the given value is out of bounds for rx_time_qual.
Sets the value of rx_time_qual to the given value.
#Panics
If the given value is out of bounds for rx_time_qual.
pub fn set_rx_time_qual_checked(
&mut self,
new_val: <bool as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_rx_time_qual_checked(
&mut self,
new_val: <bool as Specifier>::InOut
) -> Result<(), OutOfBounds>
Sets the value of rx_time_qual to the given value.
#Errors
If the given value is out of bounds for rx_time_qual.
pub fn rx_time_or_err(
&self
) -> Result<<RxTime as Specifier>::InOut, InvalidBitPattern<<RxTime as Specifier>::Bytes>>
pub fn rx_time_or_err(
&self
) -> Result<<RxTime as Specifier>::InOut, InvalidBitPattern<<RxTime as Specifier>::Bytes>>
Returns the value of rx_time.
#Errors
If the returned value contains an invalid bit pattern for rx_time.
Returns a copy of the bitfield with the value of rx_time set to the given value.
#Panics
If the given value is out of bounds for rx_time.
pub fn with_rx_time_checked(
self,
new_val: <RxTime as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_rx_time_checked(
self,
new_val: <RxTime as Specifier>::InOut
) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of rx_time set to the given value.
#Errors
If the given value is out of bounds for rx_time.
Sets the value of rx_time to the given value.
#Panics
If the given value is out of bounds for rx_time.
pub fn set_rx_time_checked(
&mut self,
new_val: <RxTime as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_rx_time_checked(
&mut self,
new_val: <RxTime as Specifier>::InOut
) -> Result<(), OutOfBounds>
Sets the value of rx_time to the given value.
#Errors
If the given value is out of bounds for rx_time.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MCSM2
impl UnwindSafe for MCSM2
Blanket Implementations
Mutably borrows from an owned value. Read more