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

正文內(nèi)容

基于msp430fg439的便攜式心電儀-資料下載頁

2025-01-18 14:56本頁面
  

【正文】 O_YL 25H,MY_CODE CALL CW_PR 。顯示錯(cuò)誤心率提示 JMP ZHJ112 ZHJ111 120,O_XL 0,O_YL 00H,MY_CODE CALL CW_PR 。清除錯(cuò)誤提示 ZHJ112 POINT_NO 。顯示點(diǎn)數(shù)+1 RET JIADA2 MOV R13,HEART_RATE 。顯示心率0 CALL DISPLAY_HEART_RATE 120,O_XL 0,O_YL 25H,MY_CODE CALL CW_PRRET//檢錯(cuò)和頁讀程序*unsigned char Assert Block(unsigned char a) //與記錄壞塊的表相對照的子程序{ unsigned char i=0。 while( i!=invalidblockbound+1) //invalid block bound是無效塊的總數(shù) {while(a!=*Invalid Block Address++)//當(dāng)未遍歷到最后一個(gè)無效塊時(shí),就繼續(xù)核對{i++。}if(i!=invalidblockbound+2)return 1。//無效的塊elsereturn 0。//有效的塊}}void Flash Read(){ unsigned char d。 Flash_CE=0。//片選 Write Command(0x00)。//寫讀的命令 Write Address(0x00)。//寫讀的地址 for(d=0。d!=2。d++) //一次讀兩頁 { unit k=528。 //每個(gè)扇區(qū)有528個(gè)字節(jié) while(!Flash_RB)//當(dāng)讀信號無效時(shí),等待{} while(k)//當(dāng)k不為零時(shí),就繼續(xù);否則就停止讀{Flash_RD=0。//準(zhǔn)備好讀入pragma asm //嵌入?yún)R編,插入兩個(gè)機(jī)器周期NOPNOPpragma end asm//結(jié)束匯編ACC=P0。//把P0口讀出的值存入ACC寄存器pragma asm //嵌入?yún)R編,插入兩個(gè)機(jī)器周期NOPNOPpragma end asm//結(jié)束匯編Flash_RD=1。//不再讀入k。}} Flash_CE=1。//不再片選}//頁寫和塊擦除程序void Write(void)//寫操作{unsigned char h。if(first)//當(dāng)開始對一頁進(jìn)行寫操作時(shí),first=1,否則為0{Flash_CE=0。//片選Write Command(0x80)。//寫命令0x80*unchar Assert Block(startpage/16)//與記錄壞塊的表相對照Write Address(0x00,startpage)。//寫地址firsr=0。}for(h=0。h!=16。h++)Write Date(output[h])。//寫入寄存器處理好的心電采樣數(shù)據(jù)if(FlagWrite)//當(dāng)寄存器中數(shù)據(jù)滿2048字節(jié)(一頁)時(shí),F(xiàn)lagWrite =1,否則為0{Write Command(0x10)。//將數(shù)據(jù)寫入flashwhile(!Flash_RB)//等待讀信號有效{}Write Command(0x70)。讀狀態(tài)量Delay 10us。Flash_RD=0。//準(zhǔn)備好讀入pragma asm //嵌入?yún)R編,插入兩個(gè)機(jī)器周期NOPNOPpragma endasm//結(jié)束匯編ACC=P0。ACC= ACCamp。0x01。Flash_RD=1。if(ACC!=0) //若最后一位不為零{*(InvalidBlockAddress+j)=startpage/16。存儲(chǔ)無效塊空間的首地址startpage=startpage+16。讀下一個(gè)塊的第一個(gè)扇區(qū)看是否有效}Flash_CE=1。結(jié)束片選startpage++。//寫下一頁first=1。}}Void FlashErase(unit a){unsigned int blockcount。Flash_CE=0。//片選for(blockcount=0。blockcount!=a。blockcount++)//尋找被擦除的塊{Write Command(0x60)。//塊擦除預(yù)命令Write Addresspage(16*blockcount)。WriteCommand(0xD0)。//塊擦除確認(rèn)命令while(Flash_RB!=1){}Write Command(0x70)。//讀擦除狀態(tài)命令Delay 10us()。Flash_RD=0。pragma asm //嵌入?yún)R編,插入三個(gè)機(jī)器周期NOPNOPNOPpragma endasm//結(jié)束匯編ACC=P0。pragma asm //嵌入?yún)R編,插入一個(gè)機(jī)器周期NOPpragma endasm//結(jié)束匯編Flash_RD=1。ACC=ACCamp。0x01。if(ACC!=0)//擦除失敗{*Invalid Block Address=blockcount。//記錄壞的塊Invalid Block Address++;j++;}}Flash_CE=1;不再片選}附錄B圖B1 整體電路圖附錄CStudy on Dynamic Electrocardiogram System withFunction of ECG TeletransmissionThe teletransmitting and receiving of ECG signal is the keyproblem to realize the telediagnosis and monitoring of ECG signals. A dynamic ECG system with teletransmitting and receiving function by telephone is introduced. And it consists of the ECG recorder carried by patients. The ECG receiver used in hospital and the PC puter used to analyze ECG signals. The principle of the designed system is described. And the system software for the telereceiving and analyzing of the ECG signals is introduced. This system has realized telereceiving and analyzing of ECG based on conventional dynamic electrocardiogram.At present. Dynamic ECG systems used in clinic can not telereceive ECG signals, and the patients have to go to hospital for their ECG diagnosis. With the development of puter network and munication technology. It is possible for hospital to offer the service of heart health with longdistance. A dynamic ECG system with function of telereceiving ECG is designed in this paper. And ECG signals are teletransmitted by telephone network.The dynamic ECG system designed in this paper consists of the ECG recorder. The ECG receiver and the PC puter. And its structure is showed in the following picture.ECG recorderECG receiverPCputerRS232RS232Telephone line圖C1The dynamic ECG system can continuously record and monitor ECG signals from human body using portable recorder. And the recorded ECG signals can be received and analyzed by PC puter. The structure of ECG recorder is showed in the next.ECGamplifierA/DMSP430D/AModemPoweramplifierLoudspeakerTelephoneTelephone networkECG圖C2The ECG receiver is the connection bridge between PC puter and the ECG recorder. And it receives the modulated ECG signal from the recorder through telephone transmitting. The structure of ECG receiver is showed in the next.TelephoneSignal sample and AmpliferMSP430PCRS232Telephonenetwork圖C3The puter receives and analyzes the demodulated ECG signal from the receiver via RS232 interface. The recorder can directly be connected to the puter via RS232 for its initialization. And puter can directly receive the ECG signal from the recorder via RS232 interface. Doctors can analyze ECG signal and diagnose heart diseases in PC (Such as arrhythmia. ST segment deflection etc.).The design tasks of entire systematic software lie in the software design of the ECG recorder, ECG receiver and the puter. And it mainly consists of database management module. Recorder initialization module. ECG receiving and display module. And ECG analysis module with function of arrhythmia analysis, ST segment analysis and heart rate variation (HRV) analysis. The application software in PC is designed with the use of Visual Basic in Windows 98.The dynamic ECG system described in the paper not only have conventional function of electrocardiogram diagnosis. And but also can receive ECG signal by telemunications. The recorder can sample two channel ECG signals from VI and V5 leads at the sane time with the frequency of 500 Hz. In order to analyze the ECG signals. Pa
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1