int32_tadc_out_0; int32_tadc_out_1; int32_tadc_out_2; int32_tadc_out_3; cyhal_adc_channel_t* adc_channels[Channel_Num] = { &adc_chan_0_obj, &adc_chan_1_obj, &adc_chan_2_obj, &adc_chan_3_obj }; zu32result = cyhal_adc_init_cfg(&adc_obj, adc_channels, ...
.\Objects\charger_stm32f0.axf: Error: L6218E: Undefined symbol HAL_ADC_ConfigChannel (referred from main.o)..\Objects\charger_stm32f0.axf: Error: L6218E: Undefined symbol HAL_ADC_Init (referred from main.o).Not enough information to list image symbols.Finished: 1 infor...
ConvMode = DISABLE; hadc.Init.DiscontinuousConvMode = DISABLE; hadc.Init.ExternalTrigConv = ADC_SOFTWARE_START; hadc.Init.ExternalTrigConvEdge = ADC_EXTERNALTRIGCONVEDGE_NONE; hadc.Init.DMAContinuousRequests = ENABLE; hadc.Init.Overrun = ADC_OVR_DATA_OVERWRITTEN; if (HAL_ADC_Init(&hadc) !
hal { ($ADC:ident, $ADC_COMMON:ident, $adc:ident, $rcc_num:tt) => { impl Adc<pac::$ADC> { paste! { /// Initialize an ADC peripheral, including configuration register writes, and enabling and resetting /// its RCC peripheral clock....
.vref =CYHAL_ADC_REF_VDDA, .vneg =CYHAL_ADC_VNEG_VSSA }; Hello@Imam_M, This is an adc_config struct what I define, and the picture is adc_obj struct configuration after cyhal_adc_init_cfg function. (I used Device configurator for setting ADC.) ...