Struct libftd2xx_cc1101::regs::MCSM2[][src]

pub struct MCSM2 { /* 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 rx_time_rssi.

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.

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.

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.

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.

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.

Sets the value of rx_time_qual to the given value.

#Errors

If the given value is out of bounds for rx_time_qual.

Returns the value of rx_time.

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.

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.

Sets the value of rx_time to the given value.

#Errors

If the given value is out of bounds for rx_time.

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

The amount of bits used by the specifier.

The base type of the specifier. Read more

The interface type of the specifier. Read more

Converts some bytes into the in-out type. Read more

Converts the given bytes into the in-out type. 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.