forked from M-Labs/zynq-rs
zynq::flash: doc
This commit is contained in:
parent
b346ea8297
commit
70d56d2b28
|
@ -17,7 +17,9 @@ const INST_RDCR: u8 = 0x35;
|
|||
/// Instruction: Read Identification
|
||||
const INST_RDID: u8 = 0x9F;
|
||||
|
||||
/// Memory-mapped mode
|
||||
pub struct LinearAddressing;
|
||||
/// Manual I/O mode
|
||||
pub struct Manual;
|
||||
|
||||
/// Flash Interface Driver
|
||||
|
|
|
@ -79,9 +79,13 @@ register_bit!(config,
|
|||
|
||||
register!(intr_status, IntrStatus, RW, u32);
|
||||
register_bit!(intr_status, rx_overflow, 0);
|
||||
register_bit!(intr_status, tx_fifo_not_full, 2);
|
||||
register_bit!(intr_status,
|
||||
/// < tx_thres
|
||||
tx_fifo_not_full, 2);
|
||||
register_bit!(intr_status, tx_fifo_full, 3);
|
||||
register_bit!(intr_status, rx_fifo_not_empty, 4);
|
||||
register_bit!(intr_status,
|
||||
/// >= rx_thres
|
||||
rx_fifo_not_empty, 4);
|
||||
register_bit!(intr_status, rx_fifo_full, 5);
|
||||
register_bit!(intr_status, tx_fifo_underflow, 6);
|
||||
|
||||
|
|
Loading…
Reference in New Issue