Commit 56736804 authored by Sergei Poselenov's avatar Sergei Poselenov

RT #83999. Enable Port E for Port F (K70 Errata #5234).

parent 28f70db4
......@@ -966,6 +966,10 @@ int kinetis_periph_enable(kinetis_clock_gate_t gate, int enable)
scgc = &KINETIS_SIM->scgc[KINETIS_CG_REG(gate)];
mask = 1 << KINETIS_CG_IDX(gate);
if (gate == KINETIS_CG_PORTF && enable) { /* K70 Errata #5234 */
mask |= (1 << KINETIS_CG_IDX(KINETIS_CG_PORTE));
}
if (enable)
*scgc |= mask;
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment