ST-DEVKIT-LRWAN
Dependents: DISCO-L072CZ-LRWAN1-base
Fork of SX1276GenericLib by
Diff: registers/sx1276Regs-LoRa.h
- Revision:
- 54:0d8ea87fbab9
- Parent:
- 22:7f3aab69cca9
diff -r 6d3adad59633 -r 0d8ea87fbab9 registers/sx1276Regs-LoRa.h --- a/registers/sx1276Regs-LoRa.h Thu May 18 18:34:54 2017 +0200 +++ b/registers/sx1276Regs-LoRa.h Fri May 19 11:50:12 2017 +0200 @@ -291,9 +291,15 @@ /*! * RegModemStat (Read Only) */ -#define RFLR_MODEMSTAT_RX_CR_MASK 0x1F +#define RFLR_MODEMSTAT_RX_CR_MASK 0x1F #define RFLR_MODEMSTAT_MODEM_STATUS_MASK 0xE0 - + +#define RFLR_MODEMSTAT_MODEM_CLEAR 0x10 +#define RFLR_MODEMSTAT_HEADERINFO_VALID 0x08 +#define RFLR_MODEMSTAT_RX_ONGOING 0x04 +#define RFLR_MODEMSTAT_SIGNAL_SYNCRONIZED 0x02 +#define RFLR_MODEMSTAT_SIGNAL_DETECTED 0x01 + /*! * RegPktSnrValue (Read Only) */