Functions | |
__STATIC_INLINE uint32_t | ll_i2c_get_it_flag (i2c_regs_t *I2Cx) |
Get I2C interrupt flags. More... | |
__STATIC_INLINE uint32_t | ll_i2c_get_raw_it_flag (i2c_regs_t *I2Cx) |
Get I2C RAW interrupt flags. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_scl_stuck_at_low (i2c_regs_t *I2Cx) |
Indicate the status of SCL_STUCK_AT_LOW flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_raw_scl_stuck_at_low (i2c_regs_t *I2Cx) |
Indicate the status of RAW_SCL_STUCK_AT_LOW flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_master_on_hold (i2c_regs_t *I2Cx) |
Indicate the status of MST_ON_HOLD flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_raw_master_on_hold (i2c_regs_t *I2Cx) |
Indicate the status of RAW_MST_ON_HOLD flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_restart_det (i2c_regs_t *I2Cx) |
Indicate the status of RESTART_DET flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_raw_restart_det (i2c_regs_t *I2Cx) |
Indicate the status of RAW_RESTART_DET flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_gen_call (i2c_regs_t *I2Cx) |
Indicate the status of GEN_CALL flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_raw_gen_call (i2c_regs_t *I2Cx) |
Indicate the status of RAW_GEN_CALL flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_start_det (i2c_regs_t *I2Cx) |
Indicate the status of START_DET flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_raw_start_det (i2c_regs_t *I2Cx) |
Indicate the status of RAW_START_DET flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_stop_det (i2c_regs_t *I2Cx) |
Indicate the status of STOP_DET flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_raw_stop_det (i2c_regs_t *I2Cx) |
Indicate the status of RAW_STOP_DET flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_activity (i2c_regs_t *I2Cx) |
Indicate the status of ACTIVITY flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_raw_activity (i2c_regs_t *I2Cx) |
Indicate the status of RAW_ACTIVITY flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_rx_done (i2c_regs_t *I2Cx) |
Indicate the status of RX_DONE flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_raw_rx_done (i2c_regs_t *I2Cx) |
Indicate the status of RAW_RX_DONE flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_tx_abort (i2c_regs_t *I2Cx) |
Indicate the status of TX_ABRT flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_raw_tx_abort (i2c_regs_t *I2Cx) |
Indicate the status of RAW_TX_ABRT flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_read_req (i2c_regs_t *I2Cx) |
Indicate the status of RD_REQ flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_raw_read_req (i2c_regs_t *I2Cx) |
Indicate the status of RAW_RD_REQ flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_tx_empty (i2c_regs_t *I2Cx) |
Indicate the status of TX_EMPTY flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_raw_tx_empty (i2c_regs_t *I2Cx) |
Indicate the status of RAW_TX_EMPTY flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_tx_over (i2c_regs_t *I2Cx) |
Indicate the status of TX_OVER flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_raw_tx_over (i2c_regs_t *I2Cx) |
Indicate the status of RAW_TX_OVER flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_rx_full (i2c_regs_t *I2Cx) |
Indicate the status of RX_FULL flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_raw_rx_full (i2c_regs_t *I2Cx) |
Indicate the status of RAW_RX_FULL flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_rx_over (i2c_regs_t *I2Cx) |
Indicate the status of RX_OVER flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_raw_rx_over (i2c_regs_t *I2Cx) |
Indicate the status of RAW_RX_OVER flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_rx_under (i2c_regs_t *I2Cx) |
Indicate the status of RX_UNDER flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_raw_rx_under (i2c_regs_t *I2Cx) |
Indicate the status of RAW_RX_UNDER flag. More... | |
__STATIC_INLINE void | ll_i2c_clear_flag_intr (i2c_regs_t *I2Cx) |
Clear the combined interrupt, all individual interrupts, and the IC_TX_ABRT_SOURCE register. More... | |
__STATIC_INLINE void | ll_i2c_clear_flag_scl_stuck_det (i2c_regs_t *I2Cx) |
Clear scl stuck interrupt, all individual interrupts, and the IC_TX_ABRT_SOURCE register. More... | |
__STATIC_INLINE void | ll_i2c_clear_flag_gen_call (i2c_regs_t *I2Cx) |
Clear GEN_CALL flag. More... | |
__STATIC_INLINE void | ll_i2c_clear_flag_start_det (i2c_regs_t *I2Cx) |
Clear START_DET flag. More... | |
__STATIC_INLINE void | ll_i2c_clear_flag_stop_det (i2c_regs_t *I2Cx) |
Clear STOP_DET flag. More... | |
__STATIC_INLINE void | ll_i2c_clear_flag_activity (i2c_regs_t *I2Cx) |
Clear ACTIVITY flag. More... | |
__STATIC_INLINE void | ll_i2c_clear_flag_rx_done (i2c_regs_t *I2Cx) |
Clear RX_DONE flag. More... | |
__STATIC_INLINE void | ll_i2c_clear_flag_tx_abort (i2c_regs_t *I2Cx) |
Clear TX_ABRT flag. More... | |
__STATIC_INLINE void | ll_i2c_clear_flag_read_req (i2c_regs_t *I2Cx) |
Clear RD_REQ flag. More... | |
__STATIC_INLINE void | ll_i2c_clear_flag_tx_over (i2c_regs_t *I2Cx) |
Clear TX_OVER flag. More... | |
__STATIC_INLINE void | ll_i2c_clear_flag_rx_over (i2c_regs_t *I2Cx) |
Clear RX_OVER flag. More... | |
__STATIC_INLINE void | ll_i2c_clear_flag_rx_under (i2c_regs_t *I2Cx) |
Clear RX_UNDER flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_status_sda_stuck_not_recovered (i2c_regs_t *I2Cx) |
Indicate the status of IC_STATUS SDA stuck at low is not recovered flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_status_slave_activity (i2c_regs_t *I2Cx) |
Indicate the status of IC_STATUS Slave FSM Activity Status flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_status_master_activity (i2c_regs_t *I2Cx) |
Indicate the status of IC_STATUS Master FSM Activity Status flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_status_rff (i2c_regs_t *I2Cx) |
Indicate the status of IC_STATUS Receive FIFO Completely Full flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_status_rfne (i2c_regs_t *I2Cx) |
Indicate the status of IC_STATUS Receive FIFO Not Empty flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_status_tfe (i2c_regs_t *I2Cx) |
Indicate the status of IC_STATUS Transmit FIFO Completely Empty flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_status_tfnf (i2c_regs_t *I2Cx) |
Indicate the status of IC_STATUS Transmit FIFO Not Full flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_status_activity (i2c_regs_t *I2Cx) |
Indicate the status of IC_STATUS ACTIVITY flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_slave_rx_data_lost (i2c_regs_t *I2Cx) |
Indicate the status of Slave Received Data Lost flag. More... | |
__STATIC_INLINE uint32_t | ll_i2c_is_active_flag_slave_dis_whl_busy (i2c_regs_t *I2Cx) |
Indicate the status of Slave Disabled While Busy flag. More... | |
__STATIC_INLINE void ll_i2c_clear_flag_activity | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_clear_flag_gen_call | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_clear_flag_intr | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_clear_flag_read_req | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_clear_flag_rx_done | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_clear_flag_rx_over | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_clear_flag_rx_under | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_clear_flag_scl_stuck_det | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_clear_flag_start_det | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_clear_flag_stop_det | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_clear_flag_tx_abort | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE void ll_i2c_clear_flag_tx_over | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_get_it_flag | ( | i2c_regs_t * | I2Cx | ) |
Get I2C interrupt flags.
Register|BitsName ---------------|--------------- INT_STAT | MST_ON_HOLD INT_STAT | RESTART_DET INT_STAT | GEN_CALL INT_STAT | START_DET INT_STAT | STOP_DET INT_STAT | ACTIVITY INT_STAT | RX_DONE INT_STAT | TX_ABRT INT_STAT | RD_REQ INT_STAT | TX_EMPTY INT_STAT | TX_OVER INT_STAT | RX_FULL INT_STAT | RX_OVER INT_STAT | RX_UNDER
I2Cx | I2C instance. |
__STATIC_INLINE uint32_t ll_i2c_get_raw_it_flag | ( | i2c_regs_t * | I2Cx | ) |
Get I2C RAW interrupt flags.
Register|BitsName ---------------|--------------- RAW_INT_STAT | MST_ON_HOLD RAW_INT_STAT | RESTART_DET RAW_INT_STAT | GEN_CALL RAW_INT_STAT | START_DET RAW_INT_STAT | STOP_DET RAW_INT_STAT | ACTIVITY RAW_INT_STAT | RX_DONE RAW_INT_STAT | TX_ABRT RAW_INT_STAT | RD_REQ RAW_INT_STAT | TX_EMPTY RAW_INT_STAT | TX_OVER RAW_INT_STAT | RX_FULL RAW_INT_STAT | RX_OVER RAW_INT_STAT | RX_UNDER
I2Cx | I2C instance. |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_activity | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_gen_call | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_master_on_hold | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_raw_activity | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of RAW_ACTIVITY flag.
Register|BitsName ---------------|--------------- RAW_INT_STAT | ACTIVITY
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_raw_gen_call | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of RAW_GEN_CALL flag.
Register|BitsName ---------------|--------------- RAW_INT_STAT | GEN_CALL
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_raw_master_on_hold | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of RAW_MST_ON_HOLD flag.
Register|BitsName ---------------|--------------- RAW_INT_STAT | M_HOLD
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_raw_read_req | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_raw_restart_det | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of RAW_RESTART_DET flag.
Register|BitsName ---------------|--------------- RAW_INT_STAT | RESTART_DET
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_raw_rx_done | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of RAW_RX_DONE flag.
Register|BitsName ---------------|--------------- RAW_INT_STAT | RX_DONE
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_raw_rx_full | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of RAW_RX_FULL flag.
Register|BitsName ---------------|--------------- RAW_INT_STAT | RX_FULL
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_raw_rx_over | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of RAW_RX_OVER flag.
Register|BitsName ---------------|--------------- RAW_INT_STAT | RX_OVER
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_raw_rx_under | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of RAW_RX_UNDER flag.
Register|BitsName ---------------|--------------- RAW_INT_STAT | RX_UNDER
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_raw_scl_stuck_at_low | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of RAW_SCL_STUCK_AT_LOW flag.
Register|BitsName ---------------|--------------- RAW_INT_STAT | RAW_SCL_STUCK_AT_LOW
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_raw_start_det | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of RAW_START_DET flag.
Register|BitsName ---------------|--------------- RAW_INT_STAT | START_DET
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_raw_stop_det | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of RAW_STOP_DET flag.
Register|BitsName ---------------|--------------- RAW_INT_STAT | STOP_DET
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_raw_tx_abort | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of RAW_TX_ABRT flag.
Register|BitsName ---------------|--------------- RAW_INT_STAT | TX_ABORT
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_raw_tx_empty | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of RAW_TX_EMPTY flag.
Register|BitsName ---------------|--------------- RAW_INT_STAT | TX_EMPTY
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_raw_tx_over | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of RAW_TX_OVER flag.
Register|BitsName ---------------|--------------- RAW_INT_STAT | TX_OVER
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_read_req | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_restart_det | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of RESTART_DET flag.
Register|BitsName ---------------|--------------- INT_STAT | RESTART_DET
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_rx_done | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_rx_full | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_rx_over | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_rx_under | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_scl_stuck_at_low | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of SCL_STUCK_AT_LOW flag.
Register|BitsName ---------------|--------------- INT_STAT | SCL_STUCK_AT_LOW
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_slave_dis_whl_busy | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of Slave Disabled While Busy flag.
Register|BitsName ---------------|--------------- EN_STAT | S_DIS_BUSY
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_slave_rx_data_lost | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of Slave Received Data Lost flag.
Register|BitsName ---------------|--------------- EN_STAT | S_RX_DATA_LOST
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_start_det | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_status_activity | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_status_master_activity | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of IC_STATUS Master FSM Activity Status flag.
Register|BitsName ---------------|--------------- STAT | M_ACTIVITY
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_status_rff | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of IC_STATUS Receive FIFO Completely Full flag.
Register|BitsName ---------------|--------------- STAT | RX_FIFO_CF
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_status_rfne | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of IC_STATUS Receive FIFO Not Empty flag.
Register|BitsName ---------------|--------------- STAT | RX_FIFO_NE
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_status_sda_stuck_not_recovered | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of IC_STATUS SDA stuck at low is not recovered flag.
Register|BitsName ---------------|--------------- STAT | SDA_STUCK_RCVR
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_status_slave_activity | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of IC_STATUS Slave FSM Activity Status flag.
Register|BitsName ---------------|--------------- STAT | S_ACTIVITY
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_status_tfe | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of IC_STATUS Transmit FIFO Completely Empty flag.
Register|BitsName ---------------|--------------- STAT | TX_FIFO_CE
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_status_tfnf | ( | i2c_regs_t * | I2Cx | ) |
Indicate the status of IC_STATUS Transmit FIFO Not Full flag.
Register|BitsName ---------------|--------------- STAT | TX_FIFO_NF
I2Cx | I2C instance. |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_stop_det | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_tx_abort | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_tx_empty | ( | i2c_regs_t * | I2Cx | ) |
__STATIC_INLINE uint32_t ll_i2c_is_active_flag_tx_over | ( | i2c_regs_t * | I2Cx | ) |