Functions
Initialization/de-initialization methods

Initialization and Configuration functions. More...

Collaboration diagram for Initialization/de-initialization methods:

Functions

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...
 

Detailed Description

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

Function Documentation

void HRTIM_DeInit ( HRTIM_TypeDef *  HRTIMx)

De-initializes a timer operating in all mode.

Parameters
HRTIMxpointer to HRTIMx peripheral
Return values
None

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
HRTIMxpointer to HRTIMx peripheral
TimerIdxTimer 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
None

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
HRTIMxpointer to HRTIMx peripheral
TimerIdxTimer index This parameter can be one of the following values:
  • 0x1 to 0x5 for timers A to E
Return values
None

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
HRTIMxpointer to HRTIMx peripheral
TimerIdxTimer 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
None

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
HRTIMxpointer to HRTIMx peripheral
TimerIdxTimer 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
None

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
HRTIMxpointer to HRTIMx peripheral
TimerIdxTimer 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
None

Definition at line 295 of file stm32f30x_hrtim.c.

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.

Parameters
HRTIMxpointer to HRTIMx peripheral
TimerIdxTimer index This parameter can be one of the following values:
  • 0x0 for master timer
  • 0x1 to 0x5 for timers A to E
pTimerInitpointer to the timer initialization data structure
Return values
None

Definition at line 354 of file stm32f30x_hrtim.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:30