HAL TIM APIs ¶
-
HAL Timer Functions
- Timer Initialization/Deinitialization function
- Timer Peripheral State, Error functions, Kernel Clock Frequency.
-
Timer Timebase configuration and control
-
HAL_TIM_SetConfig() -
HAL_TIM_GetConfig() -
HAL_TIM_SetPeriod() -
HAL_TIM_GetPeriod() -
HAL_TIM_SetDitheredPeriod() -
HAL_TIM_GetDitheredPeriod() -
HAL_TIM_SetPrescaler() -
HAL_TIM_GetPrescaler() -
HAL_TIM_SetCounterMode() -
HAL_TIM_GetCounterMode() -
HAL_TIM_SetClockDivision() -
HAL_TIM_GetClockDivision() -
HAL_TIM_SetRepetitionCounter() -
HAL_TIM_GetRepetitionCounter() -
HAL_TIM_SetClockSource() -
HAL_TIM_GetClockSource() -
HAL_TIM_SetCounter() -
HAL_TIM_GetCounter() -
HAL_TIM_EnableUpdateGeneration() -
HAL_TIM_DisableUpdateGeneration() -
HAL_TIM_IsEnabledUpdateGeneration() -
HAL_TIM_SetUpdateSource() -
HAL_TIM_GetUpdateSource() -
HAL_TIM_EnableUpdateFlagRemap() -
HAL_TIM_DisableUpdateFlagRemap() -
HAL_TIM_IsEnabledUpdateFlagRemap() -
HAL_TIM_EnableAutoReloadPreload() -
HAL_TIM_DisableAutoReloadPreload() -
HAL_TIM_IsEnabledAutoReloadPreload() -
HAL_TIM_EnableDithering() -
HAL_TIM_DisableDithering() -
HAL_TIM_IsEnabledDithering() -
HAL_TIM_SetCaptureCompareDMAReqSource() -
HAL_TIM_GetCaptureCompareDMAReqSource() -
HAL_TIM_Start() -
HAL_TIM_Stop() -
HAL_TIM_Start_IT() -
HAL_TIM_Start_IT_Opt() -
HAL_TIM_Stop_IT() -
HAL_TIM_Start_DMA() -
HAL_TIM_Start_DMA_Opt() -
HAL_TIM_Stop_DMA()
-
-
Timer Output Channel functions
-
HAL_TIM_OC_SetConfigCompareUnit() -
HAL_TIM_OC_GetConfigCompareUnit() -
HAL_TIM_OC_SetCompareUnitPulse() -
HAL_TIM_OC_GetCompareUnitPulse() -
HAL_TIM_OC_SetCompareUnitDitheredPulse() -
HAL_TIM_OC_GetCompareUnitDitheredPulse() -
HAL_TIM_OC_SetConfigChannel() -
HAL_TIM_OC_GetConfigChannel() -
HAL_TIM_OC_SetPulseGenerator() -
HAL_TIM_OC_GetPulseGenerator() -
HAL_TIM_OC_SetGroupChannel() -
HAL_TIM_OC_GetGroupChannel() -
HAL_TIM_OC_EnableChannelComparePreload() -
HAL_TIM_OC_DisableChannelComparePreload() -
HAL_TIM_OC_IsEnabledChannelComparePreload() -
HAL_TIM_OC_EnableChannelFastMode() -
HAL_TIM_OC_DisableChannelFastMode() -
HAL_TIM_OC_IsEnabledChannelFastMode() -
HAL_TIM_OC_StartChannel() -
HAL_TIM_OC_StopChannel() -
HAL_TIM_OC_StartChannel_IT() -
HAL_TIM_OC_StopChannel_IT() -
HAL_TIM_OC_StartChannel_DMA() -
HAL_TIM_OC_StartChannel_DMA_Opt() -
HAL_TIM_OC_StopChannel_DMA() -
hal_tim_oc_channel_to_compare_unit()
-
-
Timer Input Channel functions
-
HAL_TIM_IC_SetConfigChannel() -
HAL_TIM_IC_GetConfigChannel() -
HAL_TIM_IC_SetChannelSource() -
HAL_TIM_IC_GetChannelSource() -
HAL_TIM_IC_SetConfigCaptureUnit() -
HAL_TIM_IC_GetConfigCaptureUnit() -
HAL_TIM_IC_EnableXORGate() -
HAL_TIM_IC_DisableXORGate() -
HAL_TIM_IC_IsEnabledXORGate() -
HAL_TIM_IC_ReadChannelCapturedValue() -
HAL_TIM_IC_StartChannel() -
HAL_TIM_IC_StopChannel() -
HAL_TIM_IC_StartChannel_IT() -
HAL_TIM_IC_StopChannel_IT() -
HAL_TIM_IC_StartChannel_DMA() -
HAL_TIM_IC_StartChannel_DMA_Opt() -
HAL_TIM_IC_StopChannel_DMA() -
hal_tim_ic_channel_to_direct_capture_unit() -
hal_tim_ic_channel_to_indirect_capture_unit()
-
- Timer One-Pulse functions
- Timer Encoder Index functions
- Timer External Trigger configuration
-
Timer Master/Slave functions
-
HAL_TIM_SetSynchroSlave() -
HAL_TIM_GetSynchroSlave() -
HAL_TIM_SetTriggerOutput() -
HAL_TIM_GetTriggerOutput() -
HAL_TIM_SetTriggerOutput2() -
HAL_TIM_GetTriggerOutput2() -
HAL_TIM_EnableSlaveModePreload() -
HAL_TIM_DisableSlaveModePreload() -
HAL_TIM_IsEnabledSlaveModePreload() -
HAL_TIM_EnableMasterSlaveMode() -
HAL_TIM_DisableMasterSlaveMode() -
HAL_TIM_IsEnabledMasterSlaveMode()
-
- Timer OCRef Clear functions
- Timer DMA Burst functions
-
Timer Break functions
-
HAL_TIM_BREAK_SetConfigInput() -
HAL_TIM_BREAK_GetConfigInput() -
HAL_TIM_BREAK_SetInputPolarity() -
HAL_TIM_BREAK_GetInputPolarity() -
HAL_TIM_BREAK_SetInputFilter() -
HAL_TIM_BREAK_GetInputFilter() -
HAL_TIM_BREAK_SetInputMode() -
HAL_TIM_BREAK_GetInputMode() -
HAL_TIM_BREAK_EnableInput() -
HAL_TIM_BREAK_DisableInput() -
HAL_TIM_BREAK_IsEnabledInput() -
HAL_TIM_BREAK_RearmInput() -
HAL_TIM_BREAK_SetInputSourcePolarity() -
HAL_TIM_BREAK_GetInputSourcePolarity() -
HAL_TIM_BREAK_EnableInputSource() -
HAL_TIM_BREAK_DisableInputSource() -
HAL_TIM_BREAK_IsEnabledInputSource() -
HAL_TIM_BREAK_EnableMainOutput() -
HAL_TIM_BREAK_DisableMainOutput() -
HAL_TIM_BREAK_IsEnabledMainOutput() -
HAL_TIM_BREAK_EnableAutomaticOutput() -
HAL_TIM_BREAK_DisableAutomaticOutput() -
HAL_TIM_BREAK_IsEnabledAutomaticOutput() -
HAL_TIM_BREAK_SetOutputOffStates() -
HAL_TIM_BREAK_GetOutputOffStates()
-
- Timer Deadtime functions
- Timer Protection
- Timer Commutation control
- Timer SW Event Generation
-
Timer IRQ Handler and Callbacks functions
-
HAL_TIM_IRQHandler() -
HAL_TIM_UPD_IRQHandler() -
HAL_TIM_CC_IRQHandler() -
HAL_TIM_BRK_TERR_IERR_IRQHandler() -
HAL_TIM_TRGI_COM_DIR_IDX_IRQHandler() -
HAL_TIM_ErrorCallback() -
HAL_TIM_StopCallback() -
HAL_TIM_ChannelStopCallback() -
HAL_TIM_UpdateCallback() -
HAL_TIM_UpdateHalfCpltCallback() -
HAL_TIM_TriggerCallback() -
HAL_TIM_TriggerHalfCpltCallback() -
HAL_TIM_InputCaptureCallback() -
HAL_TIM_InputCaptureHalfCpltCallback() -
HAL_TIM_CompareMatchCallback() -
HAL_TIM_CompareMatchHalfCpltCallback() -
HAL_TIM_CommutationCallback() -
HAL_TIM_CommutationHalfCpltCallback() -
HAL_TIM_BreakCallback() -
HAL_TIM_Break2Callback() -
HAL_TIM_SystemBreakCallback() -
HAL_TIM_EncoderIndexCallback() -
HAL_TIM_DirectionChangeCallback() -
HAL_TIM_IndexErrorCallback() -
HAL_TIM_TransitionErrorCallback() -
HAL_TIM_RegisterErrorCallback() -
HAL_TIM_RegisterStopCallback() -
HAL_TIM_RegisterChannelStopCallback() -
HAL_TIM_RegisterUpdateCallback() -
HAL_TIM_RegisterUpdateHalfCpltCallback() -
HAL_TIM_RegisterTriggerCallback() -
HAL_TIM_RegisterTriggerHalfCpltCallback() -
HAL_TIM_RegisterInputCaptureCallback() -
HAL_TIM_RegisterInputCaptureHalfCpltCallback() -
HAL_TIM_RegisterCompareMatchCallback() -
HAL_TIM_RegisterCompareMatchHalfCpltCallback() -
HAL_TIM_RegisterCommutationCallback() -
HAL_TIM_RegisterCommutationHalfCpltCallback() -
HAL_TIM_RegisterBreakCallback() -
HAL_TIM_RegisterBreak2Callback() -
HAL_TIM_RegisterSystemBreakCallback() -
HAL_TIM_RegisterEncoderIndexCallback() -
HAL_TIM_RegisterDirectionChangeCallback() -
HAL_TIM_RegisterIndexErrorCallback() -
HAL_TIM_RegisterTransitionErrorCallback()
-
- Timer Setter and Getter of the user data
-
HAL TIM Types
-
HAL TIM Types
-
hal_tim_handle_t -
hal_tim_cb_t -
hal_tim_channel_cb_t -
hal_tim_t -
hal_tim_state_t -
hal_tim_channel_state_t -
hal_tim_channel_t -
hal_tim_counter_mode_t -
hal_tim_clk_division_t -
hal_tim_clk_src_t -
hal_tim_trig_sel_t -
hal_tim_update_generation_status_t -
hal_tim_update_src_t -
hal_tim_update_flag_remap_status_t -
hal_tim_auto_reload_preload_status_t -
hal_tim_filter_t -
hal_tim_oc_compare_unit_t -
hal_tim_oc_mode_t -
hal_tim_oc_polarity_t -
hal_tim_oc_compare_preload_status_t -
hal_tim_oc_channel_fast_mode_status_t -
hal_tim_oc_idle_state_t -
hal_tim_pulse_prescaler_t -
hal_tim_dithering_pattern_t -
hal_tim_dithering_status_t -
hal_tim_ic_capture_unit_t -
hal_tim_ic_polarity_t -
hal_tim_ic_capture_unit_src_t -
hal_tim_ic_capture_unit_prescaler_t -
hal_tim_ic_xor_gate_status_t -
hal_tim_one_pulse_mode_status_t -
hal_tim_encoder_index_dir_t -
hal_tim_encoder_index_blank_mode_t -
hal_tim_encoder_index_pos_sel_t -
hal_tim_encoder_index_sel_t -
hal_tim_encoder_index_status_t -
hal_tim_ext_trig_polarity_t -
hal_tim_ext_trig_prescaler_t -
hal_tim_ext_trig_src_t -
hal_tim_channel_src_t -
hal_tim_master_slave_mode_status_t -
hal_tim_slave_mode_t -
hal_tim_trigger_output_source_t -
hal_tim_trigger_output2_source_t -
hal_tim_slave_mode_preload_status_t -
hal_tim_slave_mode_preload_src_t -
hal_tim_ocrefclear_status_t -
hal_tim_ocrefclear_src_t -
hal_tim_dma_index_t -
hal_tim_dmaburst_base_addr_reg_t -
hal_tim_dmaburst_source_t -
tim_dmaburst_source_t -
hal_tim_dmaburst_length_t -
hal_tim_dmaburst_direction_t -
hal_tim_break_input_id_t -
hal_tim_break_input_polarity_t -
hal_tim_break_input_mode_t -
hal_tim_break_input_status_t -
hal_tim_break_input_src_polarity_t -
hal_tim_break_input_src_status_t -
hal_tim_break_main_output_status_t -
hal_tim_break_automatic_output_status_t -
hal_tim_off_state_run_t -
hal_tim_off_state_idle_t -
hal_tim_deadtime_preload_status_t -
hal_tim_asymmetrical_deadtime_status_t -
hal_tim_lock_level_t -
hal_tim_commutation_src_t -
hal_tim_commutation_status_t -
hal_tim_cc_dmareq_src_t -
hal_tim_sw_event_id_t -
hal_tim_clock_sel_t -
hal_tim_config_t -
hal_tim_oc_compare_unit_config_t -
hal_tim_oc_channel_config_t -
hal_tim_ic_channel_config_t -
hal_tim_ic_capture_unit_config_t -
hal_tim_encoder_index_config_t -
hal_tim_ext_trig_config_t -
hal_tim_slave_config_t -
hal_tim_dmaburst_config_t -
hal_tim_break_input_config_t -
hal_tim_off_states_config_t -
hal_tim_pulse_generator_config_t -
hal_tim_handle_s
-
-
HAL TIM Types
- HAL TIM Constants