Difference between revisions of "HANcoder/STM32/Blocks/Get Last Event Counter"

From OpenMBD
< HANcoder‎ | STM32‎ | Blocks
Jump to: navigation, search
m (Jasonvankolfschoten moved page HANcoder/Get Last Event Counter to HANcoder/STM32/Blocks/Get Last Event Counter without leaving a redirect)
 
Line 23: Line 23:
 
| 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
 
| 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
 
|}
 
|}
 
== Examples ==
 
[[HANcoder/Examples/??|??]]
 
  
 
{{HANcoder/BlockFooter|
 
{{HANcoder/BlockFooter|
|SeeAlso = [[HANcoder/Compare_Event_IRQ| Compare Event IRQ]] {{!}} [[HANcoder/Get_Free_Running_Counter| Get Free Running Counter]] {{!}} [[HANcoder/Output_Compare_Init| Output Compare Init]] {{!}} [[HANcoder/Reset_Free_Running_Counter| Reset Free Running Counter]] {{!}} [[HANcoder/Schedule_Compare_Event| Schedule Compare Event]]
+
|SeeAlso = [[HANcoder/STM32/Blocks/Compare_Event_IRQ| Compare Event IRQ]] {{!}} [[HANcoder/STM32/Blocks/Get_Free_Running_Counter| Get Free Running Counter]] {{!}} [[HANcoder/STM32/Blocks/Output_Compare_Init| Output Compare Init]] {{!}} [[HANcoder/STM32/Blocks/Reset_Free_Running_Counter| Reset Free Running Counter]] {{!}} [[HANcoder/STM32/Blocks/Schedule_Compare_Event| Schedule Compare Event]]
 
}}
 
}}

Latest revision as of 10:27, 5 May 2017

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.

Block

GetLastEventCounter.png

Mask

GetLastEventCounterMask.png

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