Struct esp32_hal::pac::dport::slave_spi_config::W
pub struct W(_);
Expand description
Register SLAVE_SPI_CONFIG
writer
Implementations§
§impl W
impl W
pub fn slave_spi_mask_pro(
&mut self
) -> BitWriterRaw<'_, u32, SLAVE_SPI_CONFIG_SPEC, bool, BitM, 0>
pub fn slave_spi_mask_pro(
&mut self
) -> BitWriterRaw<'_, u32, SLAVE_SPI_CONFIG_SPEC, bool, BitM, 0>
Bit 0
pub fn slave_spi_mask_app(
&mut self
) -> BitWriterRaw<'_, u32, SLAVE_SPI_CONFIG_SPEC, bool, BitM, 4>
pub fn slave_spi_mask_app(
&mut self
) -> BitWriterRaw<'_, u32, SLAVE_SPI_CONFIG_SPEC, bool, BitM, 4>
Bit 4
pub fn spi_encrypt_enable(
&mut self
) -> BitWriterRaw<'_, u32, SLAVE_SPI_CONFIG_SPEC, bool, BitM, 8>
pub fn spi_encrypt_enable(
&mut self
) -> BitWriterRaw<'_, u32, SLAVE_SPI_CONFIG_SPEC, bool, BitM, 8>
Bit 8
pub fn spi_decrypt_enable(
&mut self
) -> BitWriterRaw<'_, u32, SLAVE_SPI_CONFIG_SPEC, bool, BitM, 12>
pub fn spi_decrypt_enable(
&mut self
) -> BitWriterRaw<'_, u32, SLAVE_SPI_CONFIG_SPEC, bool, BitM, 12>
Bit 12
Methods from Deref<Target = W<SLAVE_SPI_CONFIG_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<SLAVE_SPI_CONFIG_SPEC>> for W
impl From<W<SLAVE_SPI_CONFIG_SPEC>> for W
§fn from(writer: W<SLAVE_SPI_CONFIG_SPEC>) -> W
fn from(writer: W<SLAVE_SPI_CONFIG_SPEC>) -> W
Converts to this type from the input type.