123

Revision:
27:da6341d9d5b1
Parent:
26:4876e515ff4c
Child:
32:c138a5861ac6
--- a/sx127x_fsk.h	Mon Jul 18 21:13:50 2016 +0000
+++ b/sx127x_fsk.h	Thu Jul 28 00:57:22 2016 +0000
@@ -137,6 +137,15 @@
 } RegPreambleDetect_t;
 
 typedef union {
+    struct {    // sx127x register 0x24
+        uint8_t ClkOut         : 3;   // 0,1,2
+        uint8_t rc_cal_trigger : 1;    // 3
+        uint8_t unused         : 4;  // 4,5,6,7
+    } bits;
+    uint8_t octet;
+} RegOsc_t;
+
+typedef union {
     struct {    // sx1232 register 0x27
         uint8_t SyncSize            : 3;    // 0,1,2
         uint8_t FifoFillCondition   : 1;    // 3    rx fifo fill starting 0=start-on-sync
@@ -293,6 +302,9 @@
         uint32_t get_tx_fdev_hz(void);
         void set_tx_fdev_hz(uint32_t);
         
+        uint8_t get_modulation_shaping(void);
+        void set_modulation_shaping(uint8_t);
+        
         service_action_e service(void); // (SLIH) ISR bottom half 
         
         RegRxConfig_t        RegRxConfig;         // 0x0d