URL
https://opencores.org/ocsvn/usb_nand_reader/usb_nand_reader/trunk
Subversion Repositories usb_nand_reader
[/] [usb_nand_reader/] [trunk/] [mini32/] [CMD_Reset.c] - Rev 7
Compare with Previous | Blame | View Log
#include "NandControl.h" #include "CMD.h" void do_delay(int cycles) { volatile int i; for(i = 0; i < cycles; i++) { asm NOP; } } void cmd_chip_reset() { nand_send_command(NC_RESET); do_delay(10); while(!nand_is_ready()); }