Init_MTIM
 
Component Init_MTIM for COLDFIREV1
Modulo Timer (MTIM)
Device Initialization
(Description of the component parameters.)
  • Device - Selection of the MTIM device module.
  • Settings - Common MTIM module settings.
  • Pins - Module pins/signals settings.
    • External clock source - External clock source pin. This item is influenced by the following properties: Clock source.
      The following items are available only if the group is enabled (the value is "Enabled"):
  • Interrupts - Interrupts settings of the module.
    • Settings only if CPU supports interrupts
      • Interrupt - Interrupt vector (for information only).
    • Overflow interrupt - Enable/disable MTIM overflow interrupt.
      This item modifies the TOIE bit in the MTIMxSC register.
    • Settings only if CPU supports interrupt priority.
      • Priority - Priority of the overflow interrupt.
    • Settings only if CPU supports interrupts
      • ISR name - Name of the interrupt service routine (ISR) invoked by this interrupt vector.
        The user code of the routine should handle all respective interrupt flags correctly.
  • Initialization - Initialization options of the module.
    • Counter Reset - Writing 1 to write-only TRST bit in the MTIMxSC register causes reset of counter register and TOF flag.
    • Enable MTIM module - Select yes/no to enable MTIM module.
      This item modifies the TSTP bit in the MTIMxSC register.