package
0.0.0-20211205205814-168ccc21e67c
Repository: https://github.com/ziutek/emgo.git
Documentation: pkg.go.dev
# Constants
Enable continuous carrier transmit.
CRC encoding scheme: 0: one byte / 1: two bytes.
1: Enables payload with ACK.
Enable CRC.
1: Enables dynamic payload length.
1: Enables the W_TX_PAYLOAD_NOACK command.
Tx FIFO full flag.
LNA gain 0: -1.5 dB, -0.8 mA (nRF24L01 specific).
MAX_RT: 1: does not assert / 0: asserts IRQ.
RX_DR: 1: does not assert, 0: asserts IRQ.
TX_DS: 1: does not assert, 0: asserts IRQ.
Maximum number of Tx retransmits interrupt.
Force PLL lock signal.
1: Receiver (PRX) / 0: Transmitter (PPTX).
Power: 1: up / 0: down.
High speed data rate 0: 1Mbps, 1: 2Mbps.
Set RF Data Rate to 250kbps.
Data Ready Rx FIFO interrupt.
1: Rx FIFO empty, 0: Data in Rx FIFO.
1: Rx FIFO full, 0: Available locations in Rx FIFO.
Data Sent Tx FIFO interrupt.
1: Tx FIFO empty, 0: Data in Tx FIFO.
1: Tx FIFO full, 0: Available locations in Tx FIFO.
Set by TX_REUSE, cleared by W_TX_PAYLOAD, FLUSH_TX.
# Interfaces
DCI represents the simplified nRF24L01(+) Data and Control Interface: only SPI part of the full DCI is need.