Struct libftd2xx_cc1101::Status[][src]

pub struct Status { /* fields omitted */ }
Expand description

Implementations

Returns an instance with zero initialized data.

Returns the underlying bits.

Layout

The returned byte array is layed out in the same way as described here.

Converts the given bytes directly into the bitfield struct.

Returns the value of chip_rdy_n.

Returns the value of chip_rdy_n.

#Errors

If the returned value contains an invalid bit pattern for chip_rdy_n.

Returns a copy of the bitfield with the value of chip_rdy_n set to the given value.

#Panics

If the given value is out of bounds for chip_rdy_n.

Returns a copy of the bitfield with the value of chip_rdy_n set to the given value.

#Errors

If the given value is out of bounds for chip_rdy_n.

Sets the value of chip_rdy_n to the given value.

#Panics

If the given value is out of bounds for chip_rdy_n.

Sets the value of chip_rdy_n to the given value.

#Errors

If the given value is out of bounds for chip_rdy_n.

Returns the value of state.

Returns the value of state.

#Errors

If the returned value contains an invalid bit pattern for state.

Returns a copy of the bitfield with the value of state set to the given value.

#Panics

If the given value is out of bounds for state.

Returns a copy of the bitfield with the value of state set to the given value.

#Errors

If the given value is out of bounds for state.

Sets the value of state to the given value.

#Panics

If the given value is out of bounds for state.

Sets the value of state to the given value.

#Errors

If the given value is out of bounds for state.

Returns the value of fifo_bytes_available.

Returns the value of fifo_bytes_available.

#Errors

If the returned value contains an invalid bit pattern for fifo_bytes_available.

Returns a copy of the bitfield with the value of fifo_bytes_available set to the given value.

#Panics

If the given value is out of bounds for fifo_bytes_available.

Returns a copy of the bitfield with the value of fifo_bytes_available set to the given value.

#Errors

If the given value is out of bounds for fifo_bytes_available.

Sets the value of fifo_bytes_available to the given value.

#Panics

If the given value is out of bounds for fifo_bytes_available.

Sets the value of fifo_bytes_available to the given value.

#Errors

If the given value is out of bounds for fifo_bytes_available.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.