Initialize GPT according to flags below. zunoGPTInit(flags) flags Combination of flags from the list below. Can be ORed.
  • ZUNO_GPT_SCALE1024 — specify tick frequency as 32 MHz/1024 = 31.25 kHz (tick is 32 μs), otherwise default 32 MHz/8 = 4 MHz (tick is 0.25 μs)is used
  • ZUNO_GPT_IMWRITE — write new value immediately instead of waiting for timer to reach zero
  • ZUNO_GPT_CYCLIC — reload the timer on reaching zero, otherwise timer triggers only once