Enum libftd2xx_cc1101::Command[][src]

pub enum Command {
Show variants SRES, SFSTXON, SXOFF, SCAL, SRX, STX, SIDLE, SWOR, SPWD, SFRX, SFTX, SWORRST, SNOP,
}
Expand description

Variants

SRES

Reset chip.

SFSTXON

Enable and calibrate frequency synthesizer (if MCSM0.FS_AUTOCAL=1). If in RX (with CCA): Go to a wait state where only the synthesizer is running (for quick RX / TX turnaround).

SXOFF

Turn off crystal oscillator.

SCAL

Calibrate frequency synthesizer and turn it off. SCAL can be strobed from IDLE mode without setting manual calibration mode (MCSM0.FS_AUTOCAL=0)

SRX

Enable RX. Perform calibration first if coming from IDLE and MCSM0.FS_AUTOCAL=1.

STX

In IDLE state: Enable TX. Perform calibration first if MCSM0. FS_AUTOCAL=1. If in RX state and CCA is enabled: Only go to TX if channel is clear.

SIDLE

Exit RX / TX, turn off frequency synthesizer and exit Wake-On-Radio mode if applicable.

SWOR

Start automatic RX polling sequence (Wake-on-Radio) as described in Section 19.5 if WORCTRL.RC_PD=0.

SPWD

Enter power down mode when CSn goes high.

SFRX

Flush the RX FIFO buffer. Only issue SFRXin IDLE or RXFIFO_OVERFLOW states.

SFTX

Flush the TX FIFO buffer. Only issue SFTX in IDLE or TXFIFO_UNDERFLOW states.

SWORRST

Reset real time clock to Event1 value.

SNOP

No operation. May be used to get access to the chip status byte.

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.