TimerOut
 
Component TimerOut
Flip-flop output 1:1
Component Level: High
Properties:
(Properties are parameters of the component. Please see the Embedded Components page for more information.)
  • Component name - Name of the component.
  • Compare - Compare or reload device used by this component (it also determines the timer because each compare belongs to a unique timer).
  • Output pin - Pin on which the output signal 1:1 is generated.
  • Output pin signal - Signal name of output pin.
  • Counter - Name of the counter used by this component (for information only).
  • Interrupt service/event - Support of interrupt service. Events OnFalling, OnRising and OnInterrupt are available only if Interrupt service is enabled. If a counter of timer can't be reset this property may need to be enabled for correct TimerOut component functionality! Also if the component shares counter with another component a interrupt service will be required for correct TimerOut component functionality! If this property is set to "Enabled", the component functionality depends on the interrupt service and will not operate if the CPU interrupts are disabled. For details please refer to chapter "interrupt service in the component's generated code".
    The following items are available only if the group is enabled (the value is "Enabled"):
    • Interrupt - Interrupt vector invoked from the timer (for information only).
    • Interrupt priority - Priority of the interrupt associated with the timer.
    • OnInterrupt event - This item determines when event OnInterrupt should occur.

      There are 3 options:
      • on change: Event occurs at every edge on the output signal, e.g. twice in a period.
      • on period end: Event occurs at the end of the period.
      • in mid-period: Event occurs in the middle of the period, e.g. after the first pulse of the period.

  • Pulse width - Pulse width (period of signal change). It is necessary to specify both a value and a unit (see Timing Setting Syntax). The setting can be made with the help of the Timing dialog box that gets open when clicking on button (...).
  • Settings supported for HC08 derivatives only.
    • Output compare - If "Buffered" then other channel of the timer is used for buffering and the problems with incorrect pulse width change will not occur.
      The following items are available only if the group is enabled (the value is "Buffered"):
  • Same width in modes - Pulse width is exactly the same in all speed modes (high, low, slow). If you select 'Yes' the timing will be kept with a tolerance of one tick. If you select 'No' timing will be kept with setting precision only.
  • Initial polarity - Initial polarity of the output signal: "O" = "Low", "1" = "High". It is possible to change it in runtime using methods: ClrValue and SetValue .
  • Component uses entire timer - If this property is set to yes, it prevents the used timer peripheral from being shared by other components. If the timer is not shared, the component can use every subsystem of the timer, more actions may be done by the peripheral instead of driver code, e.g. generated code can be more efficient.
  • Initialization - Initial settings (after power-on or reset).
  • CPU clock/speed selection - Settings for the CPU speed modes: if the component is supported or not.
    For details about speed modes please refer to page Speed Modes Support.