Functions | |
__STATIC_INLINE void | ll_i2c_enable_dma_req_tx (i2c_regs_t *I2Cx) |
Enable DMA transmission requests. More... | |
__STATIC_INLINE void | ll_i2c_disable_dma_req_tx (i2c_regs_t *I2Cx) |
Disable DMA transmission requests. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_enabled_dma_req_tx (i2c_regs_t *I2Cx) |
Check if DMA transmission requests are enabled or disabled. More... | |
__STATIC_INLINE void | ll_i2c_enable_dma_req_rx (i2c_regs_t *I2Cx) |
Enable DMA reception requests. More... | |
__STATIC_INLINE void | ll_i2c_disable_dma_req_rx (i2c_regs_t *I2Cx) |
Disable DMA reception requests. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_enabled_dma_req_rx (i2c_regs_t *I2Cx) |
Check if DMA reception requests are enabled or disabled. More... | |
__STATIC_INLINE void | ll_i2c_set_dma_tx_data_level (i2c_regs_t *I2Cx, uint32_t level) |
Set level of TX FIFO that requests a DMA transmit. More... | |
__STATIC_INLINE uint32_t | ll_i2c_get_dma_tx_data_level (i2c_regs_t *I2Cx) |
Get level of TX FIFO that request a DMA transmit. More... | |
__STATIC_INLINE void | ll_i2c_set_dma_rx_data_level (i2c_regs_t *I2Cx, uint32_t level) |
Set level of RX FIFO that requests a DMA receive. More... | |
__STATIC_INLINE uint32_t | ll_i2c_get_dma_rx_data_level (i2c_regs_t *I2Cx) |
Get level of RX FIFO that request a DMA receive. More... | |
__STATIC_INLINE uint32_t | ll_i2c_dma_get_register_address (i2c_regs_t *I2Cx) |
Get the data register address used for DMA transfer. More... | |
__STATIC_INLINE void ll_i2c_disable_dma_req_rx | ( | i2c_regs_t * | I2Cx | ) |
Disable DMA reception requests.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | IC_DMA_CR | RDMAE | +———————-+———————————–+ \endrst
I2Cx | I2C instance. |
None. |
Definition at line 3637 of file gr55xx_ll_i2c.h.
__STATIC_INLINE void ll_i2c_disable_dma_req_tx | ( | i2c_regs_t * | I2Cx | ) |
Disable DMA transmission requests.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | IC_DMA_CR | TDMAE | +———————-+———————————–+ \endrst
I2Cx | I2C instance. |
None. |
Definition at line 3580 of file gr55xx_ll_i2c.h.
__STATIC_INLINE uint32_t ll_i2c_dma_get_register_address | ( | i2c_regs_t * | I2Cx | ) |
Get the data register address used for DMA transfer.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | IC_DATA_CMD | DAT | +———————-+———————————–+ \endrst
I2Cx | I2C instance |
Address | of data register |
Definition at line 3761 of file gr55xx_ll_i2c.h.
__STATIC_INLINE void ll_i2c_enable_dma_req_rx | ( | i2c_regs_t * | I2Cx | ) |
Enable DMA reception requests.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | IC_DMA_CR | RDMAE | +———————-+———————————–+ \endrst
I2Cx | I2C instance. |
None. |
Definition at line 3618 of file gr55xx_ll_i2c.h.
__STATIC_INLINE void ll_i2c_enable_dma_req_tx | ( | i2c_regs_t * | I2Cx | ) |
Enable DMA transmission requests.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | IC_DMA_CR | TDMAE | +———————-+———————————–+ \endrst
Value | range between 0 ~ 0x8. |
None. |
Definition at line 3561 of file gr55xx_ll_i2c.h.
__STATIC_INLINE uint32_t ll_i2c_get_dma_rx_data_level | ( | i2c_regs_t * | I2Cx | ) |
Get level of RX FIFO that request a DMA receive.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | IC_DMA_RDLR | DMARDL | +———————-+———————————–+ \endrst
I2Cx | I2C instance |
Returned | value should range between 0x0 and 0x8. |
Definition at line 3742 of file gr55xx_ll_i2c.h.
__STATIC_INLINE uint32_t ll_i2c_get_dma_tx_data_level | ( | i2c_regs_t * | I2Cx | ) |
Get level of TX FIFO that request a DMA transmit.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | IC_DMA_TDLR | DMATDL | +———————-+———————————–+ \endrst
I2Cx | I2C instance |
Returned | value should range between 0x0 and 0x8. |
Definition at line 3698 of file gr55xx_ll_i2c.h.
__STATIC_INLINE uint32_t ll_i2c_is_enabled_dma_req_rx | ( | i2c_regs_t * | I2Cx | ) |
Check if DMA reception requests are enabled or disabled.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | IC_DMA_CR | RDMAE | +———————-+———————————–+ \endrst
I2Cx | I2C instance. |
State | of bit (1 or 0). |
Definition at line 3656 of file gr55xx_ll_i2c.h.
__STATIC_INLINE uint32_t ll_i2c_is_enabled_dma_req_tx | ( | i2c_regs_t * | I2Cx | ) |
Check if DMA transmission requests are enabled or disabled.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | IC_DMA_CR | TDMAE | +———————-+———————————–+ \endrst
I2Cx | I2C instance. |
State | of bit (1 or 0). |
Definition at line 3599 of file gr55xx_ll_i2c.h.
__STATIC_INLINE void ll_i2c_set_dma_rx_data_level | ( | i2c_regs_t * | I2Cx, |
uint32_t | level | ||
) |
Set level of RX FIFO that requests a DMA receive.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | IC_DMA_RDLR | DMARDL | +———————-+———————————–+ \endrst
I2Cx | I2C instance |
level | This parameter should range between 0x0 and 0x8. |
None. |
Definition at line 3723 of file gr55xx_ll_i2c.h.
__STATIC_INLINE void ll_i2c_set_dma_tx_data_level | ( | i2c_regs_t * | I2Cx, |
uint32_t | level | ||
) |
Set level of TX FIFO that requests a DMA transmit.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | IC_DMA_TDLR | DMATDL | +———————-+———————————–+ \endrst
I2Cx | I2C instance |
level | This parameter should range between 0x0 and 0x8. |
None. |
Definition at line 3679 of file gr55xx_ll_i2c.h.