mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-09 00:23:00 +00:00
Merge branch 'fix/lp_periph_use_int_raw_v5.3' into 'release/v5.3'
change(lp-core): Update LP I2C and LP UART drivers to use raw interrupt status (v5.3) See merge request espressif/esp-idf!39250
This commit is contained in:
@@ -314,6 +314,19 @@ static inline void i2c_ll_get_intr_mask(i2c_dev_t *hw, uint32_t *intr_status)
|
||||
*intr_status = hw->int_status.val;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get I2C raw interrupt status
|
||||
*
|
||||
* @param hw Beginning address of the peripheral registers
|
||||
*
|
||||
* @return I2C raw interrupt status
|
||||
*/
|
||||
__attribute__((always_inline))
|
||||
static inline void i2c_ll_get_intr_raw_mask(i2c_dev_t *hw, uint32_t *intr_status)
|
||||
{
|
||||
*intr_status = hw->int_raw.val;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Configure I2C memory access mode, FIFO mode or non-FIFO mode
|
||||
*
|
||||
|
Reference in New Issue
Block a user