Struct libftd2xx_cc1101::regs::AGCCTRL2[][src]

pub struct AGCCTRL2 { /* 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 max_dvga_gain.

Returns the value of max_dvga_gain.

#Errors

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

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

#Panics

If the given value is out of bounds for max_dvga_gain.

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

#Errors

If the given value is out of bounds for max_dvga_gain.

Sets the value of max_dvga_gain to the given value.

#Panics

If the given value is out of bounds for max_dvga_gain.

Sets the value of max_dvga_gain to the given value.

#Errors

If the given value is out of bounds for max_dvga_gain.

Returns the value of max_lna_gain.

Returns the value of max_lna_gain.

#Errors

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

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

#Panics

If the given value is out of bounds for max_lna_gain.

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

#Errors

If the given value is out of bounds for max_lna_gain.

Sets the value of max_lna_gain to the given value.

#Panics

If the given value is out of bounds for max_lna_gain.

Sets the value of max_lna_gain to the given value.

#Errors

If the given value is out of bounds for max_lna_gain.

Returns the value of magn_target.

Returns the value of magn_target.

#Errors

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

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

#Panics

If the given value is out of bounds for magn_target.

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

#Errors

If the given value is out of bounds for magn_target.

Sets the value of magn_target to the given value.

#Panics

If the given value is out of bounds for magn_target.

Sets the value of magn_target to the given value.

#Errors

If the given value is out of bounds for magn_target.

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.