AnsweredAssumed Answered

How to save HCS12 interrupt state

Question asked by Anders Johansson on Dec 8, 2010
Latest reply on Dec 8, 2010 by kef

CW for HCS08 provides "intrinsics_hcs12.h".


It provides the "__isflag_int_enabled()" function returning TRUE if interrupts are enabled.

This is useful for pushing and popping interrupt status when a disable is needed

and you do not know if you were called by interrupt or not,

and need to restore proper interrupt enable status.


Is there a similar possibility in CW for HCS12?



Anders J