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

From OpenMBD
< HANcoder‎ | STM32‎ | Blocks
Jump to: navigation, search
(Created page with "{{HANcoder/block| info= This block resets the value of the timer module's 16-bit free running counter back to 0. '''Triggerport''' Connect the port to a trigger source to e...")
 
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
info=
 
info=
 
This block resets the value of the timer module's 16-bit free running counter back to 0.
 
This block resets the value of the timer module's 16-bit free running counter back to 0.
 
 
'''Triggerport'''
 
 
Connect the port to a trigger source to execute the block only when necessary.
 
 
  
 
|blockImage= ResetFreeRunningCounter.png
 
|blockImage= ResetFreeRunningCounter.png
 
 
|maskImage= ResetFreeRunningCounterMask.png
 
|maskImage= ResetFreeRunningCounterMask.png
 +
}}
 +
== Inputs (inports) ==
 +
Trigger input, when the value of this signal changes from 0 to 1 the block will be executed and the free running counter will be reset to 0.
  
 +
== Block parameters ==
 +
{| class="wikitable"
 +
|-
 +
! style="width:150px" | Parameter
 +
! Description
 +
|-
 +
| Timer module
 +
| Select the timer module of which the counter should be reset
 +
|}
  
|TimerModule= Select Timer module
+
{{HANcoder/BlockFooter|
 
+
|SeeAlso = [[HANcoder/STM32/Blocks/Compare_Event_IRQ| Compare Event IRQ]] {{!}} [[HANcoder/STM32/Blocks/Get_Free_Running_Counter| Get Free Running Counter]] {{!}} [[HANcoder/STM32/Blocks/Get_Last_Event_Counter| Get Last Event Counter]] {{!}} [[HANcoder/STM32/Blocks/Output_Compare_Init| Output Compare Init]] {{!}} [[HANcoder/STM32/Blocks/Schedule_Compare_Event| Schedule Compare Event]]
 
}}
 
}}

Latest revision as of 10:28, 5 May 2017

Supported Targets: Olimexino, E407, P405

General information about Reset Free Running Counter

This block resets the value of the timer module's 16-bit free running counter back to 0.

Block

ResetFreeRunningCounter.png

Mask

ResetFreeRunningCounterMask.png

Inputs (inports)

Trigger input, when the value of this signal changes from 0 to 1 the block will be executed and the free running counter will be reset to 0.

Block parameters

Parameter Description
Timer module Select the timer module of which the counter should be reset

See Also

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