Struct bcm2709_spi::spi::FIFO
[−]
[src]
pub struct FIFO { /* fields omitted */ }
Methods
impl FIFO
[src]
pub fn modify<F>(&self, f: F) where
F: FnOnce(&R, &'w W) -> &'w mut W,
[src]
F: FnOnce(&R, &'w W) -> &'w mut W,
Modifies the content of the FIFO register
pub fn read(&self) -> R
[src]
Reads the contents of the FIFO register
pub fn write<F>(&self, f: F) where
F: FnOnce(&mut W) -> &mut W,
[src]
F: FnOnce(&mut W) -> &mut W,
Writes to the register
pub fn reset(&self)
[src]
Writes reset value to the register