pub struct W(_);
Expand description
Register BMOD
writer
Implementations§
§impl W
impl W
pub fn swr(&mut self) -> BitWriterRaw<'_, u32, BMOD_SPEC, bool, BitM, 0>
pub fn swr(&mut self) -> BitWriterRaw<'_, u32, BMOD_SPEC, bool, BitM, 0>
Bit 0 - Software Reset. When set, the DMA Controller resets all its internal registers. It is automatically cleared after one clock cycle.
pub fn fb(&mut self) -> BitWriterRaw<'_, u32, BMOD_SPEC, bool, BitM, 1>
pub fn fb(&mut self) -> BitWriterRaw<'_, u32, BMOD_SPEC, bool, BitM, 1>
Bit 1 - Fixed Burst. Controls whether the AHB Master interface performs fixed burst transfers or not. When set, the AHB will use only SINGLE, INCR4, INCR8 or INCR16 during start of normal burst transfers. When reset, the AHB will use SINGLE and INCR burst transfer operations.
pub fn de(&mut self) -> BitWriterRaw<'_, u32, BMOD_SPEC, bool, BitM, 7>
pub fn de(&mut self) -> BitWriterRaw<'_, u32, BMOD_SPEC, bool, BitM, 7>
Bit 7 - IDMAC Enable. When set, the IDMAC is enabled.
pub fn pbl(
&mut self
) -> FieldWriterRaw<'_, u32, BMOD_SPEC, u8, u8, Unsafe, 3, 8>
pub fn pbl(
&mut self
) -> FieldWriterRaw<'_, u32, BMOD_SPEC, u8, u8, Unsafe, 3, 8>
Bits 8:10 - Programmable Burst Length. These bits indicate the maximum number of beats to be performed in one IDMAC???Internal DMA Control???transaction. The IDMAC will always attempt to burst as specified in PBL each time it starts a burst transfer on the host bus. The permissible values are 1, 4, 8, 16, 32, 64, 128 and 256. This value is the mirror of MSIZE of FIFOTH register. In order to change this value, write the required value to FIFOTH register. This is an encode value as follows: 000: 1-byte transfer; 001: 4-byte transfer; 010: 8-byte transfer; 011: 16-byte transfer; 100: 32-byte transfer; 101: 64-byte transfer; 110: 128-byte transfer; 111: 256-byte transfer. PBL is a read-only value and is applicable only for data access, it does not apply to descriptor access.
Methods from Deref<Target = W<BMOD_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.