Type Definition stm32g0::stm32g0c1::spi1::cr2::LDMA_TX_R

source · []
pub type LDMA_TX_R = BitReader<LDMA_TX_A>;
Expand description

Field LDMA_TX reader - 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

Get enumerated values variant

Checks if the value of the field is Even

Checks if the value of the field is Odd