forked from M-Labs/zynq-rs
1
0
Fork 0

zynq::flash: fix INST_RDCR

This commit is contained in:
Astro 2019-12-12 00:11:42 +01:00
parent e9b80eaef9
commit b346ea8297
1 changed files with 3 additions and 3 deletions

View File

@ -12,9 +12,9 @@ pub use bytes::{BytesTransferExt, BytesTransfer};
const FLASH_BAUD_RATE: u32 = 50_000_000; const FLASH_BAUD_RATE: u32 = 50_000_000;
const SINGLE_CAPACITY: u32 = 16 * 1024 * 1024; const SINGLE_CAPACITY: u32 = 16 * 1024 * 1024;
///Instruction: Read Configure Register /// Instruction: Read Configure Register
const INST_RDCR: u8 = 0x3f; const INST_RDCR: u8 = 0x35;
/// Instruction Read Identification /// Instruction: Read Identification
const INST_RDID: u8 = 0x9F; const INST_RDID: u8 = 0x9F;
pub struct LinearAddressing; pub struct LinearAddressing;