vinayak joshi

xIRQ

Discussion created by vinayak joshi on Apr 8, 2008
Latest reply on Apr 21, 2008 by MJW
hi...
 
                  While working on s12x series i came to know that for enabling xIRQ interrupt X bit in CCR should be enabled/disabled. i try to implement it but as soon as i get a pulse on xIRQ pin my preocessor stop running. it gives illigal BP pointer message. i just on/off one PORT pin.my  interrupt routine is like this
PORTE=0x00;
 
#pragma CODE_SEG __NEAR_SEG NON_BANKED
interrupt  5  void xIRQ_Ext_pulses(void)
 {
    PORTB_PB3=~PORTB_PB3;
   
 }
#pragma CODE_SEG DEFAULT 
 
plz tell me where am i rong? if yes how to enable it ??
 
thanks
vinay

Outcomes