commit
This commit is contained in:
@@ -56,9 +56,20 @@ typedef enum {
|
||||
|
||||
}si5351_ClkSource;
|
||||
|
||||
typedef enum {
|
||||
|
||||
SI5351_PLL_A = 0,
|
||||
SI5351_PLL_B = 1,
|
||||
|
||||
|
||||
|
||||
}si5351_PLLs;
|
||||
|
||||
typedef enum {
|
||||
|
||||
SI5351_REG_PLL_INPUT_SOURCE = 0xf0, // Reg 15
|
||||
SI5351_REG_MULTISYNTH_NA_0 = 29,
|
||||
SI5351_REG_MULTISYNTH_NB_0 = 34,
|
||||
|
||||
|
||||
|
||||
@@ -262,6 +273,8 @@ typedef struct{
|
||||
int cm_si5351_init(si5351_driver *inst, void *i2c_transfer_inst, setGet_I2C_Event_fpt i2c_transfer_evt);
|
||||
uint8_t cm_si5351_getRevisionNumber(si5351_driver *inst);
|
||||
int cm_setInputSource(si5351_driver *inst, si5351_ClkSource clk_source);
|
||||
int cm_setPLLParameters(si5351_driver *inst,si5351_PLLs sel_pll, uint32_t a, uint32_t b, uint32_t c);
|
||||
|
||||
|
||||
|
||||
#endif /* SI5351_DRIVER_INCLUDE_SI5351_DRIVER_H_ */
|
||||
|
||||
Reference in New Issue
Block a user