freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內容

二相步進電機控制系統(tǒng)的設計-資料下載頁

2025-07-30 00:22本頁面
  

【正文】 p_isr:10void timer2_p_isr(void){ //pare occured TCNT2=OCR2 TCNT2 = 0x64。 //setup OCR2 = 0x9C。 timer2++。 if(timer2==100) { timer2=0。 ++。 if(==99) {=0。 ++。 if(==99) =0。} } }//call this routine to initialize all peripheralsvoid init_devices(void){ //stop errant interrupts until set up CLI()。 //disable all interrupts XDIV = 0x00。 //xtal divider XMCRA = 0x00。 //external memory port_init()。 timer0_init()。 timer2_init()。 MCUCR = 0x00。 EICRA = 0x00。 //extended ext ints EICRB = 0x00。 //extended ext ints EIMSK = 0x00。 TIMSK = 0x82。 //timer interrupt sources ETIMSK = 0x00。 //extended timer interrupt sources SEI()。 //reenable interrupts //all peripherals are now initialized}void display(void){ start()。 PORTF=scan[k]。 switch(k) { case 0 : PORTD=seven_seg[%10]。 break。 case 1 : PORTD=seven_seg[]。 break。 case 2 : PORTD=seven_seg[%10]。 break。 case 3 : PORTD=seven_seg[]。 break。 } k++。 if(k==4) k=0。 delay()。 key=PING。 if(key==0x00) TCCR2 = 0x00。}void delay() /*延時子函數(shù)*/ { int i,j。 for(i=0。i20。i++) for(j=0。j20。j++)。}unsigned char j。start(){key=PING。if(key==0x01){j=PINE。if(j==0x08){flag=0。}else if(j==0x00) { flag=3。}{ if(j==0x02| j==0x0A) { TCCR0 = 0x0E。pai=1。tt=4。TCCR2 = 0x04。=00,=00。}else if(j==0x01| j==0x09) {TCCR0 = 0x0E。pai=0。tt=4。TCCR2 = 0x04。=00,=00。} else if(j==0x04 | j==0x0c) {TCCR0 = 0x0E。pai=2。tt=8。TCCR2 = 0x04。=00,=00。}} } else PORTB=0x80。 }void main(void){ =00,=00。init_devices()。while(1){display()。}}
點擊復制文檔內容
環(huán)評公示相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1