Init_PPI
 
Component Init_PPI for HC08
Programmable Periodic Interrupt (PPI)
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 PPI device module.
  • Settings - Common PPI module settings.
    • Clock settings - Clock/timing settings of the module.
      • Clock source - The property sets clock source of module.
        This item modifies the PPI1CLKS[0:1] bits in the PPI1SCR register.
      • Prescaler - The property sets interrupt rate of module.
        This item modifies the PPI1IE[0:2] bits in the PPI1SCR register.
      • Interrupt timeout - Period of the interrupts generation (for information only).
        This item is influenced by the following properties: Clock source, Prescaler.
  • 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.
    • Interrupt - Interrupt vector (for information only).
    • Programmable periodic interrupt - Enable/disable PPI interrupt.
      This item modifies the PPI1MSK bit in the PPI1SCR register.
    • 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 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