TimerInt
 
Component TimerInt
Periodic interrupt
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.
  • Periodic interrupt source - Periodic interrupt source: compare register, reload register, free running counter, time base counter function, RTI or component RTIshared (the pull-down menu offers timer types).
    Compare and reload registers generate interrupt on matching their value with the counter, free-running generates interrupt on the counter overflow. RTI and time base module generate a periodic interrupt by dividing the crystal or system clock frequency.
  • Counter - Name of the counter used by this component (for information only).
  • Interrupt service/event - Component requires the interrupt service for the timer function. 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.
  • Interrupt period - Period/frequency of the interrupts generation. 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 (...).
  • Same period in modes - Period/frequency of the generated interrupts 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.
  • 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.