Initialization and Configuration functions.
More...
|
void | HRTIM_DeInit (HRTIM_TypeDef *HRTIMx) |
| De-initializes a timer operating in all mode. More...
|
|
void | HRTIM_SimpleBase_Init (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, HRTIM_BaseInitTypeDef *HRTIM_BaseInitStruct) |
| Initializes the HRTIMx timer in basic time base mode. More...
|
|
void | HRTIM_SimpleCapture_Init (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, HRTIM_BaseInitTypeDef *HRTIM_BaseInitStruct) |
| Initializes a timer operating in basic capture mode. More...
|
|
void | HRTIM_SimpleOC_Init (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, HRTIM_BaseInitTypeDef *HRTIM_BaseInitStruct) |
| Initializes the HRTIMx timer in basic output compare mode. More...
|
|
void | HRTIM_SimpleOnePulse_Init (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, HRTIM_BaseInitTypeDef *HRTIM_BaseInitStruct) |
| Initializes the HRTIMx timer in basic one pulse mode. More...
|
|
void | HRTIM_SimplePWM_Init (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, HRTIM_BaseInitTypeDef *HRTIM_BaseInitStruct) |
| Initializes the HRTIMx timer in basic PWM mode. More...
|
|
void | HRTIM_Waveform_Init (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, HRTIM_BaseInitTypeDef *HRTIM_BaseInitStruct, HRTIM_TimerInitTypeDef *HRTIM_TimerInitStruct) |
| Initializes a timer operating in waveform mode. More...
|
|
Initialization and Configuration functions.
===============================================================================
##### Initialization/de-initialization methods #####
===============================================================================
[..] This section provides functions allowing to:
(+)Initializes timer in basic time base mode
(+)Initializes timer in basic OC mode
(+)Initializes timer in basic PWM mode
(+)Initializes timer in basic Capture mode
(+)Initializes timer in One Pulse mode
(+)Initializes a timer operating in waveform mode
(+)De-initializes the HRTIMx timer
void HRTIM_DeInit |
( |
HRTIM_TypeDef * |
HRTIMx | ) |
|
De-initializes a timer operating in all mode.
- Parameters
-
HRTIMx | pointer to HRTIMx peripheral |
- Return values
-
Definition at line 255 of file stm32f30x_hrtim.c.
void HRTIM_SimpleBase_Init |
( |
HRTIM_TypeDef * |
HRTIMx, |
|
|
uint32_t |
TimerIdx, |
|
|
HRTIM_BaseInitTypeDef * |
HRTIM_BaseInitStruct |
|
) |
| |
Initializes the HRTIMx timer in basic time base mode.
- Parameters
-
HRTIMx | pointer to HRTIMx peripheral |
TimerIdx | Timer index This parameter can be one of the following values:
- 0x0 for master timer
- 0x1 to 0x5 for timers A to E
|
- Note
- The time-base unit initialization parameters specify: The timer counter operating mode (continuous, one shot) The timer clock prescaler The timer period The timer repetition counter.
- Return values
-
Definition at line 228 of file stm32f30x_hrtim.c.
void HRTIM_SimpleCapture_Init |
( |
HRTIM_TypeDef * |
HRTIMx, |
|
|
uint32_t |
TimerIdx, |
|
|
HRTIM_BaseInitTypeDef * |
HRTIM_BaseInitStruct |
|
) |
| |
Initializes a timer operating in basic capture mode.
- Parameters
-
HRTIMx | pointer to HRTIMx peripheral |
TimerIdx | Timer index This parameter can be one of the following values:
- 0x1 to 0x5 for timers A to E
|
- Return values
-
Definition at line 313 of file stm32f30x_hrtim.c.
void HRTIM_SimpleOC_Init |
( |
HRTIM_TypeDef * |
HRTIMx, |
|
|
uint32_t |
TimerIdx, |
|
|
HRTIM_BaseInitTypeDef * |
HRTIM_BaseInitStruct |
|
) |
| |
Initializes the HRTIMx timer in basic output compare mode.
- Parameters
-
HRTIMx | pointer to HRTIMx peripheral |
TimerIdx | Timer index This parameter can be one of the following values:
- 0x1 to 0x5 for timers A to E
|
- Note
- Initializes the time-base unit of the timer and prepare it to operate in output compare mode
- Return values
-
Definition at line 275 of file stm32f30x_hrtim.c.
void HRTIM_SimpleOnePulse_Init |
( |
HRTIM_TypeDef * |
HRTIMx, |
|
|
uint32_t |
TimerIdx, |
|
|
HRTIM_BaseInitTypeDef * |
HRTIM_BaseInitStruct |
|
) |
| |
Initializes the HRTIMx timer in basic one pulse mode.
- Parameters
-
HRTIMx | pointer to HRTIMx peripheral |
TimerIdx | Timer index This parameter can be one of the following values:
- 0x1 to 0x5 for timers A to E
|
- Note
- Initializes the time-base unit of the timer and prepare it to operate in one pulse mode. In this mode the counter operates in single shot mode (retriggerable or not)
- Return values
-
Definition at line 334 of file stm32f30x_hrtim.c.
void HRTIM_SimplePWM_Init |
( |
HRTIM_TypeDef * |
HRTIMx, |
|
|
uint32_t |
TimerIdx, |
|
|
HRTIM_BaseInitTypeDef * |
HRTIM_BaseInitStruct |
|
) |
| |
Initializes the HRTIMx timer in basic PWM mode.
- Parameters
-
HRTIMx | pointer to HRTIMx peripheral |
TimerIdx | Timer index This parameter can be one of the following values:
- 0x1 to 0x5 for timers A to E
|
- Note
- Initializes the time-base unit of the timer and prepare it to operate in capture mode
- Return values
-
Definition at line 295 of file stm32f30x_hrtim.c.
Initializes a timer operating in waveform mode.
- Parameters
-
HRTIMx | pointer to HRTIMx peripheral |
TimerIdx | Timer index This parameter can be one of the following values:
- 0x0 for master timer
- 0x1 to 0x5 for timers A to E
|
pTimerInit | pointer to the timer initialization data structure |
- Return values
-
Definition at line 354 of file stm32f30x_hrtim.c.