fix(adc): fix P4 ADC2 oneshot error and refactor apb claim macor

This commit is contained in:
gaoxu
2026-01-16 14:26:56 +08:00
committed by BOT
parent 340d7655ad
commit 286d9b2091
12 changed files with 48 additions and 31 deletions
@@ -30,6 +30,8 @@ extern "C" {
#define ADC_LL_EVENT_ADC1_ONESHOT_DONE BIT(31)
#define ADC_LL_EVENT_ADC2_ONESHOT_DONE BIT(30)
#define ADC_LL_NEED_APB_PERIPH_CLAIM(ADC_UNIT) (1)
/*---------------------------------------------------------------
Oneshot
---------------------------------------------------------------*/