Struct zinc::hal::lpc17xx::timer::TimerConf [-]  [+] [src]

pub struct TimerConf {
    pub timer: TimerPeripheral,
    pub counter: u32,
    pub divisor: u8,
}

Configuration for timer.

Fields

timer

Peripheral to use.

counter

Number of clock ticks to increment the counter.

divisor

Clock divisor.