Skip to content

Commit

Permalink
Adc calibration
Browse files Browse the repository at this point in the history
  • Loading branch information
Candas1 committed Oct 23, 2023
1 parent 4d117ba commit deb7ff7
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ void _driverSyncLowSide(void* _driver_params, void* _cs_params){
}
// set the trigger output event
LL_TIM_SetTriggerOutput(cs_params->timer_handle->getHandle()->Instance, LL_TIM_TRGO_UPDATE);

// Start the adc calibration
HAL_ADCEx_Calibration_Start(cs_params->adc_handle);

// start the adc
HAL_ADCEx_InjectedStart_IT(cs_params->adc_handle);

Expand Down

0 comments on commit deb7ff7

Please sign in to comment.