Functions
IT_Management
Peripheral Driver » LL Driver » I2C » Functions

## Functions
__STATIC_INLINE void | ll_i2c_enable_it (i2c_regs_t *I2Cx, uint32_t mask)
| Enable specified interrupts. More...
__STATIC_INLINE void | ll_i2c_disable_it (i2c_regs_t *I2Cx, uint32_t mask)
| Disable specified interrupts. More...
__STATIC_INLINE uint32_t | ll_i2c_is_enabled_it (i2c_regs_t *I2Cx, uint32_t mask)
| Check if the specified interrupts are enabled or disabled. More...
__STATIC_INLINE void | ll_i2c_enable_it_master_on_hold (i2c_regs_t *I2Cx)
| Enable MASTER_ON_HOLD interrupt. More...
__STATIC_INLINE void | ll_i2c_disable_it_master_om_hold (i2c_regs_t *I2Cx)
| Disable MASTER_ON_HOLD interrupt. More...
__STATIC_INLINE uint32_t | ll_i2c_is_enabled_it_master_on_hold (i2c_regs_t *I2Cx)
| Check if the MASTER_ON_HOLD Interrupt is enabled or disabled. More...
__STATIC_INLINE void | ll_i2c_enable_it_restart_det (i2c_regs_t *I2Cx)
| Enable RESTART_DET interrupt. More...
__STATIC_INLINE void | ll_i2c_disable_it_restart_det (i2c_regs_t *I2Cx)
| Disable RESTART_DET interrupt. More...
__STATIC_INLINE uint32_t | ll_i2c_is_enabled_it_restart_det (i2c_regs_t *I2Cx)
| Check if the RESTART_DET Interrupt is enabled or disabled. More...
__STATIC_INLINE void | ll_i2c_enable_it_gen_call (i2c_regs_t *I2Cx)
| Enable GEN_CALL interrupt. More...
__STATIC_INLINE void | ll_i2c_disable_it_gen_call (i2c_regs_t *I2Cx)
| Disable GEN_CALL interrupt. More...
__STATIC_INLINE uint32_t | ll_i2c_is_enabled_it_gen_call (i2c_regs_t *I2Cx)
| Check if GEN_CALL interrupt is enabled or disabled. More...
__STATIC_INLINE void | ll_i2c_enable_it_start_det (i2c_regs_t *I2Cx)
| Enable START_DET received interrupt. More...
__STATIC_INLINE void | ll_i2c_disable_it_start_det (i2c_regs_t *I2Cx)
| Disable START_DET received interrupt. More...
__STATIC_INLINE uint32_t | ll_i2c_is_enabled_it_start_det (i2c_regs_t *I2Cx)
| Check if START_DET received interrupt is enabled or disabled. More...
__STATIC_INLINE void | ll_i2c_enable_it_stop_det (i2c_regs_t *I2Cx)
| Enable STOP_DET interrupt. More...
__STATIC_INLINE void | ll_i2c_disable_it_stop_det (i2c_regs_t *I2Cx)
| Disable STOP_DET interrupt. More...
__STATIC_INLINE uint32_t | ll_i2c_is_enabled_it_stop_det (i2c_regs_t *I2Cx)
| Check if STOP_DET interrupt is enabled or disabled. More...
__STATIC_INLINE void | ll_i2c_enable_it_activity (i2c_regs_t *I2Cx)
| Enable ACTIVITY interrupt. More...
__STATIC_INLINE void | ll_i2c_disable_it_activity (i2c_regs_t *I2Cx)
| Disable ACTIVITY interrupt. More...
__STATIC_INLINE uint32_t | ll_i2c_is_enabled_it_activity (i2c_regs_t *I2Cx)
| Check if ACTIVITY interrupt is enabled or disabled. More...
__STATIC_INLINE void | ll_i2c_enable_it_rx_done (i2c_regs_t *I2Cx)
| Enable RX_DONE interrupt. More...
__STATIC_INLINE void | ll_i2c_disable_it_rx_done (i2c_regs_t *I2Cx)
| Disable RX_DONE interrupt. More...
__STATIC_INLINE uint32_t | ll_i2c_is_enable_it_rx_done (i2c_regs_t *I2Cx)
| Check if RX_DONE interrupt is enabled or disabled. More...
__STATIC_INLINE void | ll_i2c_enable_it_rx_abort (i2c_regs_t *I2Cx)
| Enable TX_ABRT interrupt. More...
__STATIC_INLINE void | ll_i2c_disable_it_tx_abort (i2c_regs_t *I2Cx)
| Disable TX_ABRT interrupt. More...
__STATIC_INLINE uint32_t | ll_i2c_is_enabled_it_tx_abort (i2c_regs_t *I2Cx)
| Check if TX_ABRT interrupt is enabled or disabled. More...
__STATIC_INLINE void | ll_i2c_enable_it_read_req (i2c_regs_t *I2Cx)
| Enable RD_REQ interrupt. More...
__STATIC_INLINE void | ll_i2c_disable_it_read_req (i2c_regs_t *I2Cx)
| Disable RD_REQ interrupt. More...
__STATIC_INLINE uint32_t | ll_i2c_is_enabled_it_read_req (i2c_regs_t *I2Cx)
| Check if RD_REQ interrupt is enabled or disabled. More...
__STATIC_INLINE void | ll_i2c_enable_it_tx_empty (i2c_regs_t *I2Cx)
| Enable TX_EMPTY interrupt. More...
__STATIC_INLINE void | ll_i2c_disable_it_tx_empty (i2c_regs_t *I2Cx)
| Disable TX_EMPTY interrupt. More...
__STATIC_INLINE uint32_t | ll_i2c_is_enabled_it_tx_empty (i2c_regs_t *I2Cx)
| Check if TX_EMPTY interrupt is enabled or disabled. More...
__STATIC_INLINE void | ll_i2c_enable_it_tx_over (i2c_regs_t *I2Cx)
| Enable TX_OVER interrupt. More...
__STATIC_INLINE void | ll_i2c_disable_it_tx_over (i2c_regs_t *I2Cx)
| Disable TX_OVER interrupt. More...
__STATIC_INLINE uint32_t | ll_i2c_is_enabled_it_tx_over (i2c_regs_t *I2Cx)
| Check if TX_OVER interrupt is enabled or disabled. More...
__STATIC_INLINE void | ll_i2c_enable_it_rx_full (i2c_regs_t *I2Cx)
| Enable RX_FULL interrupt. More...
__STATIC_INLINE void | ll_i2c_disbale_it_rx_full (i2c_regs_t *I2Cx)
| Disable RX_FULL interrupt. More...
__STATIC_INLINE uint32_t | ll_i2c_ls_enabled_it_rx_full (i2c_regs_t *I2Cx)
| Check if RX_FULL interrupt is enabled or disabled. More...
__STATIC_INLINE void | ll_i2c_enable_it_rx_over (i2c_regs_t *I2Cx)
| Enable RX_OVER interrupt. More...
__STATIC_INLINE void | ll_i2c_disable_it_rx_over (i2c_regs_t *I2Cx)
| Disable RX_OVER interrupt. More...
__STATIC_INLINE uint32_t | ll_i2c_is_enabled_it_rx_over (i2c_regs_t *I2Cx)
| Check if RX_OVER interrupt is enabled or disabled. More...
__STATIC_INLINE void | ll_i2c_enable_it_rx_under (i2c_regs_t *I2Cx)
| Enable RX_UNDER interrupt. More...
__STATIC_INLINE void | ll_i2c_disable_it_rx_under (i2c_regs_t *I2Cx)
| Disable RX_UNDER interrupt. More...
__STATIC_INLINE uint32_t | ll_i2c_is_enabled_it_rx_under (i2c_regs_t *I2Cx)
| Check if RX_UNDER interrupt is enabled or disabled. More...

## Detailed Description

## Function Documentation

## ◆ ll_i2c_disable_it()

__STATIC_INLINE void ll_i2c_disable_it | ( | i2c_regs_t * | I2Cx,
|  | uint32_t | mask
| ) |  |

Disable specified interrupts.

Register | BitsName
--- | ---
INTR_MASK | INTR_MASK_GEN_CALL
INTR_MASK | INTR_MASK_START_DET
INTR_MASK | INTR_MASK_STOP_DET
INTR_MASK | INTR_MASK_ACTIVITY
INTR_MASK | INTR_MASK_RX_DONE
INTR_MASK | INTR_MASK_TX_ABRT
INTR_MASK | INTR_MASK_RD_REQ
INTR_MASK | INTR_MASK_TX_EMPTY
INTR_MASK | INTR_MASK_TX_OVER
INTR_MASK | INTR_MASK_RX_FULL
INTR_MASK | INTR_MASK_RX_OVER
INTR_MASK | INTR_MASK_RX_UNDER

Parameters

  I2Cx | I2C instance.
  mask | This parameter can be a combination of the following values: LL_I2C_INTR_MASK_GEN_CALL LL_I2C_INTR_MASK_START_DET LL_I2C_INTR_MASK_STOP_DET LL_I2C_INTR_MASK_ACTIVITY LL_I2C_INTR_MASK_RX_DONE LL_I2C_INTR_MASK_TX_ABRT LL_I2C_INTR_MASK_RD_REQ LL_I2C_INTR_MASK_TX_EMPTY LL_I2C_INTR_MASK_TX_OVER LL_I2C_INTR_MASK_RX_FULL LL_I2C_INTR_MASK_RX_OVER LL_I2C_INTR_MASK_RX_UNDER

Return values

  None. |

## ◆ ll_i2c_disable_it_activity()

__STATIC_INLINE void ll_i2c_disable_it_activity | ( | i2c_regs_t * | I2Cx | ) |

Disable ACTIVITY interrupt.

Register | BitsName
--- | ---
INTR_MASK | ACTIVITY

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_disable_it_gen_call()

__STATIC_INLINE void ll_i2c_disable_it_gen_call | ( | i2c_regs_t * | I2Cx | ) |

Disable GEN_CALL interrupt.

Register | BitsName
--- | ---
INTR_MASK | GEN_CALL

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_disable_it_master_om_hold()

__STATIC_INLINE void ll_i2c_disable_it_master_om_hold | ( | i2c_regs_t * | I2Cx | ) |

Disable MASTER_ON_HOLD interrupt.

Register | BitsName
--- | ---
INTR_MASK | MST_ON_HOLD

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_disable_it_read_req()

__STATIC_INLINE void ll_i2c_disable_it_read_req | ( | i2c_regs_t * | I2Cx | ) |

Disable RD_REQ interrupt.

Register | BitsName
--- | ---
INTR_MASK | RD_REQ

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_disable_it_restart_det()

__STATIC_INLINE void ll_i2c_disable_it_restart_det | ( | i2c_regs_t * | I2Cx | ) |

Disable RESTART_DET interrupt.

Register | BitsName
--- | ---
INTR_MASK | RESTART_DET

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_disable_it_rx_done()

__STATIC_INLINE void ll_i2c_disable_it_rx_done | ( | i2c_regs_t * | I2Cx | ) |

Disable RX_DONE interrupt.

Register | BitsName
--- | ---
INTR_MASK | RX_DONE

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_disable_it_rx_over()

__STATIC_INLINE void ll_i2c_disable_it_rx_over | ( | i2c_regs_t * | I2Cx | ) |

Disable RX_OVER interrupt.

Register | BitsName
--- | ---
INTR_MASK | RX_OVER

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_disable_it_rx_under()

__STATIC_INLINE void ll_i2c_disable_it_rx_under | ( | i2c_regs_t * | I2Cx | ) |

Disable RX_UNDER interrupt.

Register | BitsName
--- | ---
INTR_MASK | RX_UNDER

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_disable_it_start_det()

__STATIC_INLINE void ll_i2c_disable_it_start_det | ( | i2c_regs_t * | I2Cx | ) |

Disable START_DET received interrupt.

Register | BitsName
--- | ---
INTR_MASK | START_DET

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_disable_it_stop_det()

__STATIC_INLINE void ll_i2c_disable_it_stop_det | ( | i2c_regs_t * | I2Cx | ) |

Disable STOP_DET interrupt.

Register | BitsName
--- | ---
INTR_MASK | STOP_DET

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_disable_it_tx_abort()

__STATIC_INLINE void ll_i2c_disable_it_tx_abort | ( | i2c_regs_t * | I2Cx | ) |

Disable TX_ABRT interrupt.

Register | BitsName
--- | ---
INTR_MASK | TX_ABRT

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_disable_it_tx_empty()

__STATIC_INLINE void ll_i2c_disable_it_tx_empty | ( | i2c_regs_t * | I2Cx | ) |

Disable TX_EMPTY interrupt.

Register | BitsName
--- | ---
INTR_MASK | TX_EMPTY

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_disable_it_tx_over()

__STATIC_INLINE void ll_i2c_disable_it_tx_over | ( | i2c_regs_t * | I2Cx | ) |

Disable TX_OVER interrupt.

Register | BitsName
--- | ---
INTR_MASK | TX_OVER

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_disbale_it_rx_full()

__STATIC_INLINE void ll_i2c_disbale_it_rx_full | ( | i2c_regs_t * | I2Cx | ) |

Disable RX_FULL interrupt.

Register | BitsName
--- | ---
INTR_MASK | RX_FULL

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_enable_it()

__STATIC_INLINE void ll_i2c_enable_it | ( | i2c_regs_t * | I2Cx,
|  | uint32_t | mask
| ) |  |

Enable specified interrupts.

Register | BitsName
--- | ---
INTR_MASK | INTR_MASK_GEN_CALL
INTR_MASK | INTR_MASK_START_DET
INTR_MASK | INTR_MASK_STOP_DET
INTR_MASK | INTR_MASK_ACTIVITY
INTR_MASK | INTR_MASK_RX_DONE
INTR_MASK | INTR_MASK_TX_ABRT
INTR_MASK | INTR_MASK_RD_REQ
INTR_MASK | INTR_MASK_TX_EMPTY
INTR_MASK | INTR_MASK_TX_OVER
INTR_MASK | INTR_MASK_RX_FULL
INTR_MASK | INTR_MASK_RX_OVER
INTR_MASK | INTR_MASK_RX_UNDER

Parameters

  I2Cx | I2C instance.
  mask | This parameter can be a combination of the following values: LL_I2C_INTR_MASK_GEN_CALL LL_I2C_INTR_MASK_START_DET LL_I2C_INTR_MASK_STOP_DET LL_I2C_INTR_MASK_ACTIVITY LL_I2C_INTR_MASK_RX_DONE LL_I2C_INTR_MASK_TX_ABRT LL_I2C_INTR_MASK_RD_REQ LL_I2C_INTR_MASK_TX_EMPTY LL_I2C_INTR_MASK_TX_OVER LL_I2C_INTR_MASK_RX_FULL LL_I2C_INTR_MASK_RX_OVER LL_I2C_INTR_MASK_RX_UNDER

Return values

  None. |

## ◆ ll_i2c_enable_it_activity()

__STATIC_INLINE void ll_i2c_enable_it_activity | ( | i2c_regs_t * | I2Cx | ) |

Enable ACTIVITY interrupt.

Register | BitsName
--- | ---
INTR_MASK | ACTIVITY

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_enable_it_gen_call()

__STATIC_INLINE void ll_i2c_enable_it_gen_call | ( | i2c_regs_t * | I2Cx | ) |

Enable GEN_CALL interrupt.

Register | BitsName
--- | ---
INTR_MASK | GEN_CALL

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_enable_it_master_on_hold()

__STATIC_INLINE void ll_i2c_enable_it_master_on_hold | ( | i2c_regs_t * | I2Cx | ) |

Enable MASTER_ON_HOLD interrupt.

Register | BitsName
--- | ---
INTR_MASK | MST_ON_HOLD

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_enable_it_read_req()

__STATIC_INLINE void ll_i2c_enable_it_read_req | ( | i2c_regs_t * | I2Cx | ) |

Enable RD_REQ interrupt.

Register | BitsName
--- | ---
INTR_MASK | RD_REQ

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_enable_it_restart_det()

__STATIC_INLINE void ll_i2c_enable_it_restart_det | ( | i2c_regs_t * | I2Cx | ) |

Enable RESTART_DET interrupt.

Register | BitsName
--- | ---
INTR_MASK | RESTART_DET

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_enable_it_rx_abort()

__STATIC_INLINE void ll_i2c_enable_it_rx_abort | ( | i2c_regs_t * | I2Cx | ) |

Enable TX_ABRT interrupt.

Register | BitsName
--- | ---
INTR_MASK | TX_ABRT

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_enable_it_rx_done()

__STATIC_INLINE void ll_i2c_enable_it_rx_done | ( | i2c_regs_t * | I2Cx | ) |

Enable RX_DONE interrupt.

Register | BitsName
--- | ---
INTR_MASK | RX_DONE

Parameters

  I2Cx | I2C instance.

Return values

  State | of bit (1 or 0).

## ◆ ll_i2c_enable_it_rx_full()

__STATIC_INLINE void ll_i2c_enable_it_rx_full | ( | i2c_regs_t * | I2Cx | ) |

Enable RX_FULL interrupt.

Register | BitsName
--- | ---
INTR_MASK | RX_FULL

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_enable_it_rx_over()

__STATIC_INLINE void ll_i2c_enable_it_rx_over | ( | i2c_regs_t * | I2Cx | ) |

Enable RX_OVER interrupt.

Register | BitsName
--- | ---
INTR_MASK | RX_OVER

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_enable_it_rx_under()

__STATIC_INLINE void ll_i2c_enable_it_rx_under | ( | i2c_regs_t * | I2Cx | ) |

Enable RX_UNDER interrupt.

Register | BitsName
--- | ---
INTR_MASK | RX_UNDER

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_enable_it_start_det()

__STATIC_INLINE void ll_i2c_enable_it_start_det | ( | i2c_regs_t * | I2Cx | ) |

Enable START_DET received interrupt.

Register | BitsName
--- | ---
INTR_MASK | START_DET

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_enable_it_stop_det()

__STATIC_INLINE void ll_i2c_enable_it_stop_det | ( | i2c_regs_t * | I2Cx | ) |

Enable STOP_DET interrupt.

Register | BitsName
--- | ---
INTR_MASK | STOP_DET

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_enable_it_tx_empty()

__STATIC_INLINE void ll_i2c_enable_it_tx_empty | ( | i2c_regs_t * | I2Cx | ) |

Enable TX_EMPTY interrupt.

Register | BitsName
--- | ---
INTR_MASK | TX_EMPTY

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_enable_it_tx_over()

__STATIC_INLINE void ll_i2c_enable_it_tx_over | ( | i2c_regs_t * | I2Cx | ) |

Enable TX_OVER interrupt.

Register | BitsName
--- | ---
INTR_MASK | TX_OVER

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_is_enable_it_rx_done()

__STATIC_INLINE uint32_t ll_i2c_is_enable_it_rx_done | ( | i2c_regs_t * | I2Cx | ) |

Check if RX_DONE interrupt is enabled or disabled.

Register | BitsName
--- | ---
INTR_MASK | RX_DONE

Parameters

  I2Cx | I2C instance.

Return values

  State | of bit (1 or 0).

## ◆ ll_i2c_is_enabled_it()

__STATIC_INLINE uint32_t ll_i2c_is_enabled_it | ( | i2c_regs_t * | I2Cx,
|  | uint32_t | mask
| ) |  |

Check if the specified interrupts are enabled or disabled.

Register | BitsName
--- | ---
INTR_MASK | INTR_MASK_GEN_CALL
INTR_MASK | INTR_MASK_START_DET
INTR_MASK | INTR_MASK_STOP_DET
INTR_MASK | INTR_MASK_ACTIVITY
INTR_MASK | INTR_MASK_RX_DONE
INTR_MASK | INTR_MASK_TX_ABRT
INTR_MASK | INTR_MASK_RD_REQ
INTR_MASK | INTR_MASK_TX_EMPTY
INTR_MASK | INTR_MASK_TX_OVER
INTR_MASK | INTR_MASK_RX_FULL
INTR_MASK | INTR_MASK_RX_OVER
INTR_MASK | INTR_MASK_RX_UNDER

Parameters

  I2Cx | I2C instance.
  mask | This parameter can be a combination of the following values: LL_I2C_INTR_MASK_GEN_CALL LL_I2C_INTR_MASK_START_DET LL_I2C_INTR_MASK_STOP_DET LL_I2C_INTR_MASK_ACTIVITY LL_I2C_INTR_MASK_RX_DONE LL_I2C_INTR_MASK_TX_ABRT LL_I2C_INTR_MASK_RD_REQ LL_I2C_INTR_MASK_TX_EMPTY LL_I2C_INTR_MASK_TX_OVER LL_I2C_INTR_MASK_RX_FULL LL_I2C_INTR_MASK_RX_OVER LL_I2C_INTR_MASK_RX_UNDER

Return values

  State | of bit (1 or 0).

## ◆ ll_i2c_is_enabled_it_activity()

__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_activity | ( | i2c_regs_t * | I2Cx | ) |

Check if ACTIVITY interrupt is enabled or disabled.

Register | BitsName
--- | ---
INTR_MASK | ACTIVITY

Parameters

  I2Cx | I2C instance.

Return values

  State | of bit (1 or 0).

## ◆ ll_i2c_is_enabled_it_gen_call()

__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_gen_call | ( | i2c_regs_t * | I2Cx | ) |

Check if GEN_CALL interrupt is enabled or disabled.

Register | BitsName
--- | ---
INTR_MASK | GEN_CALL

Parameters

  I2Cx | I2C instance.

Return values

  State | of bit (1 or 0).

## ◆ ll_i2c_is_enabled_it_master_on_hold()

__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_master_on_hold | ( | i2c_regs_t * | I2Cx | ) |

Check if the MASTER_ON_HOLD Interrupt is enabled or disabled.

Register | BitsName
--- | ---
INTR_MASK | MST_ON_HOLD

Parameters

  I2Cx | I2C instance.

Return values

  State | of bit (1 or 0).

## ◆ ll_i2c_is_enabled_it_read_req()

__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_read_req | ( | i2c_regs_t * | I2Cx | ) |

Check if RD_REQ interrupt is enabled or disabled.

Register | BitsName
--- | ---
INTR_MASK | RD_REQ

Parameters

  I2Cx | I2C instance.

Return values

  State | of bit (1 or 0).

## ◆ ll_i2c_is_enabled_it_restart_det()

__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_restart_det | ( | i2c_regs_t * | I2Cx | ) |

Check if the RESTART_DET Interrupt is enabled or disabled.

Register | BitsName
--- | ---
INTR_MASK | RESTART_DET

Parameters

  I2Cx | I2C instance.

Return values

  State | of bit (1 or 0).

## ◆ ll_i2c_is_enabled_it_rx_over()

__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_rx_over | ( | i2c_regs_t * | I2Cx | ) |

Check if RX_OVER interrupt is enabled or disabled.

Register | BitsName
--- | ---
INTR_MASK | RX_OVER

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_is_enabled_it_rx_under()

__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_rx_under | ( | i2c_regs_t * | I2Cx | ) |

Check if RX_UNDER interrupt is enabled or disabled.

Register | BitsName
--- | ---
INTR_MASK | RX_UNDER

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_is_enabled_it_start_det()

__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_start_det | ( | i2c_regs_t * | I2Cx | ) |

Check if START_DET received interrupt is enabled or disabled.

Register | BitsName
--- | ---
INTR_MASK | START_DET

Parameters

  I2Cx | I2C instance.

Return values

  State | of bit (1 or 0).

## ◆ ll_i2c_is_enabled_it_stop_det()

__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_stop_det | ( | i2c_regs_t * | I2Cx | ) |

Check if STOP_DET interrupt is enabled or disabled.

Register | BitsName
--- | ---
INTR_MASK | STOP_DET

Parameters

  I2Cx | I2C instance.

Return values

  State | of bit (1 or 0).

## ◆ ll_i2c_is_enabled_it_tx_abort()

__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_tx_abort | ( | i2c_regs_t * | I2Cx | ) |

Check if TX_ABRT interrupt is enabled or disabled.

Register | BitsName
--- | ---
INTR_MASK | TX_ABRT

Parameters

  I2Cx | I2C instance.

Return values

  None. |

## ◆ ll_i2c_is_enabled_it_tx_empty()

__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_tx_empty | ( | i2c_regs_t * | I2Cx | ) |

Check if TX_EMPTY interrupt is enabled or disabled.

Register | BitsName
--- | ---
INTR_MASK | TX_EMPTY

Parameters

  I2Cx | I2C instance.

Return values

  State | of bit (1 or 0).

## ◆ ll_i2c_is_enabled_it_tx_over()

__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_tx_over | ( | i2c_regs_t * | I2Cx | ) |

Check if TX_OVER interrupt is enabled or disabled.

Register | BitsName
--- | ---
INTR_MASK | TX_OVER

Parameters

  I2Cx | I2C instance.

Return values

  State | of bit (1 or 0).

## ◆ ll_i2c_ls_enabled_it_rx_full()

__STATIC_INLINE uint32_t ll_i2c_ls_enabled_it_rx_full | ( | i2c_regs_t * | I2Cx | ) |

Check if RX_FULL interrupt is enabled or disabled.

Register | BitsName
--- | ---
INTR_MASK | RX_FULL

Parameters

  I2Cx | I2C instance.

Return values

  None. |