飞思卡尔的历程中有一个函数是pll_int(****),如下所示,在这个函数中有一个参数CLK0_TYPE,他选择决定Crystal or canned oscillator clock input ,请问Crystal和Canned oscillator区别在哪里。其次有源晶振属于哪一种呢?
mcg_clk_hz = pll_init(OSCINIT, /* Initialize the oscillator circuit */
OSC_0, /* Use CLKIN0 as the input clock */
CLK0_FREQ_HZ, /* CLKIN0 frequency */
LOW_POWER, /* Set the oscillator for low power mode */
CLK0_TYPE, /* Crystal or canned oscillator clock input */
PLL_0, /* PLL to initialize, in this case PLL0 */
PLL0_PRDIV, /* PLL predivider value */
PLL0_VDIV, /* PLL multiplier */
MCGOUT); /* Use the output from this PLL as the MCGOUT */
Crystal or canned oscillator clock input |