HAL CRS APIs ¶ HAL CRS Functions Initialization and DeInitialization functions HAL_CRS_Init() HAL_CRS_DeInit() Configuration functions HAL_CRS_SetConfig() HAL_CRS_GetConfig() HAL_CRS_ResetConfig() HAL_CRS_SetTrimming() HAL_CRS_GetTrimming() HAL_CRS_GetFrequencyErrorInfo() Control functions HAL_CRS_EnableAutoTrimming() HAL_CRS_DisableAutoTrimming() HAL_CRS_IsEnabledAutoTrimming() HAL_CRS_StartSync() HAL_CRS_StopSync() HAL_CRS_StartSync_IT() HAL_CRS_StopSync_IT() Process functions HAL_CRS_GenerateSoftwareSync() HAL_CRS_PollForSync() IRQHandler and Callbacks functions HAL_CRS_IRQHandler() HAL_CRS_SyncOkCallback() HAL_CRS_SyncWarnCallback() HAL_CRS_ExpectedSyncCallback() HAL_CRS_ErrorCallback() HAL_CRS_RegisterSyncOkCallback() HAL_CRS_RegisterSyncWarnCallback() HAL_CRS_RegisterExpectedSyncCallback() HAL_CRS_RegisterErrorCallback() State functions HAL_CRS_GetState() Error functions HAL_CRS_GetLastErrorCodes() Set/Get user data functions HAL_CRS_SetUserData() HAL_CRS_GetUserData() HAL CRS Types Enumerations hal_crs_auto_trimming_status_t hal_crs_auto_trimming_state_t hal_crs_sync_source_t hal_crs_sync_div_t hal_crs_sync_polarity_t hal_crs_frequency_error_dir_t hal_crs_state_t hal_crs_t hal_crs_sync_source_t::HAL_CRS_SYNC_SOURCE_USB Handle Structure hal_crs_handle_t hal_crs_cb_t hal_crs_handle_s Configuration Structure hal_crs_config_t Synchronization Structure hal_crs_frequency_error_info_t HAL CRS Constants Error Code Reload Default Value Error Default Value Trimming Default Value