Init_MTIM
 
Component Init_MTIM for COLDFIREV1
Modulo Timer (MTIM)
Component Level: Peripheral Initialization
Properties:
(Properties are parameters of the component. Please see the Embedded Components page for more information.)
  • Component name - Name of the component.
  • Device - Selection of the MTIM device module.
  • Settings - Common MTIM module settings.
  • Pins - Module pins/signals settings.
  • 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.You can find external prototypes of the ISRs in the component module header file.
  • Initialization - Initialization options of the module.
    • Call Init method - The Init method of the component may be called after a power-on or reset (in initialization code) by PE.
      yes - The Init method is called by PE
      no - The Init method is not called by PE, it should be called in the user's code.
    • 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.