27#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_AD9523_H_
28#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_AD9523_H_
48#define AD9523_NUM_CLK_OUT 14
57#define AD9523_CLK_OUT(n) ((clock_control_subsys_t)(uintptr_t)((n) + 1))
Main header file for clock control driver API.
APIs and macros for the Zephyr device model.
int ad9523_sync(const struct device *dev)
Issue a chip-level SYNC.
int ad9523_get_status(const struct device *dev, struct ad9523_status *status)
Read back VCXO/PLL1/PLL2 lock detail.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
PLL, VCXO and VCO status, as read back from the chip.
Definition ad9523.h:60
bool vcxo_locked
True when the VCXO status bit is asserted (readback 0x22C bit 5).
Definition ad9523.h:62
bool pll2_locked
True when PLL2 lock detect is asserted (readback 0x22C bit 1).
Definition ad9523.h:66
bool pll1_bypassed
True when PLL1 is bypassed (single-loop mode).
Definition ad9523.h:71
uint32_t vco_freq
PLL2 VCO frequency in Hz, as solved at init.
Definition ad9523.h:73
bool pll1_locked
True when PLL1 lock detect is asserted (readback 0x22C bit 0).
Definition ad9523.h:64
Runtime device structure (in ROM) per driver instance.
Definition device.h:543