Timer group

This group contains all timer and counter peripherals.

"timer": {
"ms_tick": {
"peripheral" : "systick",
"mode" : "count overflows",
"frequency" : "1 kHz",
}
}

peripheral

defines which peripheral to use. peripherals can be:

systick (part of the ARM core)

timer1

timer2

…

type: String

default: systick

mode

defines the operation mode the timer/counte operates in. Possible modes are:

count overflows

type: enum

default: count overflows

frequency

The frequency defines the time between timer overflows. 1kHz means that the time between overflow events is 1/(1 kHz) = 1 ms.

type: string (Hz, kHz, MHz)

default: “1 kHz”