Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: sx127x_fsk.h
- Revision:
- 34:c48ef2fc3ec9
- Parent:
- 33:4b9fd8969428
diff -r 4b9fd8969428 -r c48ef2fc3ec9 sx127x_fsk.h
--- a/sx127x_fsk.h Tue May 22 15:54:02 2018 -0700
+++ b/sx127x_fsk.h Fri Aug 10 13:48:48 2018 -0700
@@ -128,6 +128,16 @@
} RegOokPeak_t; // DEMOD1 0x14
typedef union {
+ struct { // sx1272 register 0x16
+ uint8_t OokAverageThreshFilt : 2; // 0,1
+ uint8_t OokAverageOffset : 2; // 2,3
+ uint8_t reserved : 1; // 4
+ uint8_t OokPeakThreshDec : 3; // 5,6,7
+ } bits;
+ uint8_t octet;
+} RegOokAvg_t; // at 0x16
+
+typedef union {
struct { // sx1272 register 0x1f
uint8_t PreambleDetectorTol : 5; // 0,1,2,3,4 allowed chip errors
uint8_t PreambleDetectorSize : 2; // 5,6 00b=1bytes... 11b=4bytes