42 #ifndef __ALT_CLK_MGR_H__ 43 #define __ALT_CLK_MGR_H__ 99 ALT_CLK_F2H_PERIPH_REF,
103 ALT_CLK_F2H_SDRAM_REF,
1183 uint32_t guard_band);
Definition: alt_clock_manager.h:167
Definition: alt_clock_manager.h:666
Definition: alt_clock_manager.h:190
ALT_STATUS_CODE alt_clk_group_cfg_raw_get(ALT_CLK_GRP_t clk_group, ALT_CLK_GROUP_RAW_CFG_t *clk_group_raw_cfg)
Definition: alt_clock_manager.c:4875
Definition: alt_clock_manager.h:406
Definition: alt_clock_manager.h:479
ALT_STATUS_CODE alt_clk_pll_vco_freq_get(ALT_CLK_t pll, alt_freq_t *freq)
Definition: alt_clock_manager.c:2477
Definition: alt_clock_manager.h:203
Definition: alt_clock_manager.h:135
enum ALT_CLK_SAFE_DOMAIN_e ALT_CLK_SAFE_DOMAIN_t
Definition: alt_clock_manager.h:193
ALT_STATUS_CODE alt_clk_group_cfg_raw_set(const ALT_CLK_GROUP_RAW_CFG_t *clk_group_raw_cfg)
Definition: alt_clock_manager.c:4999
ALT_CLK_t ref_clk
Definition: alt_clock_manager.h:1026
Definition: alt_clock_manager.h:318
Definition: alt_clock_manager.h:461
ALT_STATUS_CODE alt_clk_pll_cfg_get(ALT_CLK_t pll, ALT_CLK_PLL_CFG_t *pll_cfg)
Definition: alt_clock_manager.c:1789
Definition: alt_clock_manager.h:181
Definition: alt_clock_manager.h:661
Definition: alt_clock_manager.h:382
Definition: alt_clock_manager.h:497
ALT_STATUS_CODE alt_clk_irq_disable(ALT_CLK_PLL_LOCK_STATUS_t lock_stat_mask)
Definition: alt_clock_manager.c:4839
Definition: alt_clock_manager.h:76
Definition: alt_clock_manager.h:238
ALT_CLK_SAFE_DOMAIN_e
Definition: alt_clock_manager.h:655
Definition: alt_clock_manager.h:306
Definition: alt_clock_manager.h:231
ALT_STATUS_CODE alt_clk_safe_mode_clear(void)
Definition: alt_clock_manager.c:463
uint32_t div
Definition: alt_clock_manager.h:1030
ALT_STATUS_CODE alt_clk_divider_set(ALT_CLK_t clk, uint32_t div)
Definition: alt_clock_manager.c:3082
Definition: alt_clock_manager.h:429
Definition: alt_clock_manager.h:143
struct ALT_CLK_PLL_CFG_s ALT_CLK_PLL_CFG_t
Definition: alt_clock_manager.h:403
Definition: alt_clock_manager.h:537
Definition: alt_clock_manager.h:248
Definition: alt_clock_manager.h:547
Definition: alt_clock_manager.h:267
Definition: alt_clock_manager.h:363
ALT_STATUS_CODE alt_clk_pll_bypass_enable(ALT_CLK_t pll, bool use_input_mux)
Definition: alt_clock_manager.c:660
Definition: alt_clock_manager.h:435
Definition: alt_clock_manager.h:388
ALT_STATUS_CODE alt_clk_pll_vco_cfg_get(ALT_CLK_t pll, uint32_t *mult, uint32_t *div)
Definition: alt_clock_manager.c:2084
Definition: alt_clock_manager.h:309
Definition: alt_clock_manager.h:321
Definition: alt_clock_manager.h:329
Definition: alt_clock_manager.h:215
Definition: alt_clock_manager.h:522
Definition: alt_clock_manager.h:409
uint32_t mult
Definition: alt_clock_manager.h:1027
Definition: alt_clock_manager.h:115
ALT_STATUS_CODE alt_clk_lock_status_clear(ALT_CLK_PLL_LOCK_STATUS_t lock_stat_mask)
Definition: alt_clock_manager.c:392
Definition: alt_clock_manager.h:294
ALT_STATUS_CODE alt_clk_pll_guard_band_set(ALT_CLK_t pll, uint32_t guard_band)
Definition: alt_clock_manager.c:2620
enum ALT_CLK_GRP_e ALT_CLK_GRP_t
Definition: alt_clock_manager.h:1024
Definition: alt_clock_manager.h:356
uint32_t alt_freq_t
Definition: alt_clock_manager.h:66
Definition: alt_clock_manager.h:221
Definition: alt_clock_manager.h:315
ALT_STATUS_CODE alt_clk_pll_bypass_disable(ALT_CLK_t pll)
Definition: alt_clock_manager.c:530
Definition: alt_clock_manager.h:280
Definition: alt_clock_manager.h:187
Definition: alt_clock_manager.h:109
ALT_STATUS_CODE alt_clk_pll_is_locked(ALT_CLK_t pll)
Definition: alt_clock_manager.c:435
Definition: alt_clock_manager.h:376
Definition: alt_clock_manager.h:129
Definition: alt_clock_manager.h:345
ALT_STATUS_CODE alt_clk_clock_enable(ALT_CLK_t clk)
Definition: alt_clock_manager.c:972
Definition: alt_clock_manager.h:491
Definition: alt_clock_manager.h:339
Definition: alt_clock_manager.h:226
Definition: alt_clock_manager.h:532
ALT_CLK_PLL_LOCK_STATUS_e
Definition: alt_clock_manager.h:520
Definition: alt_clock_manager.h:312
ALT_STATUS_CODE alt_clk_clock_disable(ALT_CLK_t clk)
Definition: alt_clock_manager.c:859
Definition: alt_clock_manager.h:324
ALT_STATUS_CODE alt_clk_ext_clk_freq_set(ALT_CLK_t clk, alt_freq_t freq)
Definition: alt_clock_manager.c:1697
uint32_t cntrs[6]
Definition: alt_clock_manager.h:1033
Definition: alt_clock_manager.h:485
alt_freq_t alt_clk_ext_clk_freq_get(ALT_CLK_t clk)
Definition: alt_clock_manager.c:1762
Definition: alt_clock_manager.h:254
uint32_t alt_clk_pll_guard_band_get(ALT_CLK_t pll)
Definition: alt_clock_manager.c:2596
Definition: alt_clock_manager.h:334
Definition: alt_clock_manager.h:443
ALT_STATUS_CODE alt_clk_source_set(ALT_CLK_t clk, ALT_CLK_t ref_clk)
Definition: alt_clock_manager.c:1514
Definition: alt_clock_manager.h:273
Definition: alt_clock_manager.h:412
Definition: alt_clock_manager.h:397
Definition: alt_clock_manager.h:208
Definition: alt_clock_manager.h:287
bool alt_clk_is_in_safe_mode(ALT_CLK_SAFE_DOMAIN_t clk_domain)
Definition: alt_clock_manager.c:497
Definition: alt_clock_manager.h:423
Definition: alt_clock_manager.h:527
Definition: alt_clock_group.h:72
Definition: alt_clock_manager.h:196
Definition: alt_clock_manager.h:178
ALT_STATUS_CODE alt_clk_pll_cfg_set(ALT_CLK_t pll, const ALT_CLK_PLL_CFG_t *pll_cfg)
Definition: alt_clock_manager.c:1931
ALT_STATUS_CODE alt_clk_irq_enable(ALT_CLK_PLL_LOCK_STATUS_t lock_stat_mask)
Definition: alt_clock_manager.c:4856
Definition: alt_clock_manager.h:455
Definition: alt_clock_manager.h:122
int32_t ALT_STATUS_CODE
Definition: hwlib.h:60
Definition: alt_clock_manager.h:150
Definition: alt_clock_manager.h:370
Definition: alt_clock_manager.h:261
ALT_STATUS_CODE alt_clk_freq_get(ALT_CLK_t clk, alt_freq_t *freq)
Definition: alt_clock_manager.c:4154
Definition: alt_clock_manager.h:467
Definition: alt_clock_manager.h:473
ALT_CLK_t alt_clk_source_get(ALT_CLK_t clk)
Definition: alt_clock_manager.c:1253
Definition: alt_clock_manager.h:542
Definition: alt_clock_manager.h:351
Definition: alt_clock_manager.h:243
Definition: alt_clock_manager.h:158
ALT_STATUS_CODE alt_clk_pll_is_bypassed(ALT_CLK_t pll)
Definition: alt_clock_manager.c:778
Definition: alt_clock_manager.h:184
ALT_STATUS_CODE alt_clk_is_enabled(ALT_CLK_t clk)
Definition: alt_clock_manager.c:1087
uint32_t alt_clk_lock_status_get(void)
Definition: alt_clock_manager.c:416
ALT_STATUS_CODE alt_clk_pll_vco_cfg_set(ALT_CLK_t pll, uint32_t mult, uint32_t div)
Definition: alt_clock_manager.c:2354
Definition: alt_clock_manager.h:87
Definition: alt_clock_manager.h:449
ALT_CLK_e
Definition: alt_clock_manager.h:73
uint32_t pshift[6]
Definition: alt_clock_manager.h:1036
Definition: alt_clock_manager.h:400
ALT_STATUS_CODE alt_clk_divider_get(ALT_CLK_t clk, uint32_t *div)
Definition: alt_clock_manager.c:2658
Definition: alt_clock_manager.h:415
Definition: alt_clock_manager.h:299
enum ALT_CLK_PLL_LOCK_STATUS_e ALT_CLK_PLL_LOCK_STATUS_t