Struct esp8266::spi1::spi_slave2::SPI_SLAVE2_SPEC
source · [−]pub struct SPI_SLAVE2_SPEC;
Expand description
In the slave mode, it is the length in spi_clk cycles “dummy” phase for “write-buffer” operations. The registervalue shall be (cycle_num-1)
This register you can [read
]
(crate::generic::Reg::read), [write_with_zero
]
(crate::generic::Reg::write_with_zero), [reset
]
(crate::generic::Reg::reset), write
(crate::generic::Reg::write), [modify
]
(crate::generic::Reg::modify). See [API]
(https://docs.rs/svd2rust/#read–modify–write-api).
For information about available fields see [spi_slave2] (index.html) module
Trait Implementations
sourceimpl Readable for SPI_SLAVE2_SPEC
impl Readable for SPI_SLAVE2_SPEC
read()
method returns [spi_slave2::R]
(R) reader structure
sourceimpl RegisterSpec for SPI_SLAVE2_SPEC
impl RegisterSpec for SPI_SLAVE2_SPEC
sourceimpl Resettable for SPI_SLAVE2_SPEC
impl Resettable for SPI_SLAVE2_SPEC
reset()
method sets SPI_SLAVE2 to value 0
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for SPI_SLAVE2_SPEC
impl Writable for SPI_SLAVE2_SPEC
write(|w| ..)
method takes [spi_slave2::W]
(W) writer structure
Auto Trait Implementations
impl RefUnwindSafe for SPI_SLAVE2_SPEC
impl Send for SPI_SLAVE2_SPEC
impl Sync for SPI_SLAVE2_SPEC
impl Unpin for SPI_SLAVE2_SPEC
impl UnwindSafe for SPI_SLAVE2_SPEC
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more