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... | |
| __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 |
| I2Cx | I2C instance. |
| mask | This parameter can be a combination of the following values:
|
| None. |
| __STATIC_INLINE void ll_i2c_disable_it_activity | ( | i2c_regs_t * | I2Cx | ) |
Disable ACTIVITY interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | ACTIVITY |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_disable_it_gen_call | ( | i2c_regs_t * | I2Cx | ) |
Disable GEN_CALL interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | GEN_CALL |
| I2Cx | I2C instance. |
| None. |
| __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 |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_disable_it_read_req | ( | i2c_regs_t * | I2Cx | ) |
Disable RD_REQ interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | RD_REQ |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_disable_it_restart_det | ( | i2c_regs_t * | I2Cx | ) |
Disable RESTART_DET interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | RESTART_DET |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_disable_it_rx_done | ( | i2c_regs_t * | I2Cx | ) |
Disable RX_DONE interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | RX_DONE |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_disable_it_rx_over | ( | i2c_regs_t * | I2Cx | ) |
Disable RX_OVER interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | RX_OVER |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_disable_it_rx_under | ( | i2c_regs_t * | I2Cx | ) |
Disable RX_UNDER interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | RX_UNDER |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_disable_it_start_det | ( | i2c_regs_t * | I2Cx | ) |
Disable START_DET received interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | START_DET |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_disable_it_stop_det | ( | i2c_regs_t * | I2Cx | ) |
Disable STOP_DET interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | STOP_DET |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_disable_it_tx_abort | ( | i2c_regs_t * | I2Cx | ) |
Disable TX_ABRT interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | TX_ABRT |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_disable_it_tx_empty | ( | i2c_regs_t * | I2Cx | ) |
Disable TX_EMPTY interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | TX_EMPTY |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_disable_it_tx_over | ( | i2c_regs_t * | I2Cx | ) |
Disable TX_OVER interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | TX_OVER |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_disbale_it_rx_full | ( | i2c_regs_t * | I2Cx | ) |
Disable RX_FULL interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | RX_FULL |
| I2Cx | I2C instance. |
| None. |
| __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 |
| I2Cx | I2C instance. |
| mask | This parameter can be a combination of the following values:
|
| None. |
| __STATIC_INLINE void ll_i2c_enable_it_activity | ( | i2c_regs_t * | I2Cx | ) |
Enable ACTIVITY interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | ACTIVITY |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_enable_it_gen_call | ( | i2c_regs_t * | I2Cx | ) |
Enable GEN_CALL interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | GEN_CALL |
| I2Cx | I2C instance. |
| None. |
| __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 |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_enable_it_read_req | ( | i2c_regs_t * | I2Cx | ) |
Enable RD_REQ interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | RD_REQ |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_enable_it_restart_det | ( | i2c_regs_t * | I2Cx | ) |
Enable RESTART_DET interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | RESTART_DET |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_enable_it_rx_abort | ( | i2c_regs_t * | I2Cx | ) |
Enable TX_ABRT interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | TX_ABRT |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_enable_it_rx_done | ( | i2c_regs_t * | I2Cx | ) |
Enable RX_DONE interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | RX_DONE |
| I2Cx | I2C instance. |
| State | of bit (1 or 0). |
| __STATIC_INLINE void ll_i2c_enable_it_rx_full | ( | i2c_regs_t * | I2Cx | ) |
Enable RX_FULL interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | RX_FULL |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_enable_it_rx_over | ( | i2c_regs_t * | I2Cx | ) |
Enable RX_OVER interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | RX_OVER |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_enable_it_rx_under | ( | i2c_regs_t * | I2Cx | ) |
Enable RX_UNDER interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | RX_UNDER |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_enable_it_start_det | ( | i2c_regs_t * | I2Cx | ) |
Enable START_DET received interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | START_DET |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_enable_it_stop_det | ( | i2c_regs_t * | I2Cx | ) |
Enable STOP_DET interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | STOP_DET |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_enable_it_tx_empty | ( | i2c_regs_t * | I2Cx | ) |
Enable TX_EMPTY interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | TX_EMPTY |
| I2Cx | I2C instance. |
| None. |
| __STATIC_INLINE void ll_i2c_enable_it_tx_over | ( | i2c_regs_t * | I2Cx | ) |
Enable TX_OVER interrupt.
| Register | BitsName |
|---|---|
| INTR_MASK | TX_OVER |
| I2Cx | I2C instance. |
| None. |
| __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 |
| I2Cx | I2C instance. |
| State | of bit (1 or 0). |
| __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 |
| I2Cx | I2C instance. |
| mask | This parameter can be a combination of the following values:
|
| State | of bit (1 or 0). |
| __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 |
| I2Cx | I2C instance. |
| State | of bit (1 or 0). |
| __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 |
| I2Cx | I2C instance. |
| State | of bit (1 or 0). |
| __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 |
| I2Cx | I2C instance. |
| State | of bit (1 or 0). |
| __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 |
| I2Cx | I2C instance. |
| State | of bit (1 or 0). |
| __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 |
| I2Cx | I2C instance. |
| State | of bit (1 or 0). |
| __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 |
| I2Cx | I2C instance. |
| None. |
| __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 |
| I2Cx | I2C instance. |
| None. |
| __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 |
| I2Cx | I2C instance. |
| State | of bit (1 or 0). |
| __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 |
| I2Cx | I2C instance. |
| State | of bit (1 or 0). |
| __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 |
| I2Cx | I2C instance. |
| None. |
| __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 |
| I2Cx | I2C instance. |
| State | of bit (1 or 0). |
| __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 |
| I2Cx | I2C instance. |
| State | of bit (1 or 0). |
| __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 |
| I2Cx | I2C instance. |
| None. |