Type Definition stm32g0::stm32g0c1::spi1::cr2::LDMA_TX_W

source · []
pub type LDMA_TX_W<'a, const O: u8> = BitWriter<'a, u32, CR2_SPEC, LDMA_TX_A, O>;
Expand description

Field LDMA_TX writer - Last DMA transfer for transmission This bit is used in data packing mode, to define if the total number of data to transmit by DMA is odd or even. It has significance only if the TXDMAEN bit in the SPI_CR2 register is set and if packing mode is used (data length =< 8-bit and write access to SPI_DR is 16-bit wide). It has to be written when the SPI is disabled (SPE = 0 in the SPI_CR1 register). Note: Refer to if the CRCEN bit is set. This bit is not used in I²S mode.

Implementations

Number of data to transfer for transmit is even

Number of data to transfer for transmit is odd