FR_DISK_ERR, /* (1) A hard error occurred in the low level disk I/O layer */ FR_INT_ERR, /* (2) Assertion failed */ FR_NOT_READY, /* (3) The physical drive cannot work */ FR_NO_FILE, /* (4) Could not find the file */ FR_NO_PATH, /* (5) Could not find the pa...
FR_DISK_ERR, /* (1) 在Disk IO层发生硬错误,检查user_diskio.c中代码 */ FR_INT_ERR, /* (2) 参数检查错误 */ FR_NOT_READY, /* (3) 物理驱动器不工作 */ FR_NO_FILE, /* (4) 找不到文件 */ FR_NO_PATH, /* (5) 找不到路径 */ FR_INVALID_NAME, /* (6) 路径名称格式无效,...
FR_OK = 0,/* (0) Succeeded */ FR_DISK_ERR,/* (1) A hard error occurred in the low level disk I/O layer */ FR_INT_ERR,/* (2) Assertion failed */ FR_NOT_READY,/* (3) The physical drive cannot work */ FR_NO_FILE,/* (4) Could not find the file */ FR_...
FR_OK = 0,/* (0) Succeeded */ FR_DISK_ERR,/* (1) A hard error occurred in the low level disk I/O layer */ FR_INT_ERR,/* (2) Assertion failed */ FR_NOT_READY,/* (3) The physical drive cannot work */ FR_NO_FILE,/* (4) Could not find the file */ FR_NO_PATH,/*...
return FR_INT_ERR; } } if(bw !=256)break;//到了文件尾 } BURN_INFO("数据校验成功!"); BURN_INFO("文件:%s 写入完成",filename); BURN_INFO("---"); f_close(&SDFile); } BURN_INFO("***"); BURN_INFO("所有文件均已烧录成功...
= FR_OK){ to_int.put_str("Write error");break; }if(f_write(&fil, wtext,sizeof(wtext), (void*)&wbytes) != FR_OK){//<---FR_DISK_ERRto_int.put_str("Write Error\n");break; } f_sync(&fil); f_close(&fil); f_mount(0,"0:",0); to_int.put...
staticconstchar *FR_Table[]= { "FR_OK:成功", /* (0) Succeeded */ "FR_DISK_ERR:底层硬件错误", /* (1) A hard error occurred in the low level disk I/O layer */ "FR_INT_ERR:断言失败", /* (2) Assertion failed */ "FR_NOT_READY:物理驱动没有工作", /* (3) The physicaldriv...
CLEAR_HC_INT(hcreg ,ahberr);UNMASK_HOST_INT_CHH (num);} else if (hcint.b.ack){ CLEAR_HC...
int main(void){ u16 set=0; u8 err=0; int key_num; inttime1; int time2; //锁屏时间 chararrow=0; //箭头位子 delay_init(); //延时函数初始化 NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2); //设置NVIC中断分组2:2位抢占优先级,2位响应优先级uart_init(9600); //串口初始化为9600 printf(...
h> #include "as608.h" u16 ValidN;//模块内有效模板个数 SysPara AS608Para;//指纹模块AS608参数 void Add_FR(int ID); //录指纹 void Del_FR(int num); //删除指纹 void press_FR(void);//刷指纹 void ShowErrMessage(u8 ensure); int ID=0; char *data_p; int main() { u8 ensure; ...