mirror of
https://github.com/g4klx/MMDVM_HS.git
synced 2025-12-06 07:02:00 +01:00
Small changes
This commit is contained in:
parent
d71b7aa053
commit
85fec904a6
|
|
@ -65,10 +65,10 @@ void Send_REG0_RX()
|
|||
divider = (divider - N_divider) * 32768;
|
||||
F_divider = floor(divider + 0.5);
|
||||
|
||||
ADF7021_RX_REG0 = (uint32_t)0b0000;
|
||||
ADF7021_RX_REG0 |= (uint32_t)0b01011 << 27; // mux regulator/uart enabled/receive
|
||||
ADF7021_RX_REG0 |= (uint32_t)N_divider << 19; // frequency;
|
||||
ADF7021_RX_REG0 |= (uint32_t)F_divider << 4; // frequency;
|
||||
ADF7021_RX_REG0 = (uint32_t) 0b0000;
|
||||
ADF7021_RX_REG0 |= (uint32_t) 0b01011 << 27; // mux regulator/uart enabled/receive
|
||||
ADF7021_RX_REG0 |= (uint32_t) N_divider << 19; // frequency;
|
||||
ADF7021_RX_REG0 |= (uint32_t) F_divider << 4; // frequency;
|
||||
|
||||
AD7021_control_byte = ADF7021_RX_REG0;
|
||||
Send_AD7021_control();
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ www.analog.com/media/en/technical-documentation/data-sheets/ADF7021.pdf
|
|||
#define ADF7021_REG10 0x3296472A
|
||||
|
||||
// Slicer threshold for 4FSK demodulator (REG 13)
|
||||
#define ADF7021_SLICER_TH_DSTAR 00U
|
||||
#define ADF7021_SLICER_TH_DSTAR 0U
|
||||
#define ADF7021_SLICER_TH_DMR 51U
|
||||
#define ADF7021_SLICER_TH_YSF 59U
|
||||
#define ADF7021_SLICER_TH_P25 45U
|
||||
|
|
@ -109,7 +109,7 @@ www.analog.com/media/en/technical-documentation/data-sheets/ADF7021.pdf
|
|||
#define ADF7021_DISC_BW_P25 397U // K=32
|
||||
|
||||
// Post demodulator bandwith (REG 04)
|
||||
#define ADF7021_POST_BW_DSTAR 09U
|
||||
#define ADF7021_POST_BW_DSTAR 9U
|
||||
#define ADF7021_POST_BW_DMR 65U
|
||||
#define ADF7021_POST_BW_YSF 65U
|
||||
#define ADF7021_POST_BW_P25 65U
|
||||
|
|
@ -124,7 +124,7 @@ www.analog.com/media/en/technical-documentation/data-sheets/ADF7021.pdf
|
|||
#define ADF7021_REG10 0x3296354A
|
||||
|
||||
// Slicer threshold for 4FSK demodulator (REG 13)
|
||||
#define ADF7021_SLICER_TH_DSTAR 00U
|
||||
#define ADF7021_SLICER_TH_DSTAR 0U
|
||||
#define ADF7021_SLICER_TH_DMR 51U
|
||||
#define ADF7021_SLICER_TH_YSF 59U
|
||||
#define ADF7021_SLICER_TH_P25 45U
|
||||
|
|
|
|||
Loading…
Reference in a new issue