Init_RTI
 
Component Init_RTI for HCS08
Real Time Interrupt (RTI)
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 RTI device module.
  • Settings - Common RTI module settings.
    • Clock settings - Clock/timing settings of the module.
      • Clock select - Select clock source for the RTI.
        This item modifies the RTICLKS bit in the SRTISC register.
      • Prescaler - Prescaler select the delay for the RTI.
        This item modifies the RTIS[2:0] bits in the SRTISC register.
      • Period - Length of one RTI period (for information only).
        This item is influenced by the following properties: Prescaler, Clock Select.
  • Interrupts - Interrupts settings of the module.
    • Settings only if CPU supports interrupts
      • Interrupt - Interrupt vector (for information only).
    • Real-Time Interrupt - Enable/disable RTI interrupt.
      This item modifies the RTIE bit in the SRTISC register.
    • Settings only if CPU supports interrupt priority.
      • Priority - Priority of the real-time 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. The routine must be implemented in the user code, it is not generated by Processor Expert. 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 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 user's code
    • Enable module - Enable module (for information only).
      This item is influenced by the following properties: Prescaler.