Difference between revisions of "HANcoder/STM32/Blocks/Get Free Running Counter"

From OpenMBD
< HANcoder‎ | STM32‎ | Blocks
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
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_Last_Event_Counter| Get Last Event 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_Last_Event_Counter| Get Last Event 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 Free Running Counter

This block reads the timer module's internal 16-bit free running counter value.

Block

GetFreeRunningCounter.png

Mask

GetFreeRunningCounterMask.png

Outputs (outports)

.[uint16]

Block parameters

Parameter Description
Timer module Select the timer module 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 Last Event Counter | Output Compare Init | Reset Free Running Counter | Schedule Compare Event