Paparazzi UAS
v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
|
Register defines for the CYRF6936 2.4GHz radio chip. More...
Go to the source code of this file.
Macros | |
#define | CYRF_DIR (1<<7) |
Bit for enabling writing. More... | |
#define | CYRF_RST (1<<0) |
#define | CYRF_RXF (1<<1) |
#define | CYRF_FRC_END (1<<5) |
#define | CYRF_ACK_EN (1<<7) |
#define | CYRF_IRQ_GPIO (1<<0) |
#define | CYRF_SPI_3PIN (1<<1) |
#define | CYRF_PACTL_GPIO (1<<2) |
#define | CYRF_PACTL_OD (1<<3) |
#define | CYRF_XOUT_OD (1<<4) |
#define | CYRF_MISO_OD (1<<5) |
#define | CYRF_IRQ_POL (1<<6) |
#define | CYRF_IRQ_OD (1<<7) |
#define | CYRF_LEN_EN (1<<5) |
#define | CYRF_SOP_LEN (1<<6) |
#define | CYRF_SOP_EN (1<<7) |
#define | CYRF_RX_CODE (1<<2) |
#define | CYRF_BAD_CRC (1<<3) |
#define | CYRF_CRC0 (1<<4) |
#define | CYRF_EOP_ERR (1<<5) |
#define | CYRF_PKT_ERR (1<<6) |
#define | CYRF_RX_ACK (1<<7) |
#define | CYRF_TXE_IRQ (1<<0) |
#define | CYRF_TXC_IRQ (1<<1) |
#define | CYRF_TXBERR_IRQ (1<<2) |
#define | CYRF_TXB0_IRQ (1<<3) |
#define | CYRF_TXB8_IRQ (1<<4) |
#define | CYRF_TXB15_IRQ (1<<5) |
#define | CYRF_LV_IRQ (1<<6) |
#define | CYRF_OS_IRQ (1<<7) |
#define | CYRF_RXE_IRQ (1<<0) |
#define | CYRF_RXC_IRQ (1<<1) |
#define | CYRF_RXBERR_IRQ (1<<2) |
#define | CYRF_RXB1_IRQ (1<<3) |
#define | CYRF_RXB8_IRQ (1<<4) |
#define | CYRF_RXB16_IRQ (1<<5) |
#define | CYRF_SOPDET_IRQ (1<<6) |
#define | CYRF_RXOW_IRQ (1<<7) |
#define | CYRF_TXE_IRQEN (1<<0) |
#define | CYRF_TXC_IRQEN (1<<1) |
#define | CYRF_TXBERR_IRQEN (1<<2) |
#define | CYRF_TXB0_IRQEN (1<<3) |
#define | CYRF_TXB8_IRQEN (1<<4) |
#define | CYRF_TXB15_IRQEN (1<<5) |
#define | CYRF_TX_CLR (1<<6) |
#define | CYRF_TX_GO (1<<7) |
#define | CYRF_RXE_IRQEN (1<<0) |
#define | CYRF_RXC_IRQEN (1<<1) |
#define | CYRF_RXBERR_IRQEN (1<<2) |
#define | CYRF_RXB1_IRQEN (1<<3) |
#define | CYRF_RXB8_IRQEN (1<<4) |
#define | CYRF_RXB16_IRQEN (1<<5) |
#define | CYRF_RSVD (1<<6) |
#define | CYRF_RX_GO (1<<7) |
#define | CYRF_ACE (1<<1) |
#define | CYRF_DIS_RXCRC (1<<2) |
#define | CYRF_DIS_CRC0 (1<<3) |
#define | CYRF_FRC_RXDR (1<<4) |
#define | CYRF_MAN_RXACK (1<<5) |
#define | CYRF_RXTX_DLY (1<<6) |
#define | CYRF_ACK_RX (1<<7) |
#define | CYRF_TX_INV (1<<0) |
#define | CYRF_DIS_TXCRC (1<<2) |
#define | CYRF_OVRD_ACK (1<<3) |
#define | CYRF_MAN_TXACK (1<<4) |
#define | CYRF_FRC_PRE (1<<6) |
#define | CYRF_ACK_TX (1<<7) |
#define | CYRF_VLD_EN (1<<0) |
#define | CYRF_RXOW_EN (1<<1) |
#define | CYRF_FAST_TURN_EN (1<<3) |
#define | CYRF_HILO (1<<4) |
#define | CYRF_ATT (1<<5) |
#define | CYRF_LNA (1<<6) |
#define | CYRF_AGC_EN (1<<7) |
#define | CYRF_DATA_CODE_LENGTH (1<<5) |
Register defines for the CYRF6936 2.4GHz radio chip.
Definition in file cyrf6936_regs.h.
#define CYRF_ACE (1<<1) |
Definition at line 167 of file cyrf6936_regs.h.
#define CYRF_ACK_EN (1<<7) |
Definition at line 95 of file cyrf6936_regs.h.
#define CYRF_ACK_RX (1<<7) |
Definition at line 173 of file cyrf6936_regs.h.
#define CYRF_ACK_TX (1<<7) |
Definition at line 181 of file cyrf6936_regs.h.
#define CYRF_AGC_EN (1<<7) |
Definition at line 190 of file cyrf6936_regs.h.
#define CYRF_ATT (1<<5) |
Definition at line 188 of file cyrf6936_regs.h.
#define CYRF_BAD_CRC (1<<3) |
Definition at line 120 of file cyrf6936_regs.h.
Referenced by superbitrf_receive_packet_cb().
#define CYRF_CRC0 (1<<4) |
Definition at line 121 of file cyrf6936_regs.h.
#define CYRF_DATA_CODE_LENGTH (1<<5) |
Definition at line 209 of file cyrf6936_regs.h.
#define CYRF_DIR (1<<7) |
Bit for enabling writing.
Definition at line 78 of file cyrf6936_regs.h.
Referenced by cyrf6936_write_block().
#define CYRF_DIS_CRC0 (1<<3) |
Definition at line 169 of file cyrf6936_regs.h.
#define CYRF_DIS_RXCRC (1<<2) |
Definition at line 168 of file cyrf6936_regs.h.
#define CYRF_DIS_TXCRC (1<<2) |
Definition at line 177 of file cyrf6936_regs.h.
#define CYRF_EOP_ERR (1<<5) |
Definition at line 122 of file cyrf6936_regs.h.
#define CYRF_FAST_TURN_EN (1<<3) |
Definition at line 186 of file cyrf6936_regs.h.
#define CYRF_FRC_END (1<<5) |
Definition at line 94 of file cyrf6936_regs.h.
#define CYRF_FRC_PRE (1<<6) |
Definition at line 180 of file cyrf6936_regs.h.
#define CYRF_FRC_RXDR (1<<4) |
Definition at line 170 of file cyrf6936_regs.h.
#define CYRF_HILO (1<<4) |
Definition at line 187 of file cyrf6936_regs.h.
#define CYRF_IRQ_GPIO (1<<0) |
Definition at line 98 of file cyrf6936_regs.h.
#define CYRF_IRQ_OD (1<<7) |
Definition at line 105 of file cyrf6936_regs.h.
#define CYRF_IRQ_POL (1<<6) |
Definition at line 104 of file cyrf6936_regs.h.
#define CYRF_LEN_EN (1<<5) |
Definition at line 108 of file cyrf6936_regs.h.
#define CYRF_LNA (1<<6) |
Definition at line 189 of file cyrf6936_regs.h.
#define CYRF_LV_IRQ (1<<6) |
Definition at line 133 of file cyrf6936_regs.h.
#define CYRF_MAN_RXACK (1<<5) |
Definition at line 171 of file cyrf6936_regs.h.
#define CYRF_MAN_TXACK (1<<4) |
Definition at line 179 of file cyrf6936_regs.h.
#define CYRF_MISO_OD (1<<5) |
Definition at line 103 of file cyrf6936_regs.h.
#define CYRF_OS_IRQ (1<<7) |
Definition at line 134 of file cyrf6936_regs.h.
#define CYRF_OVRD_ACK (1<<3) |
Definition at line 178 of file cyrf6936_regs.h.
#define CYRF_PACTL_GPIO (1<<2) |
Definition at line 100 of file cyrf6936_regs.h.
#define CYRF_PACTL_OD (1<<3) |
Definition at line 101 of file cyrf6936_regs.h.
#define CYRF_PKT_ERR (1<<6) |
Definition at line 123 of file cyrf6936_regs.h.
#define CYRF_RST (1<<0) |
Definition at line 81 of file cyrf6936_regs.h.
#define CYRF_RSVD (1<<6) |
Definition at line 163 of file cyrf6936_regs.h.
#define CYRF_RX_ACK (1<<7) |
Definition at line 124 of file cyrf6936_regs.h.
#define CYRF_RX_CODE (1<<2) |
Definition at line 119 of file cyrf6936_regs.h.
#define CYRF_RX_GO (1<<7) |
Definition at line 164 of file cyrf6936_regs.h.
#define CYRF_RXB16_IRQ (1<<5) |
Definition at line 142 of file cyrf6936_regs.h.
#define CYRF_RXB16_IRQEN (1<<5) |
Definition at line 162 of file cyrf6936_regs.h.
#define CYRF_RXB1_IRQ (1<<3) |
Definition at line 140 of file cyrf6936_regs.h.
#define CYRF_RXB1_IRQEN (1<<3) |
Definition at line 160 of file cyrf6936_regs.h.
#define CYRF_RXB8_IRQ (1<<4) |
Definition at line 141 of file cyrf6936_regs.h.
#define CYRF_RXB8_IRQEN (1<<4) |
Definition at line 161 of file cyrf6936_regs.h.
#define CYRF_RXBERR_IRQ (1<<2) |
Definition at line 139 of file cyrf6936_regs.h.
#define CYRF_RXBERR_IRQEN (1<<2) |
Definition at line 159 of file cyrf6936_regs.h.
#define CYRF_RXC_IRQ (1<<1) |
Definition at line 138 of file cyrf6936_regs.h.
Referenced by superbitrf_event().
#define CYRF_RXC_IRQEN (1<<1) |
Definition at line 158 of file cyrf6936_regs.h.
#define CYRF_RXE_IRQ (1<<0) |
Definition at line 137 of file cyrf6936_regs.h.
Referenced by superbitrf_event().
#define CYRF_RXE_IRQEN (1<<0) |
Definition at line 157 of file cyrf6936_regs.h.
#define CYRF_RXF (1<<1) |
Definition at line 84 of file cyrf6936_regs.h.
#define CYRF_RXOW_EN (1<<1) |
Definition at line 185 of file cyrf6936_regs.h.
#define CYRF_RXOW_IRQ (1<<7) |
Definition at line 144 of file cyrf6936_regs.h.
#define CYRF_RXTX_DLY (1<<6) |
Definition at line 172 of file cyrf6936_regs.h.
#define CYRF_SOP_EN (1<<7) |
Definition at line 110 of file cyrf6936_regs.h.
#define CYRF_SOP_LEN (1<<6) |
Definition at line 109 of file cyrf6936_regs.h.
#define CYRF_SOPDET_IRQ (1<<6) |
Definition at line 143 of file cyrf6936_regs.h.
#define CYRF_SPI_3PIN (1<<1) |
Definition at line 99 of file cyrf6936_regs.h.
#define CYRF_TX_CLR (1<<6) |
Definition at line 153 of file cyrf6936_regs.h.
Referenced by cyrf6936_event().
#define CYRF_TX_GO (1<<7) |
Definition at line 154 of file cyrf6936_regs.h.
Referenced by cyrf6936_event().
#define CYRF_TX_INV (1<<0) |
Definition at line 176 of file cyrf6936_regs.h.
#define CYRF_TXB0_IRQ (1<<3) |
Definition at line 130 of file cyrf6936_regs.h.
#define CYRF_TXB0_IRQEN (1<<3) |
Definition at line 150 of file cyrf6936_regs.h.
#define CYRF_TXB15_IRQ (1<<5) |
Definition at line 132 of file cyrf6936_regs.h.
#define CYRF_TXB15_IRQEN (1<<5) |
Definition at line 152 of file cyrf6936_regs.h.
#define CYRF_TXB8_IRQ (1<<4) |
Definition at line 131 of file cyrf6936_regs.h.
#define CYRF_TXB8_IRQEN (1<<4) |
Definition at line 151 of file cyrf6936_regs.h.
#define CYRF_TXBERR_IRQ (1<<2) |
Definition at line 129 of file cyrf6936_regs.h.
#define CYRF_TXBERR_IRQEN (1<<2) |
Definition at line 149 of file cyrf6936_regs.h.
#define CYRF_TXC_IRQ (1<<1) |
Definition at line 128 of file cyrf6936_regs.h.
Referenced by superbitrf_event().
#define CYRF_TXC_IRQEN (1<<1) |
Definition at line 148 of file cyrf6936_regs.h.
Referenced by cyrf6936_event().
#define CYRF_TXE_IRQ (1<<0) |
Definition at line 127 of file cyrf6936_regs.h.
Referenced by superbitrf_event().
#define CYRF_TXE_IRQEN (1<<0) |
Definition at line 147 of file cyrf6936_regs.h.
Referenced by cyrf6936_event().
#define CYRF_VLD_EN (1<<0) |
Definition at line 184 of file cyrf6936_regs.h.
#define CYRF_XOUT_OD (1<<4) |
Definition at line 102 of file cyrf6936_regs.h.
anonymous enum |
Definition at line 31 of file cyrf6936_regs.h.
anonymous enum |
Enumerator | |
---|---|
CYRF_MODE_SLEEP | |
CYRF_MODE_IDLE | |
CYRF_MODE_SYNTH_TX | |
CYRF_MODE_SYNTH_RX | |
CYRF_MODE_RX |
Definition at line 87 of file cyrf6936_regs.h.
anonymous enum |
Enumerator | |
---|---|
CYRF_RX_DATA_MODE_GFSK | |
CYRF_RX_DATA_MODE_8DR | |
CYRF_RX_DATA_MODE_DDR | |
CYRF_RX_DATA_MODE_NV |
Definition at line 113 of file cyrf6936_regs.h.
anonymous enum |
Enumerator | |
---|---|
CYRF_PA_M35 | |
CYRF_PA_M30 | |
CYRF_PA_M24 | |
CYRF_PA_M18 | |
CYRF_PA_M13 | |
CYRF_PA_M5 | |
CYRF_PA_0 | |
CYRF_PA_4 |
Definition at line 193 of file cyrf6936_regs.h.
anonymous enum |
Enumerator | |
---|---|
CYRF_DATA_MODE_GFSK | |
CYRF_DATA_MODE_8DR | |
CYRF_DATA_MODE_DDR | |
CYRF_DATA_MODE_SDR |
Definition at line 203 of file cyrf6936_regs.h.