/* * Get the resulting clock rate from a PLL register value and the input * frequency. PLLs with this register layout can be found on i.MX1, * i.MX21, i.MX27 and i,MX31 * * mfi + mfn / (mfd + 1) * f = 2 * f_ref * -------------------- * pd + 1
*/
/* * On all i.MXs except i.MX1 and i.MX21 mfn is a 10bit * 2's complements number. * On i.MX27 the bit 9 is the sign bit.
*/ if (mfn_is_negative(pll, mfn)) { if (is_imx27_pllv1(pll))
mfn_abs = mfn & MFN_MASK; else
mfn_abs = BIT(MFN_BITS) - mfn;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.