m4 compiles, pwmout implemented but TC0 (A1) doesn't run
This commit is contained in:
parent
0398f308fa
commit
0397202288
@ -198,6 +198,8 @@ void turn_on_clocks(const pin_timer_t* timer) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FIXME(tannewt): TC4-TC7 can only have 100mhz inputs.
|
||||||
|
|
||||||
hri_gclk_write_PCHCTRL_reg(GCLK, gclk_id,
|
hri_gclk_write_PCHCTRL_reg(GCLK, gclk_id,
|
||||||
GCLK_PCHCTRL_GEN_GCLK0_Val | (1 << GCLK_PCHCTRL_CHEN_Pos));
|
GCLK_PCHCTRL_GEN_GCLK0_Val | (1 << GCLK_PCHCTRL_CHEN_Pos));
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user