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

正文內容

電子萬年歷的設計畢業(yè)論文一稿-資料下載頁

2025-06-27 15:20本頁面
  

【正文】 e,0x00)。 //寫入允許Write1302(0x80,Secondamp。0x7f)。Write1302(0x8E,0x80)。 //禁止寫入done=0。 while(out==0)。while(wireless_1==1)。 }}////////////////////////////////////////////////////////////////////////////////////////////////////////////void Upkey()//升序按鍵{ Up=1。if(Up==0||wireless_2==1) { mdelay(8)。 switch(count) {case 1: temp=Read1302(DS1302_SECOND)。 //讀取秒數 temp=temp+1。 //秒數加 1 up_flag=1。 //數據調整后更新標志 if((tempamp。0x7f)0x59) //超過 59 秒,清零 temp=0。 break。 case 2: temp=Read1302(DS1302_MINUTE)。 //讀取分數temp=temp+1。 //分數加 1 up_flag=1。 if(temp0x59) //超過 59 分,清零 temp=0。 break。 case 3: temp=Read1302(DS1302_HOUR)。 //讀取小時數 temp=temp+1。 //小時數加 1 up_flag=1。 if(temp0x23) //超過 23 小時,清零 temp=0。 break。 case 4: temp=Read1302(DS1302_WEEK)。 //讀取星期數temp=temp+1。 //星期數加 1 up_flag=1。 if(temp0x7) temp=1。 break。 case 5: temp=Read1302(DS1302_DAY)。 //讀取日數 temp=temp+1。 //日數加 1 up_flag=1。 if(temp0x31) temp=1。 break。 case 6: temp=Read1302(DS1302_MONTH)。 //讀取月數 temp=temp+1。 //月數加 1 up_flag=1。 if(temp0x12) temp=1。 break。 case 7: temp=Read1302(DS1302_YEAR)。 //讀取年數 temp=temp+1。 //年數加 1 up_flag=1。 if(temp0x85) temp=0。 break。 default:break。 } while(Up==0)。 while(wireless_2==1)。 }}////////////////////////////////////////////////////////////////////////////////////////////////////////////void Downkey()//降序按鍵{ Down=1。 if(Down==0||wireless_3==1) { mdelay(8)。 switch(count) {case 1: temp=Read1302(DS1302_SECOND)。 //讀取秒數temp=temp1。 //秒數減 1 down_flag=1。 //數據調整后更新標志 if(temp==0x7f) //小于 0 秒,返回 59 秒 temp=0x59。 break。 case 2: temp=Read1302(DS1302_MINUTE)。 //讀取分數temp=temp1。 //分數減 1 down_flag=1。 if(temp==1) temp=0x59。 //小于 0 秒,返回 59秒 break。 case 3: temp=Read1302(DS1302_HOUR)。 //讀取小時數temp=temp1。 //小時數減 1 down_flag=1。 if(temp==1) temp=0x23。 break。 case 4: temp=Read1302(DS1302_WEEK)。 //讀取星期數temp=temp1。 //星期數減 1 down_flag=1。 if(temp==0) temp=0x7。 break。 case 5: temp=Read1302(DS1302_DAY)。 //讀取日數 temp=temp1。 //日數減 1 down_flag=1。 if(temp==0) temp=31。 break。 case 6: temp=Read1302(DS1302_MONTH)。 //讀取月數 temp=temp1。 //月數減 1 down_flag=1。 if(temp==0) temp=12。 break。 case 7: temp=Read1302(DS1302_YEAR)。 //讀取年數 temp=temp1。 //年數減 1 down_flag=1。 if(temp==1) temp=0x85。 break。 default:break。 } while(Down==0)。 while(wireless_3==1)。 }}void Setkey()//模式選擇按鍵{Set=1。if(Set==0||wireless_4==1) { mdelay(8)。 count=count+1。 //Setkey 按一次,count 就加 1 done=1。 //進入調整模式 while(Set==0)。 while(wireless_4==1)。 }}void keydone()//按鍵功能執(zhí)行{ uchar Second。 if(flag==0) //關閉時鐘,停止計時 { Write1302(0x8e,0x00)。 //寫入允許 temp=Read1302(0x80)。 Write1302(0x80,temp|0x80)。 Write1302(0x8e,0x80)。 //禁止寫入 flag=1。 } Setkey()。 //掃描模式切換按鍵 switch(count) {case 1:do //count=1,調整秒 { outkey()。 //掃描跳出按鈕 Upkey()。 //掃描加按鈕 Downkey()。 //掃描減按鈕 if(up_flag==1||down_flag==1) //數據更新,重新寫入新的數據 { Write1302(0x8e,0x00)。 //寫入允許 Write1302(0x80,temp|0x80)。 //寫入新的秒數 Write1302(0x8e,0x80)。 //禁止寫入 up_flag=0。 down_flag=0。 } hide_sec++。 //位閃計數 if(hide_sec3) hide_sec=0。 show_time()。 //液晶顯示數據 }while(count==2)。break。 case 2:do //count=2,調整分 { hide_sec=0。 outkey()。 Upkey()。 Downkey()。 if(temp0x60) temp=0。 if(up_flag==1||down_flag==1) { Write1302(0x8e,0x00)。 //寫入允許 Write1302(0x82,temp)。 //寫入新的分數 Write1302(0x8e,0x80)。 //禁止寫入 up_flag=0。 down_flag=0。 } hide_min++。 if(hide_min3) hide_min=0。 show_time()。 }while(count==3)。break。 case 3:do //count=3,調整小時 { hide_min=0。 outkey()。 Upkey()。 Downkey()。 if(up_flag==1||down_flag==1) { Write1302(0x8e,0x00)。 //寫入允許 Write1302(0x84,temp)。 //寫入新的小時數 Write1302(0x8e,0x80)。 //禁止寫入 up_flag=0。 down_flag=0。 } hide_hour++。 if(hide_hour3) hide_hour=0。 show_time()。 }while(count==4)。break。 case 4:do //count=4,調整星期 { hide_hour=0。 outkey()。 Upkey()。 Downkey()。 if(up_flag==1||down_flag==1) { Write1302(0x8e,0x00)。 //寫入允許 Write1302(0x8a,temp)。 //寫入新的星期數 Write1302(0x8e,0x80)。 //禁止寫入 up_flag=0。 down_flag=0。 } hide_week++。 if(hide_week3) hide_week=0。 show_time()。 }w
點擊復制文檔內容
環(huán)評公示相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1