Enum libftd2xx_cc1101::regs::PktFormat[][src]

#[repr(u8)]
pub enum PktFormat {
    Normal,
    SynchronousSerial,
    RandomTx,
    AsynchronousSerial,
}
Expand description

Used in PKTCTRL0.PKT_FORMAT

Format of RX and TX data

Variants

Normal

Normal mode, use FIFOs for RX and TX

SynchronousSerial

Synchronous serial mode,Data in on GDO0 and data out on either of the GDOxpins

RandomTx

Random TX mode; sends random data using PN9 generator. Used for test. Works as normal mode, setting 0 (00), in RX

AsynchronousSerial

Asynchronous serial mode, Data in on GDO0 and data out on either of the GDOx pins

Trait Implementations

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 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.