board: enable timers

This commit is contained in:
Astro 2019-08-29 21:40:25 +02:00
parent 1329c1567c
commit 8b20118198

View File

@ -104,6 +104,14 @@ pub fn init() {
.pmc7().bits(3)
});
// Timers
sysctl.rcgctimer.write(|w| w
.r2().set_bit()
.r3().set_bit()
.r4().set_bit()
.r5().set_bit()
);
// Manual: 13.4.5 PWM Mode
macro_rules! setup_timer_pwm {
($T: tt) => (