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

From OpenMBD
< HANcoder‎ | STM32‎ | Blocks
Jump to: navigation, search
(Created page with "{{HANcoder/block| info= This block reads the timer module's internal 16-bit free running counter value. |blockImage=GetFreeRunningCounter.png |maskImage=GetFreeRunningC...")
 
Line 3: Line 3:
 
This block reads the timer module's internal 16-bit free running counter value.
 
This block reads the timer module's internal 16-bit free running counter value.
  
 +
|blockImage=GetFreeRunningCounter.png
 +
|maskImage=GetFreeRunningCounterMask.png
 +
|TimerModule= Select Timer Module
 +
}}
  
 +
== Outputs (outports) ==
 +
.[uint16]
  
 +
== Block parameters ==
 +
{| class="wikitable"
 +
|-
 +
! style="width:150px" | 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
 +
|}
  
 +
== Examples ==
 +
[[HANcoder/Examples/??|??]]
  
|blockImage=GetFreeRunningCounter.png
+
{{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]]
 
 
|maskImage=GetFreeRunningCounterMask.png
 
 
 
|TimerModule= Select Timer Module
 
 
}}
 
}}

Revision as of 13:57, 28 April 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

Examples

??

See Also

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