MC9S12XD256_80
 
 
 CPU Bean MC9S12XD256_80
 
Freescale HC9S12X family: MC9S12XD256 in 80 pinout

Events are functions called when some important event occurred and its processing starts.

Events:

  • EventModule - Name of the user module (without extension), where the events from this bean are placed.
  • OnReset - This software event is called after reset.

      ANSIC prototype: void OnReset(void)

  • OnClockMonitorReset - This event is called immediately after fetching of the Clock monitor reset vector, i.e. Processor Expert initialization and startup initialization have not been done before (see generated code).
    Propery 'Clock monitor' in the 'Clock settings' must be set to 'Force reset' value in order to generate reset by the clock monitor.

      ANSIC prototype: void OnClockMonitorReset(void)

  • OnIllegalOpcode - This event is called after unimplemented instruction execution. Enabling this event also allocate Unimplemented instruction interrupt vector (see CPU interrupts on Properties tab of the Cpu bean).

      ANSIC prototype: void OnIllegalOpcode(void)

  • OnSwINT - This software event is called after software reset. Enabling this event also allocate SWI interrupt vector (see CPU interrupts on Properties tab of the Cpu bean).

      ANSIC prototype: void OnSwINT(void)

  • OnSpuriousInterrupt - This event is called after spurious interrupt has been detected. Enabling this event also allocate Spurious interrupt vector (see CPU interrupts on Properties tab of the Cpu bean).

      ANSIC prototype: void OnSpuriousInterrupt(void)

  • OnLvdStatusChanged - This event is triggered by any change of the LVD status bit. Enabling this event also allocate LVI interrupt vector (see CPU interrupts on Properties tab of the Cpu bean).

      ANSIC prototype: void OnLvdStatusChanged(void)

  • OnSCMChanged - This event is triggered by any change of the SCM status bit of the Clock monitor module.

      ANSIC prototype: void OnSCMChanged(void)

  • OnPllLockStatusChanged - This event is triggered by any change of the LOCK status bit. Enabling this event also allocate PLL interrupt vector (see CPU interrupts on Properties tab of the Cpu bean). PLL must be enabled to enable this event.

      ANSIC prototype: void OnPllLockStatusChanged(void)


For each generated event it is possible to set:
  • Procedure Name - name of procedure (written by user) that handles the event.



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