Timer Input Get
Supported Targets: Olimexino, E407, P405
General information about Timer Input Get
Reads the information from a timer input pin.
Outport
Frequency
The last measured frequency on the pin in Hz.
Duty cycle
The last measured duty cycle on the pin as a % with a scaling factor of 100 for improved resolution. So 5000 = 50% for example.
Edge count
The number of edges that were detected on the input pin since startup.
Edge timestamp
A 32-bit timestamp value of the last edge. The timestamp is derived from an internal 32-bit free running counter that runs at 24 Mhz.
0 Hz detected
A boolean flag that will go high if no edges were detected for the time specified as the zero Hz detection time. Upon the next edge the flag will go low again.