Init_API
 
 
 Bean Init_API for HCS12X
 
Autonomous Periodic Interrupt (API)

Parameters of the bean.

Properties:
  • Bean name - Name of the bean.
  • Device - Selection of the API device module.
  • Settings - Common RTI module settings.
    • Clock settings - Clock/timing settings of the module.
      • Clock select - Select of the API clock source.
        This item modifies the APICLK bit in the VREGAPICL register.
      • Period rate - Select of the API period rate .
        This item modifies the VREGAPIR register.
      • Prescaler - Clock source delay (for information only).
        This item is influenced by the following properties: Rate register value, Clock Select.
      • Period - Clock source delay (for information only).
        This item is influenced by the following properties: Rate register value, Clock Select.
    • Trim settings - Trim settings of the module. It influences period only when internall RC oscilator is selected as a clock source.
      • Period increase - API period increase. It influences period only when internall RC oscilator is selected as a clock source.
        This item modifies the APITR5 bit in the VREGAPITR register.
      • Period decrease value - API period decrease. It influences period only when internall RC oscilator is selected as a clock source.
        This item modifies the APITR0 bit to the APITR4 bit in the VREGAPITR register.
  • Interrupts - Interrupts settings of the module.
    • Interrupt - Interrupt vector (for information only).
    • API Interrupt - Enable/disable API interrupt.
      This item modifies the APIE bit in the VREGAPICL register.
    • Priority - Priority of API interrupt.
    • 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.
    • Call Init method - The Init method of the bean 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 modifies the APIFE bit in the VREGAPICL register.



Processor ExpertTM and Embedded BeansTM are registered trademarks of UNIS, Ltd.
©1997-2005, UNIS, Ltd.