Difference between revisions of "HANcoder/STM32/Blocks/Output Compare Init"
From OpenMBD
(Created page with "{{HANcoder/block| info= Initializes the timer module to allow output compare functionality on the module's channels. |blockImage=OutputCompareInit.png |maskImage=Output...") |
|||
Line 1: | Line 1: | ||
{{HANcoder/block| | {{HANcoder/block| | ||
info= | info= | ||
− | |||
Initializes the timer module to allow output compare functionality on the module's channels. | Initializes the timer module to allow output compare functionality on the module's channels. | ||
− | |||
− | |||
− | |||
|blockImage=OutputCompareInit.png | |blockImage=OutputCompareInit.png | ||
− | |||
− | |||
|maskImage=OutputCompareInitMask.png | |maskImage=OutputCompareInitMask.png | ||
− | |||
− | |||
|TimerModule= Selects the timer module | |TimerModule= Selects the timer module | ||
|Frequency= frequency at which the 16-bit free running counter counts. | |Frequency= frequency at which the 16-bit free running counter counts. | ||
|EnableIRQOutput= Controls whether or not the IRQ output is available. | |EnableIRQOutput= Controls whether or not the IRQ output is available. | ||
+ | }} | ||
+ | == Outputs (outports) == | ||
+ | Function call (optional): This output is triggered when an overflow occurs [function call] | ||
+ | |||
+ | == Block parameters == | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! style="width:150px" | Parameter | ||
+ | ! Description | ||
+ | |- | ||
+ | | Timer module | ||
+ | | Select the time module to use | ||
+ | |- | ||
+ | | Frequency | ||
+ | | Set the frequency of the timer module | ||
+ | |- | ||
+ | | Enable IRQ output | ||
+ | | When this checkbox is ticked an extra output appeared | ||
+ | |} | ||
+ | |||
+ | == 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/Reset_Free_Running_Counter| Reset Free Running Counter]] {{!}} [[HANcoder/Schedule_Compare_Event| Schedule Compare Event]] | ||
}} | }} |
Revision as of 14:11, 28 April 2017
Supported Targets: Olimexino, E407, P405
Contents
General information about Output Compare Init
Initializes the timer module to allow output compare functionality on the module's channels.
Block
Mask
Outputs (outports)
Function call (optional): This output is triggered when an overflow occurs [function call]
Block parameters
Parameter | Description |
---|---|
Timer module | Select the time module to use |
Frequency | Set the frequency of the timer module |
Enable IRQ output | When this checkbox is ticked an extra output appeared |
Examples
See Also
Compare Event IRQ | Get Free Running Counter | Get Last Event Counter | Reset Free Running Counter | Schedule Compare Event