AnsweredAssumed Answered

CODE analysis

Question asked by amit pujar on Aug 30, 2011
Latest reply on Aug 31, 2011 by pgo

 HI ... i have tryed to analysed  code of usbdm V4.6 for jm60 but i am not able to understand some of them please help me in this the codes sentance which i have not understood are  #pragma DATA_SEG DEFAULT

 

 

#if (DEBUG&RESET_DEBUG)---------------------------------------------------------not understood
   DEBUG_PIN   = 1;
   DEBUG_PIN   = 0;
#endif---------------------------------------------------------not understood

   if (RESET_IN==0)      // RESET failed to rise
      return(BDM_RC_RESET_TIMEOUT_RISE);

   CLEAR_RESET_SENSE_FLAG(); // Clear RESET IC Event
   ENABLE_RESET_SENSE_INT(); // Enable RESET IC interrupts

   return(BDM_RC_OK);
}

#endif //(HW_CAPABILITY&CAP_RST_IO)---------------------------------------------------------not understood

 

 


#if (DEBUG&SYNC_DEBUG))---------------------------------------------------------not understood
   DEBUG_PIN   = 1;
   DEBUG_PIN   = 0;
#end)---------------------------------------------------------not understood

 

 

 

 

#pragma MESSAGE DEFAULT C4003

 

 

Outcomes