include all IRQ bits

This commit is contained in:
Morgan 'ARR\!' Allen 2020-02-22 07:05:42 -08:00
parent a9f4e42746
commit 4825c93600
1 changed files with 8 additions and 3 deletions

View File

@ -49,9 +49,14 @@
#define PA_BOOST 0x80
// IRQ masks
#define IRQ_TX_DONE_MASK 0x08
#define IRQ_PAYLOAD_CRC_ERROR_MASK 0x20
#define IRQ_RX_DONE_MASK 0x40
#define IRQ_RX_TIMEOUT 0x80
#define IRQ_RX_DONE 0x40
#define IRQ_PAYLOAD_CRC_ERROR 0x20
#define IRQ_VALID_HEADER 0x10
#define IRQ_TX_DONE 0x08
#define IRQ_CAD_DONE 0x04
#define IRQ_FHSS_CHANGE 0x02
#define IRQ_CAD_DETECTED 0x01
#define MAX_PKT_LENGTH 255