Indicate the value of transfer direction.
Returned: value can be one of the following values:
LL_I2C_DIRECTION_WRITE
LL_I2C_DIRECTION_READ
RESET: Bus is in read transfer (peripheral point of view).
SET: Bus is in write transfer (peripheral point of view).
Reference Manual to
LL API cross
reference:
SR2 TRA LL_I2C_GetTransferDirection
LL_I2C_EnableLastDMA
__STATIC_INLINE void LL_I2C_EnableLastDMA (I2C_TypeDef
* I2Cx)
Enable DMA last transfer.
This action mean that next DMA EOT is the last transfer.
Reference Manual to
LL API cross
reference:
CR2 LAST LL_I2C_EnableLastDMA
LL_I2C_DisableLastDMA
__STATIC_INLINE void LL_I2C_DisableLastDMA (I2C_TypeDef
* I2Cx)
Disable DMA last transfer.
This action mean that next DMA EOT is not the last transfer.
Reference Manual to
LL API cross
reference:
CR2 LAST LL_I2C_DisableLastDMA
LL_I2C_IsEnabledLastDMA
__STATIC_INLINE uint32_t LL_I2C_IsEnabledLastDMA
(I2C_TypeDef * I2Cx)
Check if DMA last transfer is enabled or disabled.
CR2 LAST LL_I2C_IsEnabledLastDMA