aggiunto oscillatore

This commit is contained in:
nzasch
2021-12-31 04:22:22 +01:00
parent 36ef31c453
commit 9306bc9852
16 changed files with 743 additions and 240 deletions

27
codice/Core/Inc/si5351.h Normal file
View File

@@ -0,0 +1,27 @@
#define SI5351_ADDRESS (0x60)
#define SI5351_CRYSTAL_FREQ 24000000
#define SI5351_MIN_FREQ 3000
#define SI5351_MAX_FREQ 200000000
#define SI5351_OUT_ENABLE 3
#define SI5351_OUT_DIS_STATE 24
#define SI5351_INPUT_SOURCE 15
#define SI5351_CLK0_CONTROL 16
#define SI5351_CLK1_CONTROL 17
#define SI5351_CLK2_CONTROL 18
#define SI5351_PLLA 26
#define SI5351_PLLB 34
#define SI5351_MULTISYNTH0 42
#define SI5351_MULTISYNTH1 50
#define SI5351_MULTISYNTH2 58
#define SI5351_RESET 177
#define SI5351_CRYSTAL_LOAD 183
extern I2C_HandleTypeDef hi2c1;