forked from gatsby/df_datalink
fix: 增加9528锁定回读函数定义
This commit is contained in:
+1
-1
@@ -511,7 +511,7 @@ uint8_t Hardware_GetLMK04828LockStatus(void)
|
||||
ret |= ((regVal & 0x02) == 0x02) ? CLK_SP_PLL1_LOCK : 0;
|
||||
|
||||
// pll2
|
||||
lmk04828_read(ad9528_inst, 0x0183, ®Val); // [D1] is lock indicator
|
||||
lmk04828_read(lmk04828_inst, 0x0183, ®Val); // [D1] is lock indicator
|
||||
ret |= ((regVal & 0x02) == 0x02) ? CLK_SP_PLL2_LOCK : 0;
|
||||
|
||||
return ret;
|
||||
|
||||
@@ -27,4 +27,5 @@ int8_t Hardware_GetAD9361Temp_1(void);
|
||||
int8_t Hardware_GetAD9361Temp_2(void);
|
||||
uint8_t Hardware_GetAD9361LockStatus(void);
|
||||
uint8_t Hardware_GetHMC7044LockStatus(void);
|
||||
uint8_t Hardware_GetAD9528LockStatus(void);
|
||||
uint8_t Hardware_GetLMK04828LockStatus(void);
|
||||
|
||||
Reference in New Issue
Block a user