|
|
|
CPU Component
MCF51JM128_64
Freescale ColdFireV1 family : MCF51JM128 in 64 pin LQFP package
Events:
(Events are call-back functions called when an important event occurrs.
Please see the Embedded Components page for more information.)
-
EventModule
- Name of the user module (without extension), where the events from this component are placed.
-
OnAddrRelatedEXP
- This event is called when one of the address related exceptions occurs. This event is automatically enabled when the Address related reset property is disabled and at least one of the Address related exceptions is enabled. Disabling this event also disables all the Address related exceptions.
ANSIC prototype: void OnAddrRelatedEXP(byte ExceptionType)
- ExceptionType:byte - This parameter specifies which exception caused this event. Possible values are:
- ACCESS_ERROR - Access Error Exception
- ADDRESS_ERROR - Address Error Exception
- RTE_FORMAT_ERROR - RTE Format Error Exception
-
OnInstrRelatedEXP
- This event is called when one of the instruction related exceptions occurs. This event is automatically enabled when the Instruction related reset property is disabled and at least one of the Instruction related exceptions is enabled. Disabling this event also disables all the Access related exceptions.
ANSIC prototype: void OnInstrRelatedEXP(byte ExceptionType)
- ExceptionType:byte - This parameter specifies which exception caused this event. Possible values are:
- ILLEGAL_INSTRUCTION - Illegal Instruction Exception
- UNIMPL_LINEA - Unimplemented Line-A Opcode Exception
- UNIMPL_LINEF - Unimplemented Line-F Opcode Exception
- PRIVILEDGE_VIOL - Privilege Violation Exception
-
OnTrapEXP
- This event is called when one of the trap exceptions occurs. This event is automatically enabled when at least one of the Trap exceptions is enabled. Disabling this event also disables all the Trap exceptions.
ANSIC prototype: void OnTrapEXP(byte ExceptionType)
- ExceptionType:byte - This parameter specifies which trap exception caused this event.
Possible values are:
- TRAP_0 - Trap exception #0
- TRAP_1 - Trap exception #1
- ...
- TRAP_15 - Trap exception #15
-
OnUnsupportedInstEXP
- This event is called when the unsupported instruction exception occurs. This event can be enabled only if the Unsupported Instruction property is enabled.
ANSIC prototype: void OnUnsupportedInstEXP(void)
-
OnSwINT
- This event is called when a software interrupt occurs. This event is automatically enabled when at least one of the Software Interrupts is enabled. Disabling this event also disables all the Software Interrupts.
ANSIC prototype: void OnSwINT(byte ExceptionType)
- ExceptionType:byte - This parameter specifies which trap exception caused this event.
Possible values are:
- SWI_1 - Level 1 Software Interrupt
- SWI_2 - Level 2 Software Interrupt
- ...
- SWI_7 - Level 7 Software Interrupt
-
OnReset
- This software event is called after a reset.
ANSIC prototype: void OnReset(byte Reason)
- Reason:byte - The content of the system reset status register.
-
OnLossOfLockINT
- This event is called when Loss of lock interrupt had occured. This event is enabled only if Loss of lock interrupt is enabled.
ANSIC prototype: void OnLossOfLockINT(void)
For each generated event it is possible to set:
- Procedure Name - name of procedure (written by user) that handles the event.
|