Video library for GR-PEACH

Dependents:   Trace_Program2 GR-PEACH_Camera_in_barcode GR-PEACH_LCD_sample GR-PEACH_LCD_4_3inch_sample ... more

Embed: (wiki syntax)

« Back to documentation index

lvds_pll_main.c File Reference

lvds_pll_main.c File Reference

lvds pll setting value More...

Go to the source code of this file.

Functions

static int compare_nodiv (pll_parameter_t *param, double fout)
static int compare_div3 (pll_parameter_t *param, double fout)
static void SeekValue (pll_parameter_t *param)
int32_t lvds_pll_calc (const double InClock, const double OuClock, const uint32_t Lvds, pll_parameter_t *result)
 PLL value Calculation function.

Detailed Description

lvds pll setting value

Version:
1.00
Rev:
199
Date:
2014-05-23 16:33:52 +0900#

Definition in file lvds_pll_main.c.


Function Documentation

static int compare_div3 ( pll_parameter_t *  param,
double  fout 
) [static]
Parameters:
[in,out]
[in]
Return values:
int

Definition at line 117 of file lvds_pll_main.c.

static int compare_nodiv ( pll_parameter_t *  param,
double  fout 
) [static]
Parameters:
[in,out]
[in]
Return values:
int

Definition at line 90 of file lvds_pll_main.c.

int32_t lvds_pll_calc ( const double  InClock,
const double  OuClock,
const uint32_t  Lvds,
pll_parameter_t *  result 
)

PLL value Calculation function.

Parameters:
[in]InClock: Input clock frequency [MHz]
[in]OuClock: Output clock frequency [MHz]
[in]Lvds: The LVDS output interface is used (=1) or not (=0)
[out]result: pll_parameter_t
Return values:
error(-1)

Definition at line 208 of file lvds_pll_main.c.

static void SeekValue ( pll_parameter_t *  param ) [static]
Parameters:
[out]
Return values:
None

Definition at line 138 of file lvds_pll_main.c.