Struct libftd2xx_cc1101::regs::RCCTRL_STATUS [−][src]
pub struct RCCTRL_STATUS { /* fields omitted */ }
Expand description
Implementations
pub fn status_or_err(
&self
) -> Result<<B7 as Specifier>::InOut, InvalidBitPattern<<B7 as Specifier>::Bytes>>
pub fn status_or_err(
&self
) -> Result<<B7 as Specifier>::InOut, InvalidBitPattern<<B7 as Specifier>::Bytes>>
Returns the value of status.
#Errors
If the returned value contains an invalid bit pattern for status.
Returns a copy of the bitfield with the value of status set to the given value.
#Panics
If the given value is out of bounds for status.
pub fn with_status_checked(
self,
new_val: <B7 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_status_checked(
self,
new_val: <B7 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of status set to the given value.
#Errors
If the given value is out of bounds for status.
Sets the value of status to the given value.
#Panics
If the given value is out of bounds for status.
pub fn set_status_checked(
&mut self,
new_val: <B7 as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_status_checked(
&mut self,
new_val: <B7 as Specifier>::InOut
) -> Result<(), OutOfBounds>
Sets the value of status to the given value.
#Errors
If the given value is out of bounds for status.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RCCTRL_STATUS
impl Send for RCCTRL_STATUS
impl Sync for RCCTRL_STATUS
impl Unpin for RCCTRL_STATUS
impl UnwindSafe for RCCTRL_STATUS
Blanket Implementations
Mutably borrows from an owned value. Read more