Struct esp32s3_hal::pac::sensitive::edma_pms_i2s1::W
pub struct W(_);
Expand description
Register EDMA_PMS_I2S1
writer
Implementations§
§impl W
impl W
pub fn attr1(
&mut self
) -> FieldWriterRaw<'_, u32, EDMA_PMS_I2S1_SPEC, u8, u8, Unsafe, 2, 0>
pub fn attr1(
&mut self
) -> FieldWriterRaw<'_, u32, EDMA_PMS_I2S1_SPEC, u8, u8, Unsafe, 2, 0>
Bits 0:1 - This field is used to configure the permission of I2S1 accessing address, which is larger than boundary 0 and less than boundary 1, through EDMA. Bit 0: set this bit to enable read permission. Bit 1: set this bit to enable write permission.
pub fn attr2(
&mut self
) -> FieldWriterRaw<'_, u32, EDMA_PMS_I2S1_SPEC, u8, u8, Unsafe, 2, 2>
pub fn attr2(
&mut self
) -> FieldWriterRaw<'_, u32, EDMA_PMS_I2S1_SPEC, u8, u8, Unsafe, 2, 2>
Bits 2:3 - This field is used to configure the permission of I2S1 accessing address, which is larger than boundary 1 and less than boundary 2, through EDMA. Bit 0: set this bit to enable read permission. Bit 1: set this bit to enable write permission.
Methods from Deref<Target = W<EDMA_PMS_I2S1_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<EDMA_PMS_I2S1_SPEC>> for W
impl From<W<EDMA_PMS_I2S1_SPEC>> for W
§fn from(writer: W<EDMA_PMS_I2S1_SPEC>) -> W
fn from(writer: W<EDMA_PMS_I2S1_SPEC>) -> W
Converts to this type from the input type.