Difference between revisions of "HANcoder/STM32/Blocks/Get Free Running Counter"
From OpenMBD
(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...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
info= | info= | ||
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 | |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 | ||
+ | |} | ||
− | | | + | {{HANcoder/BlockFooter| |
+ | |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
Contents
General information about Get Free Running Counter
This block reads the timer module's internal 16-bit free running counter value.
Block
Mask
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