pll 2.0.0.0
pll.h File Reference

This file contains API for PLL Click driver. More...

#include "drv_digital_out.h"
#include "drv_digital_in.h"

Go to the source code of this file.

Data Structures

struct  pll_t
 Click ctx object definition. More...
 
struct  pll_cfg_t
 Click configuration structure definition. More...
 

Macros

#define PLL_MAP_MIKROBUS(cfg, mikrobus)
 
#define PLL_OK   0
 
#define PLL_ERROR   -1
 
#define PLL_CLOCK_ENABLE   0x01
 
#define PLL_CLOCK_DISABLE   0x00
 

Functions

void pll_cfg_setup (pll_cfg_t *cfg)
 Config Object Initialization function.
 
err_t pll_init (pll_t *ctx, pll_cfg_t *cfg)
 Initialization function.
 
void pll_set_clock_output (pll_t *ctx, uint8_t mode)
 Functions for settings clock output.
 
void pll_set_pll_4x (pll_t *ctx)
 Functions for settings PLL x4.
 
void pll_set_pll_5x (pll_t *ctx)
 Functions for settings PLL x5.
 
void pll_set_pll_6x (pll_t *ctx)
 Functions for settings PLL x6.
 
void pll_set_pll_8x (pll_t *ctx)
 Functions for settings PLL x6.
 
void pll_set_pll_2x (pll_t *ctx)
 Functions for settings PLL x2.
 
void pll_set_pll_3x (pll_t *ctx)
 Functions for settings PLL x3.
 
void pll_set_pll_3_125x (pll_t *ctx)
 Functions for settings PLL clock x3.125.
 
void pll_set_pll_6_25x (pll_t *ctx)
 Functions for settings PLL clock x6.25.
 
void pll_set_pll_5_3125x (pll_t *ctx)
 Functions for settings PLL clock x5.3125.
 

Detailed Description

This file contains API for PLL Click driver.