Schedule Compare Event

From OpenMBD
< HANcoder‎ | STM32‎ | Blocks
Revision as of 14:15, 21 March 2017 by Roel (talk | contribs) (Created page with "{{HANcoder/block| info= Schedules the next output compare event. The first input determines the value of the timer module's 16-bit free running counter when the event should t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Supported Targets: Olimexino, E407, P405

General information about Schedule Compare Event

Schedules the next output compare event. The first input determines the value of the timer module's 16-bit free running counter when the event should trigger. The second input determines the action that should be taken on the timer channel's pin.


Inport

Value of the timer module's 16-bit free running counter at which the event should trigger.

Action

Action to take on the channel's pin when the event triggers:

0: set output pin to logic low.

1: set output pin to logic high.

2: invert logic state of the outpin pin.

3: do nothing to the output pin.

Block

ScheduleCompareEvent.png

Mask

ScheduleCompareEventMask.png