#include "hpm_pllctl_drv.h"Macros | |
| #define | PLLCTL_INT_PLL_MAX_FBDIV (2400U) |
| #define | PLLCTL_INT_PLL_MIN_FBDIV (16U) |
| #define | PLLCTL_FRAC_PLL_MAX_FBDIV (240U) |
| #define | PLLCTL_FRAC_PLL_MIN_FBDIV (20U) |
| #define | PLLCTL_PLL_MAX_REFDIV (63U) |
| #define | PLLCTL_PLL_MIN_REFDIV (1U) |
| #define | PLLCTL_PLL_MAX_POSTDIV1 (7U) |
| #define | PLLCTL_PLL_MIN_POSTDIV1 (1U) |
| #define | PLLCTL_FRAC_PLL_MIN_REF (10000000U) |
| #define | PLLCTL_INT_PLL_MIN_REF (1000000U) |
Functions | |
| hpm_stat_t | pllctl_set_pll_work_mode (PLLCTL_Type *ptr, uint8_t pll, bool int_mode) |
| Set pll work mode. More... | |
| hpm_stat_t | pllctl_set_refdiv (PLLCTL_Type *ptr, uint8_t pll, uint8_t div) |
| Set refdiv. More... | |
| hpm_stat_t | pllctl_init_int_pll_with_freq (PLLCTL_Type *ptr, uint8_t pll, uint32_t freq_in_hz) |
| Initialize PLL working at integer mode with specific frequency. More... | |
| hpm_stat_t | pllctl_init_frac_pll_with_freq (PLLCTL_Type *ptr, uint8_t pll, uint32_t freq_in_hz) |
| Initialize PLL working at franction mode with specific frequency. More... | |
| uint32_t | pllctl_get_pll_freq_in_hz (PLLCTL_Type *ptr, uint8_t pll) |
| Get frequency of target PLL. More... | |
| #define PLLCTL_FRAC_PLL_MAX_FBDIV (240U) |
| #define PLLCTL_FRAC_PLL_MIN_FBDIV (20U) |
| #define PLLCTL_FRAC_PLL_MIN_REF (10000000U) |
| #define PLLCTL_INT_PLL_MAX_FBDIV (2400U) |
| #define PLLCTL_INT_PLL_MIN_FBDIV (16U) |
| #define PLLCTL_INT_PLL_MIN_REF (1000000U) |
| #define PLLCTL_PLL_MAX_POSTDIV1 (7U) |
| #define PLLCTL_PLL_MAX_REFDIV (63U) |
| #define PLLCTL_PLL_MIN_POSTDIV1 (1U) |
| #define PLLCTL_PLL_MIN_REFDIV (1U) |