pll  2.0.0.0
Functions
Public function

Functions

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

Detailed Description

Function Documentation

◆ pll_cfg_setup()

void pll_cfg_setup ( pll_cfg_t cfg)

Config Object Initialization function.

Parameters
cfgClick configuration structure.

This function initializes click configuration structure to init state.

Note
All used pins will be set to unconnected state.

◆ pll_init()

PLL_RETVAL pll_init ( pll_t ctx,
pll_cfg_t cfg 
)

Initialization function.

Parameters
pllClick object.
cfgClick configuration structure.

This function initializes all necessary pins and peripherals used for this click.

◆ pll_set_clock_output()

void pll_set_clock_output ( pll_t ctx,
uint8_t  mode 
)

Functions for settings clock output.

Parameters
ctxClick object.
modeMode which be set.

This function settings clock output.

Note
Options: Clock Enable, Clock Disable

◆ pll_set_pll_3_125x()

void pll_set_pll_3_125x ( pll_t ctx)

Functions for settings PLL clock x3.125.

Parameters
ctxClick object.

This function settings PLL x3.125.

Note
If you use PLL x3.125, set S1 ( AN pin ) as INPUT and S0( RST pin ) as OUTPUT.

◆ pll_set_pll_3x()

void pll_set_pll_3x ( pll_t ctx)

Functions for settings PLL x3.

Parameters
ctxClick object.

This function settings PLL x3.

Note
If you use PLL x3, set S0 ( RST pin ) as INPUT and S1 ( AN pin ) as OUTPUT.

◆ pll_set_pll_4x()

void pll_set_pll_4x ( pll_t ctx)

Functions for settings PLL x4.

Parameters
ctxClick object.

This function settings PLL x4.

Note
If you use PLL x4, set S0 (RST pin) and S1 (AN pin) as OUTPUT.

◆ pll_set_pll_5_3125x()

void pll_set_pll_5_3125x ( pll_t ctx)

Functions for settings PLL clock x5.3125.

Parameters
ctxClick object.

This function settings PLL x5.3125.

Note
If you use PLL x5.3125, set S0 ( RST pin ) as INPUT and S1 ( AN pin ) as OUTPUT.

◆ pll_set_pll_5x()

void pll_set_pll_5x ( pll_t ctx)

Functions for settings PLL x5.

Parameters
ctxClick object.

This function settings PLL x5.

Note
If you use PLL x5, set S0 (RST pin) and S1 (AN pin) as OUTPUT.

◆ pll_set_pll_6_25x()

void pll_set_pll_6_25x ( pll_t ctx)

Functions for settings PLL clock x6.25.

Parameters
ctxClick object.

This function settings PLL x6.25.

Note
If you use PLL x6.25, set S1 ( AN pin ) as INPUT and S0( RST pin ) as OUTPUT.

◆ pll_set_pll_6x()

void pll_set_pll_6x ( pll_t ctx)

Functions for settings PLL x6.

Parameters
ctxClick object.

This function settings PLL x6.

Note
If you use PLL x6, set S0 (RST pin) and S1 (AN pin) as OUTPUT.

◆ pll_set_pll_8x()

void pll_set_pll_8x ( pll_t ctx)

Functions for settings PLL x6.

Parameters
ctxClick object.

This function settings PLL x6.

Note
If you use PLL x8, set S0 (RST pin) and S1 (AN pin) as OUTPUT.