Struct libftd2xx_cc1101::regs::TEST0[][src]

pub struct TEST0 { /* 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 test0a.

Returns the value of test0a.

#Errors

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

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

#Panics

If the given value is out of bounds for test0a.

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

#Errors

If the given value is out of bounds for test0a.

Sets the value of test0a to the given value.

#Panics

If the given value is out of bounds for test0a.

Sets the value of test0a to the given value.

#Errors

If the given value is out of bounds for test0a.

Returns the value of vco_sel_cal_en.

Returns the value of vco_sel_cal_en.

#Errors

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

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

#Panics

If the given value is out of bounds for vco_sel_cal_en.

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

#Errors

If the given value is out of bounds for vco_sel_cal_en.

Sets the value of vco_sel_cal_en to the given value.

#Panics

If the given value is out of bounds for vco_sel_cal_en.

Sets the value of vco_sel_cal_en to the given value.

#Errors

If the given value is out of bounds for vco_sel_cal_en.

Returns the value of test0b.

Returns the value of test0b.

#Errors

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

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

#Panics

If the given value is out of bounds for test0b.

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

#Errors

If the given value is out of bounds for test0b.

Sets the value of test0b to the given value.

#Panics

If the given value is out of bounds for test0b.

Sets the value of test0b to the given value.

#Errors

If the given value is out of bounds for test0b.

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.