欢迎访问ic37.com |
会员登录 免费注册
发布采购

AN4025 参数 Datasheet PDF下载

AN4025图片预览
型号: AN4025
PDF下载: 下载PDF文件 查看货源
内容描述: 实现一个血糖仪和血压计医疗器械 [Implementing a Glucometer and Blood Pressure Monitor Medical Devices]
分类和应用: 医疗器械
文件页数/大小: 31 页 / 2828 K
品牌: FREESCALE [ Freescale ]
 浏览型号AN4025的Datasheet PDF文件第19页浏览型号AN4025的Datasheet PDF文件第20页浏览型号AN4025的Datasheet PDF文件第21页浏览型号AN4025的Datasheet PDF文件第22页浏览型号AN4025的Datasheet PDF文件第24页浏览型号AN4025的Datasheet PDF文件第25页浏览型号AN4025的Datasheet PDF文件第26页浏览型号AN4025的Datasheet PDF文件第27页  
Micro SD Card  
void StoreData (void){  
if(SD_Init()==1){  
Error(9);  
}
if (App_ID==1){  
GMem[1]=Glucose;  
GMem[0]=Glucose>>8;  
GMem[2]=Hr;  
//Save Glucose Information  
GMem[3]=Min;  
GMem[4]=Day;  
GMem[5]=Month;  
ptrG=&GMem[0];  
if(SD_Write_Block(RG,ptrG)!=0){  
Error(9);  
}
}
if (App_ID == 2){  
//Save Blood Pressure Information  
BPMem[1]=SystolicPressure;  
BPMem[0]=SystolicPressure>>8;  
BPMem[3]=DyastolicPressure;  
BPMem[2]=DyastolicPressure>>8;  
BPMem[5]=HeartBeat;  
BPMem[4]=HeartBeat>>8;  
BPMem[6]=Hr;  
BPMem[7]=Min;  
BPMem[8]=Day;  
BPMem[9]=Month;  
ptrBP=&BPMem[0];  
if(SD_Write_Block(RP,ptrBP)!=0){  
Error(9);  
} }  
void BPReadMemory (void){  
ptrBP=&BPMem[0];  
if(!SD_Read_Block(RP,ptrBP)){  
SystolicPressure=(BPMem[0]<<8)+BPMem[1];  
DyastolicPressure=(BPMem[2]<<8)+BPMem[3];  
HeartBeat=(BPMem[4]<<8)+BPMem[5];  
Hr=BPMem[6];  
Min=BPMem[7];  
Day=BPMem[8];  
Month=BPMem[9];  
MemoryDisplay(2);  
} else{  
Error(9);  
}
}
9.4 Read Information  
This code is to read the information provided by the SD Card.  
Blood pressure and glucose information.  
void BPReadMemory (void){  
ptrBP=&BPMem[0];  
Implementing a Glucometer and Blood Pressure Monitor Medical Devices, Rev. 1, 4/2010  
Freescale Semiconductor, Inc.  
23  
 复制成功!