Get Last Event Counter

From OpenMBD
< HANcoder‎ | STM32‎ | Blocks
Jump to: navigation, search
Supported Targets: Olimexino, E407, P405

General information about Get Last Event Counter

This block reads the timer channel's timestamp of the 16-bit free running counter value at which the last output compare event occurred.





Outputs (outports)

Counter value of last event.[uint16]

Block parameters

Parameter Description
Timer input pin Select the timer pin to use
Sample time The block execution time, the amount of time between consecutive executions of the block. 0.1 means the the block will be executed at 10 Hz

See Also

Compare Event IRQ | Get Free Running Counter | Output Compare Init | Reset Free Running Counter | Schedule Compare Event