Difference between revisions of "HANcoder/STM32/Blocks/Output Compare Init"
From OpenMBD
(→Examples) |
|||
Line 28: | Line 28: | ||
|} | |} | ||
− | |||
− | |||
{{HANcoder/BlockFooter| | {{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/Reset_Free_Running_Counter| Reset Free Running Counter]] {{!}} [[HANcoder/STM32/Blocks/Schedule_Compare_Event| Schedule Compare Event]] | |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/Reset_Free_Running_Counter| Reset Free Running Counter]] {{!}} [[HANcoder/STM32/Blocks/Schedule_Compare_Event| Schedule Compare Event]] | ||
}} | }} |
Latest revision as of 10:28, 5 May 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 |
See Also
Compare Event IRQ | Get Free Running Counter | Get Last Event Counter | Reset Free Running Counter | Schedule Compare Event