diff options
Diffstat (limited to 'software/rda1846dongle/rda1846_defines.h')
-rw-r--r-- | software/rda1846dongle/rda1846_defines.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/software/rda1846dongle/rda1846_defines.h b/software/rda1846dongle/rda1846_defines.h index 616ee43..403d326 100644 --- a/software/rda1846dongle/rda1846_defines.h +++ b/software/rda1846dongle/rda1846_defines.h @@ -75,10 +75,20 @@ #define RDA1846_REG_DTMF_C67 0x69 #define RDA1846_REG_DTMF_OUT 0x6C +//freq +#define RDA1846_FREQ_CORR_2M 73.1428567759 +#define RDA1846_FREQ_CORR_70CM RDA1846_FREQ_CORR_2M/3.0 + // init values #define RDA1846_RF_BAND_2M 0x00E4 // select 2m Band +#define RDA1846_BAND_2M_LOW 134000 // kHz +#define RDA1846_BAND_2M_HIGH 174000 // kHZ + #define RDA1846_RF_BAND_70CM 0x0024 // select 70cm Band +#define RDA1846_BAND_70CM_LOW 400000 // kHz +#define RDA1846_BAND_70CM_HIGH 520000 // kHZ + #define RDA1846_XTAL_FREQ 12288 // 12.288 MHz #define RDA1846_ADCLK_FREQ 6144 // 12.288/2 MHz #define RDA1846_CLK_MODE 0x0F11 // 12-14 MHz |