Data transfers functions. More...
|
Functions | |
| void | HRTIM_ClearCommonFlag (HRTIM_TypeDef *HRTIMx, uint32_t HRTIM_CommonFLAG) |
| Clears the common interrupt flags. More... | |
| void | HRTIM_ClearCommonITPendingBit (HRTIM_TypeDef *HRTIMx, uint32_t HRTIM_CommonIT) |
| Clears the common interrupt pending bits. More... | |
| void | HRTIM_ClearFlag (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t HRTIM_FLAG) |
| Clears the Master and slaves interrupt flags. More... | |
| void | HRTIM_ClearITPendingBit (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t HRTIM_IT) |
| Clears the Master and slaves interrupt request pending bits. More... | |
| void | HRTIM_DLLCalibrationStart (HRTIM_TypeDef *HRTIMx, uint32_t CalibrationRate) |
| Starts the DLL calibration. More... | |
| void | HRTIM_DMACmd (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t HRTIM_DMA, FunctionalState NewState) |
| Enables or disables the HRTIMx's DMA Requests. More... | |
| FlagStatus | HRTIM_GetCommonFlagStatus (HRTIM_TypeDef *HRTIMx, uint32_t HRTIM_CommonFLAG) |
| Checks whether the specified HRTIM common flag is set or not. More... | |
| ITStatus | HRTIM_GetCommonITStatus (HRTIM_TypeDef *HRTIMx, uint32_t HRTIM_CommonIT) |
| Checks whether the specified HRTIM common interrupt has occurred or not. More... | |
| FlagStatus | HRTIM_GetFlagStatus (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t HRTIM_FLAG) |
| Checks whether the specified HRTIM flag is set or not. More... | |
| ITStatus | HRTIM_GetITStatus (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t HRTIM_IT) |
| Checks whether the specified HRTIM interrupt has occurred or not. More... | |
| void | HRTIM_ITCommonConfig (HRTIM_TypeDef *HRTIMx, uint32_t HRTIM_CommonIT, FunctionalState NewState) |
| Enables or disables the common interrupt request. More... | |
| void | HRTIM_ITConfig (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t HRTIM_IT, FunctionalState NewState) |
| Enables or disables the Master and slaves interrupt request. More... | |
| void | HRTIM_SimpleBaseStart (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx) |
| Starts the counter of a timer operating in basic time base mode. More... | |
| void | HRTIM_SimpleBaseStop (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx) |
| Stops the counter of a timer operating in basic time base mode. More... | |
| void | HRTIM_SimpleCaptureStart (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t CaptureChannel) |
| Enables a basic capture on the designed capture unit. More... | |
| void | HRTIM_SimpleCaptureStop (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t CaptureChannel) |
| Disables a basic capture on the designed capture unit. More... | |
| void | HRTIM_SimpleOCStart (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t OCChannel) |
| Starts the output compare signal generation on the designed timer output. More... | |
| void | HRTIM_SimpleOCStop (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t OCChannel) |
| Stops the output compare signal generation on the designed timer output. More... | |
| void | HRTIM_SimpleOnePulseStart (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t OnePulseChannel) |
| Enables the basic one pulse signal generation on the designed output. More... | |
| void | HRTIM_SimpleOnePulseStop (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t OnePulseChannel) |
| Disables the basic one pulse signal generation on the designed output. More... | |
| void | HRTIM_SimplePWMStart (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t PWMChannel) |
| Starts the PWM output signal generation on the designed timer output. More... | |
| void | HRTIM_SimplePWMStop (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t PWMChannel) |
| Stops the PWM output signal generation on the designed timer output. More... | |
| void | HRTIM_WaveformCounterStart (HRTIM_TypeDef *HRTIMx, uint32_t TimersToStart) |
| Starts the counter of the designated timer(s) operating in waveform mode Timers can be combined (ORed) to allow for simultaneous counter start. More... | |
| void | HRTIM_WaveformCounterStop (HRTIM_TypeDef *HRTIMx, uint32_t TimersToStop) |
| Stops the counter of the designated timer(s) operating in waveform mode Timers can be combined (ORed) to allow for simultaneous counter stop. More... | |
| void | HRTIM_WaveformOutputStart (HRTIM_TypeDef *HRTIMx, uint32_t OutputsToStart) |
| Enables the generation of the waveform signal on the designated output(s) Outputs can be combined (ORed) to allow for simultaneous output enabling. More... | |
| void | HRTIM_WaveformOutputStop (HRTIM_TypeDef *HRTIMx, uint32_t OutputsToStop) |
| Disables the generation of the waveform signal on the designated output(s) Outputs can be combined (ORed) to allow for simultaneous output disabling. More... | |
Data transfers functions.
===============================================================================
##### IO operation methods #####
===============================================================================
[..]
This subsection provides a set of functions allowing to manage the HRTIMx data
transfers.
(+) Starts the DLL calibration.
(+) Starts / stops the counter of a timer operating in basic time base mode
(+) Starts / stops the output compare signal generation on the designed timer output
(+) Starts / stops the PWM output signal generation on the designed timer output
(+) Enables / disables a basic capture on the designed capture unit | void HRTIM_ClearCommonFlag | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | HRTIM_CommonFLAG | ||
| ) |
Clears the common interrupt flags.
| HRTIMx | pointer to HRTIMx peripheral |
| HRTIM_FLAG | specifies the HRTIM flags to be cleared. This parameter can be any combination of the following values:
|
| None |
Definition at line 1035 of file stm32f30x_hrtim.c.
| void HRTIM_ClearCommonITPendingBit | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | HRTIM_CommonIT | ||
| ) |
Clears the common interrupt pending bits.
| HRTIMx | pointer to HRTIMx peripheral |
| HRTIM_IT | specifies the HRTIM interrupts sources to be cleared. This parameter can be any combination of the following values:
|
| None |
Definition at line 1112 of file stm32f30x_hrtim.c.
| void HRTIM_ClearFlag | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| uint32_t | HRTIM_FLAG | ||
| ) |
Clears the Master and slaves interrupt flags.
| HRTIMx | pointer to HRTIMx peripheral |
| TimerIdx | Timer index This parameter can be one of the following values:
|
| HRTIM_FLAG | specifies the HRTIM flags sources to be cleared. This parameter can be any combination of the following values:
|
| None |
Definition at line 994 of file stm32f30x_hrtim.c.
| void HRTIM_ClearITPendingBit | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| uint32_t | HRTIM_IT | ||
| ) |
Clears the Master and slaves interrupt request pending bits.
| HRTIMx | pointer to HRTIMx peripheral |
| TimerIdx | Timer index This parameter can be one of the following values:
|
| HRTIM_IT | specifies the HRTIM interrupts sources to be enabled or disabled. This parameter can be any combination of the following values:
|
| None |
Definition at line 1071 of file stm32f30x_hrtim.c.
| void HRTIM_DLLCalibrationStart | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | CalibrationRate | ||
| ) |
Starts the DLL calibration.
| HRTIMx | pointer to HRTIMx peripheral |
| CalibrationRate | DLL calibration period This parameter can be one of the following values:
|
| None |
Definition at line 424 of file stm32f30x_hrtim.c.
| void HRTIM_DMACmd | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| uint32_t | HRTIM_DMA, | ||
| FunctionalState | NewState | ||
| ) |
Enables or disables the HRTIMx's DMA Requests.
| HRTIMx | pointer to HRTIMx peripheral |
| TimerIdx | Timer index This parameter can be one of the following values:
|
| HRTIM_DMA | specifies the DMA Request sources. This parameter can be any combination of the following values:
|
| NewState | new state of the DMA Request sources. This parameter can be: ENABLE or DISABLE. |
| None |
Definition at line 1373 of file stm32f30x_hrtim.c.
| FlagStatus HRTIM_GetCommonFlagStatus | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | HRTIM_CommonFLAG | ||
| ) |
Checks whether the specified HRTIM common flag is set or not.
| HRTIMx | pointer to HRTIMx peripheral |
| HRTIM_FLAG | specifies the HRTIM flags to check. This parameter can be any combination of the following values:
|
| The | new state of HRTIM_FLAG (SET or RESET). |
Definition at line 1208 of file stm32f30x_hrtim.c.
| ITStatus HRTIM_GetCommonITStatus | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | HRTIM_CommonIT | ||
| ) |
Checks whether the specified HRTIM common interrupt has occurred or not.
| HRTIMx | pointer to HRTIMx peripheral |
| HRTIM_IT | specifies the HRTIM interrupt source to check. This parameter can be any combination of the following values:
|
| The | new state of HRTIM_FLAG (SET or RESET). |
Definition at line 1320 of file stm32f30x_hrtim.c.
| FlagStatus HRTIM_GetFlagStatus | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| uint32_t | HRTIM_FLAG | ||
| ) |
Checks whether the specified HRTIM flag is set or not.
| HRTIMx | pointer to HRTIMx peripheral |
| TimerIdx | Timer index This parameter can be one of the following values:
|
| HRTIM_FLAG | specifies the HRTIM flags to check. This parameter can be any combination of the following values:
|
| The | new state of HRTIM_FLAG (SET or RESET). |
Definition at line 1149 of file stm32f30x_hrtim.c.
| ITStatus HRTIM_GetITStatus | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| uint32_t | HRTIM_IT | ||
| ) |
Checks whether the specified HRTIM interrupt has occurred or not.
| HRTIMx | pointer to HRTIMx peripheral |
| TimerIdx | Timer index This parameter can be one of the following values:
|
| HRTIM_IT | specifies the HRTIM flags sources to be cleared. This parameter can be any combination of the following values:
|
| The | new state of the HRTIM_IT(SET or RESET). |
Definition at line 1254 of file stm32f30x_hrtim.c.
| void HRTIM_ITCommonConfig | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | HRTIM_CommonIT, | ||
| FunctionalState | NewState | ||
| ) |
Enables or disables the common interrupt request.
| HRTIMx | pointer to HRTIMx peripheral |
| HRTIM_IT | specifies the HRTIM interrupts sources to be enabled or disabled. This parameter can be any combination of the following values:
|
| NewState | new state of the TIM interrupts. This parameter can be: ENABLE or DISABLE. |
| None |
Definition at line 951 of file stm32f30x_hrtim.c.
| void HRTIM_ITConfig | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| uint32_t | HRTIM_IT, | ||
| FunctionalState | NewState | ||
| ) |
Enables or disables the Master and slaves interrupt request.
| HRTIMx | pointer to HRTIMx peripheral |
| TimerIdx | Timer index This parameter can be one of the following values:
|
| HRTIM_IT | specifies the HRTIM interrupts sources to be enabled or disabled. This parameter can be any combination of the following values:
|
| NewState | new state of the TIM interrupts. This parameter can be: ENABLE or DISABLE. |
| None |
Definition at line 894 of file stm32f30x_hrtim.c.
| void HRTIM_SimpleBaseStart | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx | ||
| ) |
Starts the counter of a timer operating in basic time base mode.
| HRTIMx | pointer to HRTIM peripheral |
| TimerIdx | Timer index This parameter can be one of the following values:
|
| None |
Definition at line 460 of file stm32f30x_hrtim.c.
| void HRTIM_SimpleBaseStop | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx | ||
| ) |
Stops the counter of a timer operating in basic time base mode.
| HRTIMx | pointer to HRTIM peripheral |
| TimerIdx | Timer index This parameter can be one of the following values:
|
| None |
Definition at line 478 of file stm32f30x_hrtim.c.
| void HRTIM_SimpleCaptureStart | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| uint32_t | CaptureChannel | ||
| ) |
Enables a basic capture on the designed capture unit.
| HRTIMx | pointer to HRTIM peripheral |
| TimerIdx | Timer index This parameter can be one of the following values:
|
| CaptureChannel | Timer output This parameter can be one of the following values:
|
| None |
Definition at line 643 of file stm32f30x_hrtim.c.
| void HRTIM_SimpleCaptureStop | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| uint32_t | CaptureChannel | ||
| ) |
Disables a basic capture on the designed capture unit.
| HRTIMx | pointer to HRTIMx peripheral |
| TimerIdx | Timer index This parameter can be one of the following values:
|
| CaptureChannel | Timer output This parameter can be one of the following values:
|
| None |
Definition at line 667 of file stm32f30x_hrtim.c.
| void HRTIM_SimpleOCStart | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| uint32_t | OCChannel | ||
| ) |
Starts the output compare signal generation on the designed timer output.
| HRTIMx | pointer to HRTIM 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:
|
| None |
Definition at line 507 of file stm32f30x_hrtim.c.
| void HRTIM_SimpleOCStop | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| uint32_t | OCChannel | ||
| ) |
Stops the output compare signal generation on the designed timer output.
| HRTIMx | pointer to HRTIM 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:
|
| None |
Definition at line 542 of file stm32f30x_hrtim.c.
| void HRTIM_SimpleOnePulseStart | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| uint32_t | OnePulseChannel | ||
| ) |
Enables the basic one pulse signal generation on the designed output.
| 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:
|
| None |
Definition at line 721 of file stm32f30x_hrtim.c.
| void HRTIM_SimpleOnePulseStop | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| uint32_t | OnePulseChannel | ||
| ) |
Disables the basic one pulse signal generation on the designed output.
| 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:
|
| None |
Definition at line 755 of file stm32f30x_hrtim.c.
| void HRTIM_SimplePWMStart | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| uint32_t | PWMChannel | ||
| ) |
Starts the PWM output signal generation on the designed timer output.
| HRTIMx | pointer to HRTIM 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:
|
| None |
Definition at line 576 of file stm32f30x_hrtim.c.
| void HRTIM_SimplePWMStop | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| uint32_t | PWMChannel | ||
| ) |
Stops the PWM output signal generation on the designed timer output.
| HRTIMx | pointer to HRTIM 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:
|
| None |
Definition at line 610 of file stm32f30x_hrtim.c.
| void HRTIM_WaveformCounterStart | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimersToStart | ||
| ) |
Starts the counter of the designated timer(s) operating in waveform mode Timers can be combined (ORed) to allow for simultaneous counter start.
| HRTIMx | pointer to HRTIMx peripheral |
| TimersToStart | Timer counter(s) to start This parameter can be any combination of the following values:
|
| None |
Definition at line 783 of file stm32f30x_hrtim.c.
| void HRTIM_WaveformCounterStop | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimersToStop | ||
| ) |
Stops the counter of the designated timer(s) operating in waveform mode Timers can be combined (ORed) to allow for simultaneous counter stop.
| HRTIMx | pointer to HRTIMx peripheral |
| TimersToStop | Timer counter(s) to stop This parameter can be any combination of the following values:
|
| None |
Definition at line 804 of file stm32f30x_hrtim.c.
| void HRTIM_WaveformOutputStart | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | OutputsToStart | ||
| ) |
Enables the generation of the waveform signal on the designated output(s) Outputs can be combined (ORed) to allow for simultaneous output enabling.
| HRTIMx | pointer to HRTIMx peripheral |
| OutputsToStart | Timer output(s) to enable This parameter can be any combination of the following values:
|
| None |
Definition at line 829 of file stm32f30x_hrtim.c.
| void HRTIM_WaveformOutputStop | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | OutputsToStop | ||
| ) |
Disables the generation of the waveform signal on the designated output(s) Outputs can be combined (ORed) to allow for simultaneous output disabling.
| HRTIMx | pointer to HRTIMx peripheral |
| OutputsToStop | Timer output(s) to disable This parameter can be any combination of the following values:
|
| None |
Definition at line 854 of file stm32f30x_hrtim.c.