Merge branch 'bugfix/systimer_counter_value_bit_field_v4.4' into 'release/v4.4'

HAL: Fix systimer counter value bit field (v4.4)

See merge request espressif/esp-idf!18254
This commit is contained in:
morris 2022-05-26 10:16:39 +08:00
commit 992b4ffb1e

View File

@ -30,6 +30,9 @@ typedef struct {
struct {
uint64_t lo : SOC_SYSTIMER_BIT_WIDTH_LO; /*!< Low part of counter value */
uint64_t hi : SOC_SYSTIMER_BIT_WIDTH_HI; /*!< High part of counter value */
#if (SOC_SYSTIMER_BIT_WIDTH_LO + SOC_SYSTIMER_BIT_WIDTH_HI) < 64
uint64_t reserved: (64 - (SOC_SYSTIMER_BIT_WIDTH_LO + SOC_SYSTIMER_BIT_WIDTH_HI));
#endif
};
uint64_t val; /*!< counter value */
};