Difference between revisions of "HANcoder/STM32/Blocks/Reset Free Running Counter"
From OpenMBD
(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...") |
|||
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. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|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 time module to use | ||
+ | |} | ||
− | | | + | == Examples == |
+ | [[HANcoder/Examples/??|??]] | ||
+ | {{HANcoder/BlockFooter| | ||
+ | |SeeAlso = [[HANcoder/Compare_Event_IRQ| Compare Event IRQ]] {{!}} [[HANcoder/Get_Free_Running_Counter| Get Free Running Counter]] {{!}} [[HANcoder/Get_Last_Event_Counter| Get Last Event Counter]] {{!}} [[HANcoder/Output_Compare_Init| Output Compare Init]] {{!}} [[HANcoder/Schedule_Compare_Event| Schedule Compare Event]] | ||
}} | }} |
Revision as of 14:17, 28 April 2017
Supported Targets: Olimexino, E407, P405
Contents
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
Mask
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 time module to use |
Examples
See Also
Compare Event IRQ | Get Free Running Counter | Get Last Event Counter | Output Compare Init | Schedule Compare Event