You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// 有NAND FLASH Datasheet的介绍#[derive(Clone,Copy,PartialEq)]#[allow(dead_code)]enumFlashCMD{NOP,// WP=write protect ,用与NAND的写保护,这些在NAND的Datasheet中都会有WP,EP,CPB,LP,UP,EA,WGPB,EGPB,SSB,PGPFB,EAGPF,QPR,WUP,EUP,QPRUP,HSEN,HSDIS,}/// FlashState is used to track the current state and command of the flash.#[derive(Clone,Copy,PartialEq)]enumFlashState{Unconfigured,// Flash is unconfigured, call configure().Ready,// Flash is ready to complete a command.Read,// Performing a read operation.WriteUnlocking{page:i32},// Started a write operation. 开始写操作。WriteErasing{page:i32},// Waiting on the page to erase. 等待页面擦除。WriteWriting,// Waiting on the page to actually be written. 等待页面上实际被写入。EraseUnlocking{page:i32},// Started an erase operation.EraseErasing,// Waiting on the erase to finish.}
The text was updated successfully, but these errors were encountered:
总结
chips\sam4l\src\flashcalw.rs
指令相关
capsules\src\nonvolatile_to_pages.rs
The text was updated successfully, but these errors were encountered: