aggiunto oscillatore
This commit is contained in:
27
codice/Core/Inc/si5351.h
Normal file
27
codice/Core/Inc/si5351.h
Normal 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;
|
||||
Reference in New Issue
Block a user