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_scl_stuck_at_low (i2c_regs_t *I2Cx) |
Enable SCL_STUCK_AT_LOW interrupt. More... | |
__STATIC_INLINE void | ll_i2c_disable_it_scl_stuck_at_low (i2c_regs_t *I2Cx) |
Disable SCL_STUCK_AT_LOW interrupt. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_enabled_it_scl_stuck_at_low (i2c_regs_t *I2Cx) |
Check if the SCL_STUCK_AT_LOW Interrupt is 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_on_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 ---------------|--------------- INT_MASK | MASK_GEN_CALL INT_MASK | MASK_START_DET INT_MASK | MASK_STOP_DET INT_MASK | MASK_ACTIVITY INT_MASK | MASK_RX_DONE INT_MASK | MASK_TX_ABRT INT_MASK | MASK_RD_REQ INT_MASK | MASK_TX_EMPTY INT_MASK | MASK_TX_OVER INT_MASK | MASK_RX_FULL INT_MASK | MASK_RX_OVER INT_MASK | 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 | ) |
__STATIC_INLINE void ll_i2c_disable_it_gen_call | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_disable_it_master_on_hold | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_disable_it_read_req | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_disable_it_restart_det | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_disable_it_rx_done | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_disable_it_rx_over | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_disable_it_rx_under | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_disable_it_scl_stuck_at_low | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_disable_it_start_det | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_disable_it_stop_det | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_disable_it_tx_abort | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_disable_it_tx_empty | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_disable_it_tx_over | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_disbale_it_rx_full | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_enable_it | ( | i2c_regs_t * | I2Cx, |
uint32_t | mask | ||
) |
Enable specified interrupts.
Register|BitsName ---------------|--------------- INT_MASK | MASK_GEN_CALL INT_MASK | MASK_START_DET INT_MASK | MASK_STOP_DET INT_MASK | MASK_ACTIVITY INT_MASK | MASK_RX_DONE INT_MASK | MASK_TX_ABRT INT_MASK | MASK_RD_REQ INT_MASK | MASK_TX_EMPTY INT_MASK | MASK_TX_OVER INT_MASK | MASK_RX_FULL INT_MASK | MASK_RX_OVER INT_MASK | 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 | ) |
__STATIC_INLINE void ll_i2c_enable_it_gen_call | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_enable_it_master_on_hold | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_enable_it_read_req | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_enable_it_restart_det | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_enable_it_rx_abort | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_enable_it_rx_done | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_enable_it_rx_full | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_enable_it_rx_over | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_enable_it_rx_under | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_enable_it_scl_stuck_at_low | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_enable_it_start_det | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_enable_it_stop_det | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_enable_it_tx_empty | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_enable_it_tx_over | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_enable_it_rx_done | ( | i2c_regs_t * | I2Cx | ) |
__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 ---------------|--------------- INT_MASK | MASK_GEN_CALL INT_MASK | MASK_START_DET INT_MASK | MASK_STOP_DET INT_MASK | MASK_ACTIVITY INT_MASK | MASK_RX_DONE INT_MASK | MASK_TX_ABRT INT_MASK | MASK_RD_REQ INT_MASK | MASK_TX_EMPTY INT_MASK | MASK_TX_OVER INT_MASK | MASK_RX_FULL INT_MASK | MASK_RX_OVER INT_MASK | 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 | ) |
__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_gen_call | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_master_on_hold | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_read_req | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_restart_det | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_rx_over | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_rx_under | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_scl_stuck_at_low | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_start_det | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_stop_det | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_tx_abort | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_tx_empty | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_enabled_it_tx_over | ( | i2c_regs_t * | I2Cx | ) |