www.pudn.com > SCI_1.0.rar > main.c, change:2011-09-22,size:695b


#include <hidef.h>      /* common defines and macros */ 
#include "derivative.h"      /* derivative-specific definitions */ 
#include"mc9s12xs128.h" 
 
 
#include"Init_SCI_.h" 
#include"Init_Clock_.h" 
//#include"SCI_.h" 
 
 
 
void main(void)  
{ 
  /* put your own code here */ 
   
  init_SCI0(); 
  Init_Clock(); 
  DDRB=0XFF; 
  /* 
  set_return(); 
  SCI0_TX_datas_sequence(ff,7); 
  set_return(); 
  SCI0_TX_bytes(table); 
  set_return(); 
  SCI0_TX_datas_n_sequence(ff,7); 
  */ 
  //SCI0_TX_datas(1357); 
 
 
	EnableInterrupts; 
 
  for(;;)  
  {  
       
   
   
   
    _FEED_COP(); /* feeds the dog */ 
  } /* loop forever */ 
  /* please make sure that you never leave main */ 
}