Peripheral State functions. More...
|
Functions | |
| static void | HRTIM_CaptureUnitConfig (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t CaptureUnit, uint32_t Event) |
| Configures a capture unit. More... | |
| static void | HRTIM_CompareUnitConfig (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t CompareUnit, HRTIM_CompareCfgTypeDef *pCompareCfg) |
| Configures a compare unit. More... | |
| static void | HRTIM_ExternalEventConfig (HRTIM_TypeDef *HRTIMx, uint32_t Event, HRTIM_EventCfgTypeDef *pEventCfg) |
| Configures an external event channel. More... | |
| uint32_t | HRTIM_GetBurstStatus (HRTIM_TypeDef *HRTIMx) |
| Returns the actual status (active or inactive) of the burst mode controller. More... | |
| uint32_t | HRTIM_GetCapturedValue (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t CaptureUnit) |
| Returns actual value of the capture register of the designated capture unit. More... | |
| uint32_t | HRTIM_GetCurrentPushPullStatus (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx) |
| Indicates on which output the signal is currently active (when the push pull mode is enabled) More... | |
| uint32_t | HRTIM_GetDelayedProtectionStatus (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t Output) |
| Returns the level (active or inactive) of the designated output when the delayed protection was triggered. More... | |
| uint32_t | HRTIM_GetIdlePushPullStatus (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx) |
| Indicates on which output the signal was applied, in push-pull mode balanced fault mode or delayed idle mode, when the protection was triggered. More... | |
| static void | HRTIM_MasterBase_Config (HRTIM_TypeDef *HRTIMx, HRTIM_BaseInitTypeDef *HRTIM_BaseInitStruct) |
| Configures the master timer time base. More... | |
| static void | HRTIM_MasterWaveform_Config (HRTIM_TypeDef *HRTIMx, HRTIM_TimerInitTypeDef *pTimerInit) |
| Configures the master timer in waveform mode. More... | |
| static void | HRTIM_OutputConfig (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t Output, HRTIM_OutputCfgTypeDef *pOutputCfg) |
| Configures the output of a timing unit. More... | |
| static void | HRTIM_TIM_ResetConfig (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t Event) |
| Configures the timer counter reset. More... | |
| static void | HRTIM_TimingUnitBase_Config (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, HRTIM_BaseInitTypeDef *HRTIM_BaseInitStruct) |
| Configures timing unit (timer A to timer E) time base. More... | |
| static void | HRTIM_TimingUnitWaveform_Config (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, HRTIM_TimerInitTypeDef *pTimerInit) |
| Configures timing unit (timer A to timer E) in waveform mode. More... | |
| uint32_t | HRTIM_WaveformGetOutputLevel (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t Output) |
| Returns actual level (active or inactive) of the designated output. More... | |
| uint32_t | HRTIM_WaveformGetOutputState (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t Output) |
| Returns actual state (RUN, IDLE, FAULT) of the designated output. More... | |
Peripheral State functions.
===============================================================================
##### Peripheral State methods #####
===============================================================================
[..]
This subsection permit to get in run-time the status of the peripheral
and the data flow.
|
static |
Configures a capture unit.
| HRTIMx | pointer to HRTIMx peripheral |
| TimerIdx | Timer index |
| CaptureUnit | Capture unit identifier |
| pCaptureCfg | pointer to the compare unit configuration data structure |
| None |
Definition at line 3726 of file stm32f30x_hrtim.c.
|
static |
Configures a compare unit.
| HRTIMx | pointer to HRTIMx peripheral |
| TimerIdx | Timer index |
| CompareUnit | Compare unit identifier |
| pCompareCfg | pointer to the compare unit configuration data structure |
| None |
Definition at line 3653 of file stm32f30x_hrtim.c.
|
static |
Configures an external event channel.
| HRTIMx | pointer to HRTIMx peripheral |
| Event | Event channel identifier |
| pEventCfg | pointer to the event channel configuration data structure |
| None |
Definition at line 3893 of file stm32f30x_hrtim.c.
| uint32_t HRTIM_GetBurstStatus | ( | HRTIM_TypeDef * | HRTIMx | ) |
Returns the actual status (active or inactive) of the burst mode controller.
| HRTIMx | pointer to HRTIMx peripheral |
| Burst | mode controller status |
Definition at line 3401 of file stm32f30x_hrtim.c.
| uint32_t HRTIM_GetCapturedValue | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| uint32_t | CaptureUnit | ||
| ) |
Returns actual value of the capture register of the designated 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:
|
| Captured | value |
Definition at line 3101 of file stm32f30x_hrtim.c.
| uint32_t HRTIM_GetCurrentPushPullStatus | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx | ||
| ) |
Indicates on which output the signal is currently active (when the push pull mode is enabled)
| HRTIMx | pointer to HRTIMx peripheral |
| TimerIdx | Timer index This parameter can be one of the following values:
|
| Burst | mode controller status |
Definition at line 3420 of file stm32f30x_hrtim.c.
| uint32_t HRTIM_GetDelayedProtectionStatus | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| uint32_t | Output | ||
| ) |
Returns the level (active or inactive) of the designated output when the delayed protection was triggered.
| 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:
|
| Delayed | protection status |
Definition at line 3341 of file stm32f30x_hrtim.c.
| uint32_t HRTIM_GetIdlePushPullStatus | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx | ||
| ) |
Indicates on which output the signal was applied, in push-pull mode balanced fault mode or delayed idle mode, when the protection was triggered.
| HRTIMx | pointer to HRTIMx peripheral |
| TimerIdx | Timer index This parameter can be one of the following values:
|
| Idle | Push Pull Status |
Definition at line 3444 of file stm32f30x_hrtim.c.
|
static |
Configures the master timer time base.
| HRTIMx | pointer to HRTIMx peripheral |
| None |
Definition at line 3463 of file stm32f30x_hrtim.c.
|
static |
Configures the master timer in waveform mode.
| HRTIMx | pointer to HRTIMx peripheral |
| TimerIdx | Timer index |
| pTimerInit | pointer to the timer initialization data structure |
| None |
Definition at line 3506 of file stm32f30x_hrtim.c.
|
static |
Configures the output of a timing unit.
| HRTIMx | pointer to HRTIMx peripheral |
| TimerIdx | Timer index |
| Output | timing unit output identifier |
| pOutputCfg | pointer to the output configuration data structure |
| None |
Definition at line 3814 of file stm32f30x_hrtim.c.
|
static |
Configures the timer counter reset.
| HRTIMx | pointer to HRTIMx peripheral |
| TimerIdx | Timer index |
| Event | Event channel identifier |
| None |
Definition at line 4050 of file stm32f30x_hrtim.c.
|
static |
Configures timing unit (timer A to timer E) time base.
| HRTIMx | pointer to HRTIMx peripheral |
| TimerIdx | Timer index |
| None |
Definition at line 3484 of file stm32f30x_hrtim.c.
|
static |
Configures timing unit (timer A to timer E) in waveform mode.
| HRTIMx | pointer to HRTIMx peripheral |
| TimerIdx | Timer index |
| pTimerInit | pointer to the timer initialization data structure |
| None |
Definition at line 3561 of file stm32f30x_hrtim.c.
| uint32_t HRTIM_WaveformGetOutputLevel | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| uint32_t | Output | ||
| ) |
Returns actual level (active or inactive) of the designated output.
| 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:
|
| Output | level |
Definition at line 3153 of file stm32f30x_hrtim.c.
| uint32_t HRTIM_WaveformGetOutputState | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| uint32_t | Output | ||
| ) |
Returns actual state (RUN, IDLE, FAULT) of the designated output.
| 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:
|
| Output | state |
Definition at line 3228 of file stm32f30x_hrtim.c.