management functions More...
Functions | |
void | HRTIM_ADCTriggerConfig (HRTIM_TypeDef *HRTIMx, uint32_t ADCTrigger, HRTIM_ADCTriggerCfgTypeDef *pADCTriggerCfg) |
Configures both the ADC trigger register update source and the ADC trigger source. More... | |
void | HRTIM_BurstDMAConfig (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t RegistersToUpdate) |
Configures the burst DMA controller for a timer. More... | |
void | HRTIM_BurstModeConfig (HRTIM_TypeDef *HRTIMx, HRTIM_BurstModeCfgTypeDef *pBurstModeCfg) |
Configures the burst mode feature of the HRTIMx. More... | |
void | HRTIM_BurstModeCtl (HRTIM_TypeDef *HRTIMx, uint32_t Enable) |
Enables or disables the HRTIMx burst mode controller. More... | |
void | HRTIM_ChopperModeConfig (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, HRTIM_ChopperModeCfgTypeDef *pChopperModeCfg) |
Configures the chopper mode feature for a timer. More... | |
void | HRTIM_DeadTimeConfig (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, HRTIM_DeadTimeCfgTypeDef *pDeadTimeCfg) |
Configures the dead time insertion feature for a timer. More... | |
void | HRTIM_EventConfig (HRTIM_TypeDef *HRTIMx, uint32_t Event, HRTIM_EventCfgTypeDef *pEventCfg) |
Configures the conditioning of an external event. More... | |
void | HRTIM_EventPrescalerConfig (HRTIM_TypeDef *HRTIMx, uint32_t Prescaler) |
Configures the external event conditioning block prescaler. More... | |
void | HRTIM_FaultConfig (HRTIM_TypeDef *HRTIMx, HRTIM_FaultCfgTypeDef *pFaultCfg, uint32_t Fault) |
Configures the conditioning of fault input. More... | |
void | HRTIM_FaultModeCtl (HRTIM_TypeDef *HRTIMx, uint32_t Fault, uint32_t Enable) |
Enables or disables the HRTIMx Fault mode. More... | |
void | HRTIM_FaultPrescalerConfig (HRTIM_TypeDef *HRTIMx, uint32_t Prescaler) |
Configures the fault conditioning block prescaler. More... | |
void | HRTIM_MasterSetCompare (HRTIM_TypeDef *HRTIMx, uint32_t CompareUnit, uint32_t Compare) |
Sets the HRTIMx Master Comparex Register value. More... | |
void | HRTIM_SimpleCaptureChannelConfig (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t CaptureChannel, HRTIM_BasicCaptureChannelCfgTypeDef *pBasicCaptureChannelCfg) |
Configures a basic capture. More... | |
void | HRTIM_SimpleOCChannelConfig (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t OCChannel, HRTIM_BasicOCChannelCfgTypeDef *pBasicOCChannelCfg) |
Configures an output in basic output compare mode. More... | |
void | HRTIM_SimpleOnePulseChannelConfig (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t OnePulseChannel, HRTIM_BasicOnePulseChannelCfgTypeDef *pBasicOnePulseChannelCfg) |
Configures an output basic one pulse mode. More... | |
void | HRTIM_SimplePWMChannelConfig (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t PWMChannel, HRTIM_BasicPWMChannelCfgTypeDef *pBasicPWMChannelCfg) |
Configures an output in basic PWM mode. More... | |
void | HRTIM_SlaveSetCompare (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t CompareUnit, uint32_t Compare) |
Sets the HRTIMx Slave Comparex Register value. More... | |
void | HRTIM_SoftwareCapture (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t CaptureUnit) |
Triggers a software capture on the designed capture unit. More... | |
void | HRTIM_SoftwareReset (HRTIM_TypeDef *HRTIMx, uint32_t TimersToReset) |
Triggers the reset of one or several timers. More... | |
void | HRTIM_SoftwareUpdate (HRTIM_TypeDef *HRTIMx, uint32_t TimersToUpdate) |
Triggers the update of the registers of one or several timers. More... | |
void | HRTIM_SynchronizationConfig (HRTIM_TypeDef *HRTIMx, HRTIM_SynchroCfgTypeDef *pSynchroCfg) |
Configures the external input/output synchronization of the HRTIMx. More... | |
void | HRTIM_TimerEventFilteringConfig (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t Event, HRTIM_TimerEventFilteringCfgTypeDef *pTimerEventFilteringCfg) |
Configures the event filtering capabilities of a timer (blanking, windowing) More... | |
void | HRTIM_WaveformCaptureConfig (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t CaptureUnit, HRTIM_CaptureCfgTypeDef *pCaptureCfg) |
Configures the capture unit of a timer operating in waveform mode. More... | |
void | HRTIM_WaveformCompareConfig (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t CompareUnit, HRTIM_CompareCfgTypeDef *pCompareCfg) |
Configures the compare unit of a timer operating in waveform mode. More... | |
void | HRTIM_WaveformOutputConfig (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t Output, HRTIM_OutputCfgTypeDef *pOutputCfg) |
Configures the output of a timer operating in waveform mode. More... | |
void | HRTIM_WaveformSetOutputLevel (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t Output, uint32_t OutputLevel) |
Forces the timer output to its active or inactive state. More... | |
void | HRTIM_WaveformTimerConfig (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, HRTIM_TimerCfgTypeDef *pTimerCfg) |
Configures the general behavior of a timer operating in waveform mode. More... | |
management functions
=============================================================================== ##### Peripheral Control methods ##### =============================================================================== [..] This subsection provides a set of functions allowing to control the HRTIMx data transfers.
void HRTIM_ADCTriggerConfig | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | ADCTrigger, | ||
HRTIM_ADCTriggerCfgTypeDef * | pADCTriggerCfg | ||
) |
Configures both the ADC trigger register update source and the ADC trigger source.
HRTIMx | pointer to HRTIMx peripheral |
ADC | trigger: ADC trigger to configure This parameter can be one of the following values:
|
pADCTriggerCfg | pointer to the ADC trigger configuration structure |
None |
Definition at line 2814 of file stm32f30x_hrtim.c.
void HRTIM_BurstDMAConfig | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | TimerIdx, | ||
uint32_t | RegistersToUpdate | ||
) |
Configures the burst DMA controller for a timer.
HRTIMx | pointer to HRTIMx peripheral |
TimerIdx | Timer index This parameter can be one of the following values:
|
RegistersToUpdate | registers to be written by DMA This parameter can be any combination of the following values:
|
None |
Definition at line 2428 of file stm32f30x_hrtim.c.
void HRTIM_BurstModeConfig | ( | HRTIM_TypeDef * | HRTIMx, |
HRTIM_BurstModeCfgTypeDef * | pBurstModeCfg | ||
) |
Configures the burst mode feature of the HRTIMx.
HRTIMx | pointer to HRTIMx peripheral |
pBurstModeCfg | pointer to the burst mode configuration structure |
None |
Definition at line 2512 of file stm32f30x_hrtim.c.
void HRTIM_BurstModeCtl | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | Enable | ||
) |
Enables or disables the HRTIMx burst mode controller.
HRTIMx | pointer to HRTIMx peripheral |
Enable | Burst mode controller enabling This parameter can be one of the following values:
|
None |
Definition at line 2882 of file stm32f30x_hrtim.c.
void HRTIM_ChopperModeConfig | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | TimerIdx, | ||
HRTIM_ChopperModeCfgTypeDef * | pChopperModeCfg | ||
) |
Configures the chopper mode feature for a timer.
HRTIMx | pointer to HRTIMx peripheral |
TimerIdx | Timer index This parameter can be one of the following values:
|
pChopperModeCfg | pointer to the chopper mode configuration structure |
None |
Definition at line 2373 of file stm32f30x_hrtim.c.
void HRTIM_DeadTimeConfig | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | TimerIdx, | ||
HRTIM_DeadTimeCfgTypeDef * | pDeadTimeCfg | ||
) |
Configures the dead time insertion feature for a timer.
HRTIMx | pointer to HRTIMx peripheral |
TimerIdx | Timer index This parameter can be one of the following values:
|
pDeadTimeCfg | pointer to the dead time insertion configuration structure |
None |
Definition at line 2327 of file stm32f30x_hrtim.c.
void HRTIM_EventConfig | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | Event, | ||
HRTIM_EventCfgTypeDef * | pEventCfg | ||
) |
Configures the conditioning of an external event.
HRTIMx | pointer to HRTIMx peripheral |
Event | external event to configure This parameter can be one of the following values:
|
pEventCfg | pointer to the event conditioning configuration structure |
None |
Definition at line 2572 of file stm32f30x_hrtim.c.
void HRTIM_EventPrescalerConfig | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | Prescaler | ||
) |
Configures the external event conditioning block prescaler.
HRTIMx | pointer to HRTIMx peripheral |
Prescaler | Prescaler value This parameter can be one of the following values:
|
None |
Definition at line 2599 of file stm32f30x_hrtim.c.
void HRTIM_FaultConfig | ( | HRTIM_TypeDef * | HRTIMx, |
HRTIM_FaultCfgTypeDef * | pFaultCfg, | ||
uint32_t | Fault | ||
) |
Configures the conditioning of fault input.
HRTIMx | pointer to HRTIMx peripheral |
Fault | fault input to configure This parameter can be one of the following values:
|
pFaultCfg | pointer to the fault conditioning configuration structure |
None |
Definition at line 2629 of file stm32f30x_hrtim.c.
void HRTIM_FaultModeCtl | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | Fault, | ||
uint32_t | Enable | ||
) |
Enables or disables the HRTIMx Fault mode.
HRTIMx | pointer to HRTIMx peripheral |
Fault | fault input to configure This parameter can be one of the following values:
|
Enable | Fault mode controller enabling This parameter can be one of the following values:
|
None |
Definition at line 2747 of file stm32f30x_hrtim.c.
void HRTIM_FaultPrescalerConfig | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | Prescaler | ||
) |
Configures the fault conditioning block prescaler.
HRTIMx | pointer to HRTIMx peripheral |
Prescaler | Prescaler value This parameter can be one of the following values:
|
None |
Definition at line 2714 of file stm32f30x_hrtim.c.
void HRTIM_MasterSetCompare | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | CompareUnit, | ||
uint32_t | Compare | ||
) |
Sets the HRTIMx Master Comparex Register value.
HRTIMx | pointer to HRTIMx peripheral |
CompareUnit | Compare unit to configure This parameter can be one of the following values:
|
Compare | specifies the Comparex register new value |
None |
Definition at line 2025 of file stm32f30x_hrtim.c.
void HRTIM_SimpleCaptureChannelConfig | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | TimerIdx, | ||
uint32_t | CaptureChannel, | ||
HRTIM_BasicCaptureChannelCfgTypeDef * | pBasicCaptureChannelCfg | ||
) |
Configures a basic capture.
HRTIMx | pointer to HRTIMx peripheral |
TimerIdx | Timer index This parameter can be one of the following values:
|
CaptureChannel | Capture unit This parameter can be one of the following values:
|
pBasicCaptureChannelCfg | pointer to the basic capture configuration structure |
None |
Definition at line 1678 of file stm32f30x_hrtim.c.
void HRTIM_SimpleOCChannelConfig | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | TimerIdx, | ||
uint32_t | OCChannel, | ||
HRTIM_BasicOCChannelCfgTypeDef * | pBasicOCChannelCfg | ||
) |
Configures an output in basic output compare mode.
HRTIMx | pointer to HRTIMx peripheral |
TimerIdx | Timer index This parameter can be one of the following values:
|
OCChannel | Timer output This parameter can be one of the following values:
|
pBasicOCChannelCfg | pointer to the basic output compare output configuration structure |
None |
Definition at line 1460 of file stm32f30x_hrtim.c.
void HRTIM_SimpleOnePulseChannelConfig | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | TimerIdx, | ||
uint32_t | OnePulseChannel, | ||
HRTIM_BasicOnePulseChannelCfgTypeDef * | pBasicOnePulseChannelCfg | ||
) |
Configures an output basic one pulse mode.
HRTIMx | pointer to HRTIMx peripheral |
TimerIdx | Timer index This parameter can be one of the following values:
|
OnePulseChannel | Timer output This parameter can be one of the following values:
|
pBasicOnePulseChannelCfg | pointer to the basic one pulse output configuration structure |
None |
Definition at line 1742 of file stm32f30x_hrtim.c.
void HRTIM_SimplePWMChannelConfig | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | TimerIdx, | ||
uint32_t | PWMChannel, | ||
HRTIM_BasicPWMChannelCfgTypeDef * | pBasicPWMChannelCfg | ||
) |
Configures an output in basic PWM mode.
HRTIMx | pointer to HRTIMx peripheral |
TimerIdx | Timer index This parameter can be one of the following values:
|
PWMChannel | Timer output This parameter can be one of the following values:
|
pBasicPWMChannelCfg | pointer to the basic PWM output configuration structure |
None |
Definition at line 1592 of file stm32f30x_hrtim.c.
void HRTIM_SlaveSetCompare | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | TimerIdx, | ||
uint32_t | CompareUnit, | ||
uint32_t | Compare | ||
) |
Sets the HRTIMx Slave Comparex Register value.
HRTIMx | pointer to HRTIMx peripheral |
CompareUnit | Compare unit to configure This parameter can be one of the following values:
|
Compare | specifies the Comparex register new value |
None |
Definition at line 2076 of file stm32f30x_hrtim.c.
void HRTIM_SoftwareCapture | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | TimerIdx, | ||
uint32_t | CaptureUnit | ||
) |
Triggers a software capture on the designed capture unit.
HRTIMx | pointer to HRTIMx peripheral |
TimerIdx | Timer index This parameter can be one of the following values:
|
CaptureUnit | Capture unit to trig This parameter can be one of the following values:
|
None |
Definition at line 2912 of file stm32f30x_hrtim.c.
void HRTIM_SoftwareReset | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | TimersToReset | ||
) |
Triggers the reset of one or several timers.
HRTIMx | pointer to HRTIMx peripheral |
TimersToUpdate | timers concerned with the software counter reset This parameter can be any combination of the following values:
|
None |
Definition at line 2979 of file stm32f30x_hrtim.c.
void HRTIM_SoftwareUpdate | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | TimersToUpdate | ||
) |
Triggers the update of the registers of one or several timers.
HRTIMx | pointer to HRTIMx peripheral |
TimersToUpdate | timers concerned with the software register update This parameter can be any combination of the following values:
|
None |
Definition at line 2953 of file stm32f30x_hrtim.c.
void HRTIM_SynchronizationConfig | ( | HRTIM_TypeDef * | HRTIMx, |
HRTIM_SynchroCfgTypeDef * | pSynchroCfg | ||
) |
Configures the external input/output synchronization of the HRTIMx.
HRTIMx | pointer to HRTIMx peripheral |
pSynchroCfg | pointer to the input/output synchronization configuration structure |
None |
Definition at line 2479 of file stm32f30x_hrtim.c.
void HRTIM_TimerEventFilteringConfig | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | TimerIdx, | ||
uint32_t | Event, | ||
HRTIM_TimerEventFilteringCfgTypeDef * | pTimerEventFilteringCfg | ||
) |
Configures the event filtering capabilities of a timer (blanking, windowing)
HRTIMx | pointer to HRTIMx peripheral |
TimerIdx | Timer index This parameter can be one of the following values:
|
Event | external event for which timer event filtering must be configured This parameter can be one of the following values:
|
pTimerEventFilteringCfg | pointer to the timer event filtering configuration structure |
None |
Definition at line 2211 of file stm32f30x_hrtim.c.
void HRTIM_WaveformCaptureConfig | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | TimerIdx, | ||
uint32_t | CaptureUnit, | ||
HRTIM_CaptureCfgTypeDef * | pCaptureCfg | ||
) |
Configures the capture unit of a timer operating in waveform mode.
HRTIMx | pointer to HRTIMx peripheral |
TimerIdx | Timer index This parameter can be one of the following values:
|
CaptureChannel | Capture unit to configure This parameter can be one of the following values:
|
pCaptureCfg | pointer to the compare unit configuration structure |
None |
Definition at line 2128 of file stm32f30x_hrtim.c.
void HRTIM_WaveformCompareConfig | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | TimerIdx, | ||
uint32_t | CompareUnit, | ||
HRTIM_CompareCfgTypeDef * | pCompareCfg | ||
) |
Configures the compare unit of a timer operating in waveform mode.
HRTIMx | pointer to HRTIMx peripheral |
TimerIdx | Timer index 0xFF for master timer This parameter can be one of the following values:
|
CompareUnit | Compare unit to configure This parameter can be one of the following values:
|
pCompareCfg | pointer to the compare unit configuration structure |
None |
Definition at line 1932 of file stm32f30x_hrtim.c.
void HRTIM_WaveformOutputConfig | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | TimerIdx, | ||
uint32_t | Output, | ||
HRTIM_OutputCfgTypeDef * | pOutputCfg | ||
) |
Configures the output of a timer operating in waveform mode.
HRTIMx | pointer to HRTIMx peripheral |
TimerIdx | Timer index This parameter can be one of the following values:
|
Output | Timer output This parameter can be one of the following values:
|
pOutputCfg | pointer to the timer output configuration structure |
None |
Definition at line 2172 of file stm32f30x_hrtim.c.
void HRTIM_WaveformSetOutputLevel | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | TimerIdx, | ||
uint32_t | Output, | ||
uint32_t | OutputLevel | ||
) |
Forces the timer output to its active or inactive state.
HRTIMx | pointer to HRTIMx peripheral |
TimerIdx | Timer index This parameter can be one of the following values:
|
Output | Timer output This parameter can be one of the following values:
|
OutputLevel | indicates whether the output is forced to its active or inactive state This parameter can be one of the following values:
|
None |
Definition at line 3016 of file stm32f30x_hrtim.c.
void HRTIM_WaveformTimerConfig | ( | HRTIM_TypeDef * | HRTIMx, |
uint32_t | TimerIdx, | ||
HRTIM_TimerCfgTypeDef * | pTimerCfg | ||
) |
Configures the general behavior of a timer operating in waveform mode.
HRTIMx | pointer to HRTIMx peripheral |
TimerIdx | Timer index This parameter can be one of the following values:
|
pTimerCfg | pointer to the timer configuration structure |
None |
Definition at line 1846 of file stm32f30x_hrtim.c.