ADC driver modules. More...
|
Classes | |
| struct | ADC_CommonInitTypeDef |
| ADC Common Init structure definition. More... | |
| struct | ADC_InitTypeDef |
| ADC Init structure definition. More... | |
| struct | HRTIM_ADCTriggerCfgTypeDef |
| ADC trigger configuration definition. More... | |
| struct | HRTIM_BaseInitTypeDef |
| HRTIM Configuration Structure definition - Time base related parameters. More... | |
| struct | HRTIM_BasicCaptureChannelCfgTypeDef |
| Basic capture mode configuration definition. More... | |
| struct | HRTIM_BasicOCChannelCfgTypeDef |
| Basic output compare mode configuration definition. More... | |
| struct | HRTIM_BasicOnePulseChannelCfgTypeDef |
| Basic One Pulse mode configuration definition. More... | |
| struct | HRTIM_BasicPWMChannelCfgTypeDef |
| Basic PWM output mode configuration definition. More... | |
| struct | HRTIM_BurstModeCfgTypeDef |
| Burst mode configuration definition. More... | |
| struct | HRTIM_CaptureCfgTypeDef |
| Capture unit configuration definition. More... | |
| struct | HRTIM_ChopperModeCfgTypeDef |
| Chopper mode configuration definition. More... | |
| struct | HRTIM_CompareCfgTypeDef |
| Compare unit configuration definition. More... | |
| struct | HRTIM_DeadTimeCfgTypeDef |
| Dead time feature configuration definition. More... | |
| struct | HRTIM_EventCfgTypeDef |
| External event channel configuration definition. More... | |
| struct | HRTIM_FaultCfgTypeDef |
| Fault channel configuration definition. More... | |
| struct | HRTIM_OutputCfgTypeDef |
| Output configuration definition. More... | |
| struct | HRTIM_SynchroCfgTypeDef |
| Master synchronization configuration definition. More... | |
| struct | HRTIM_TimerCfgTypeDef |
| Timer configuration definition. More... | |
| struct | HRTIM_TimerEventFilteringCfgTypeDef |
| External event filtering in timing units configuration definition. More... | |
| struct | HRTIM_TimerInitTypeDef |
| Waveform mode initialization parameters definition. More... | |
Macros | |
| #define | __HRTIM_DISABLE(__HANDLE__, __TIMERS__) |
| #define | __HRTIM_ENABLE(__HANDLE__, __TIMERS__) ((__HANDLE__)->HRTIM_MASTER.MCR |= (__TIMERS__)) |
| Enables or disables the timer counter(s) More... | |
| #define | CCR_CLEAR_MASK ((uint32_t)0xFFFC10E0) |
| #define | CDR_ADDRESS ((uint32_t)0x40012308) |
| #define | CFGR_CLEAR_Mask ((uint32_t)0xFDFFC007) |
| #define | CR1_AWDCH_RESET ((uint32_t)0xFFFFFFE0) |
| #define | CR1_AWDMode_RESET ((uint32_t)0xFF3FFDFF) |
| #define | CR1_CLEAR_MASK ((uint32_t)0xFCFFFEFF) |
| #define | CR1_DISCNUM_RESET ((uint32_t)0xFFFF1FFF) |
| #define | CR2_CLEAR_MASK ((uint32_t)0xC0FFF7FD) |
| #define | CR2_EXTEN_RESET ((uint32_t)0xCFFFFFFF) |
| #define | CR2_JEXTEN_RESET ((uint32_t)0xFFCFFFFF) |
| #define | CR2_JEXTSEL_RESET ((uint32_t)0xFFF0FFFF) |
| #define | CR_CLEAR_MASK ((uint32_t)0xFFFC30E0) |
| #define | HRTIM_TAOEN_MASK (HRTIM_OENR_TA2OEN | HRTIM_OENR_TA1OEN) |
| #define | HRTIM_TBOEN_MASK (HRTIM_OENR_TB2OEN | HRTIM_OENR_TB1OEN) |
| #define | HRTIM_TCOEN_MASK (HRTIM_OENR_TC2OEN | HRTIM_OENR_TC1OEN) |
| #define | HRTIM_TDOEN_MASK (HRTIM_OENR_TD2OEN | HRTIM_OENR_TD1OEN) |
| #define | HRTIM_TEOEN_MASK (HRTIM_OENR_TE2OEN | HRTIM_OENR_TE1OEN) |
| #define | JDR_Offset ((uint8_t)0x80) |
| #define | JDR_OFFSET ((uint8_t)0x28) |
| #define | JSQR_CLEAR_Mask ((uint32_t)0x00000000) |
| #define | JSQR_JL_RESET ((uint32_t)0xFFCFFFFF) |
| #define | JSQR_JL_SET ((uint32_t)0x00300000) |
| #define | JSQR_JSQ_SET ((uint32_t)0x0000001F) |
| #define | SMPR1_SMP_SET ((uint32_t)0x00000007) |
| #define | SMPR2_SMP_SET ((uint32_t)0x00000007) |
| #define | SQR1_L_RESET ((uint32_t)0xFF0FFFFF) |
| #define | SQR1_SQ_SET ((uint32_t)0x0000001F) |
| #define | SQR2_SQ_SET ((uint32_t)0x0000001F) |
| #define | SQR3_SQ_SET ((uint32_t)0x0000001F) |
Functions | |
| void | ADC_AnalogWatchdogSingleChannelConfig (ADC_TypeDef *ADCx, uint8_t ADC_Channel) |
| Configures the analog watchdog guarded single channel. More... | |
| void | ADC_AnalogWatchdogThresholdsConfig (ADC_TypeDef *ADCx, uint16_t HighThreshold, uint16_t LowThreshold) |
| Configures the high and low thresholds of the analog watchdog. More... | |
| void | ADC_ClearFlag (ADC_TypeDef *ADCx, uint8_t ADC_FLAG) |
| Clears the ADCx's pending flags. More... | |
| void | ADC_ClearITPendingBit (ADC_TypeDef *ADCx, uint16_t ADC_IT) |
| Clears the ADCx's interrupt pending bits. More... | |
| void | ADC_CommonInit (ADC_CommonInitTypeDef *ADC_CommonInitStruct) |
| Initializes the ADCs peripherals according to the specified parameters in the ADC_CommonInitStruct. More... | |
| void | ADC_ContinuousModeCmd (ADC_TypeDef *ADCx, FunctionalState NewState) |
| Enables or disables the ADC continuous conversion mode. More... | |
| void | ADC_DeInit (void) |
| Deinitializes all ADCs peripherals registers to their default reset values. More... | |
| void | ADC_DMARequestAfterLastTransferCmd (ADC_TypeDef *ADCx, FunctionalState NewState) |
| Enables or disables the ADC DMA request after last transfer (Single-ADC mode) More... | |
| void | ADC_EOCOnEachRegularChannelCmd (ADC_TypeDef *ADCx, FunctionalState NewState) |
| Enables or disables the EOC on each regular channel conversion. More... | |
| void | ADC_ExternalTrigInjectedConvConfig (ADC_TypeDef *ADCx, uint32_t ADC_ExternalTrigInjecConv) |
| Configures the ADCx external trigger for injected channels conversion. More... | |
| void | ADC_ExternalTrigInjectedConvEdgeConfig (ADC_TypeDef *ADCx, uint32_t ADC_ExternalTrigInjecConvEdge) |
| Configures the ADCx external trigger edge for injected channels conversion. More... | |
| FlagStatus | ADC_GetFlagStatus (ADC_TypeDef *ADCx, uint8_t ADC_FLAG) |
| Checks whether the specified ADC flag is set or not. More... | |
| ITStatus | ADC_GetITStatus (ADC_TypeDef *ADCx, uint16_t ADC_IT) |
| Checks whether the specified ADC interrupt has occurred or not. More... | |
| uint32_t | ADC_GetMultiModeConversionValue (void) |
| Returns the last ADC1, ADC2 and ADC3 regular conversions results data in the selected multi mode. More... | |
| FlagStatus | ADC_GetSoftwareStartConvStatus (ADC_TypeDef *ADCx) |
| Gets the selected ADC Software start regular conversion Status. More... | |
| FlagStatus | ADC_GetSoftwareStartInjectedConvCmdStatus (ADC_TypeDef *ADCx) |
| Gets the selected ADC Software start injected conversion Status. More... | |
| void | ADC_InjectedChannelConfig (ADC_TypeDef *ADCx, uint8_t ADC_Channel, uint8_t Rank, uint8_t ADC_SampleTime) |
| Configures for the selected ADC injected channel its corresponding rank in the sequencer and its sample time. More... | |
| void | ADC_InjectedSequencerLengthConfig (ADC_TypeDef *ADCx, uint8_t Length) |
| Configures the sequencer length for injected channels. More... | |
| void | ADC_ITConfig (ADC_TypeDef *ADCx, uint16_t ADC_IT, FunctionalState NewState) |
| Enables or disables the specified ADC interrupts. More... | |
| void | ADC_MultiModeDMARequestAfterLastTransferCmd (FunctionalState NewState) |
| Enables or disables the ADC DMA request after last transfer in multi ADC mode. More... | |
| void | ADC_SetInjectedOffset (ADC_TypeDef *ADCx, uint8_t ADC_InjectedChannel, uint16_t Offset) |
| Set the injected channels conversion value offset. More... | |
| void | ADC_SoftwareStartConv (ADC_TypeDef *ADCx) |
| Enables the selected ADC software start conversion of the regular channels. More... | |
| void | ADC_SoftwareStartInjectedConv (ADC_TypeDef *ADCx) |
| Enables the selected ADC software start conversion of the injected channels. More... | |
| void | ADC_TempSensorVrefintCmd (FunctionalState NewState) |
| Enables or disables the temperature sensor and Vrefint channels. More... | |
| void | ADC_VBATCmd (FunctionalState NewState) |
| Enables or disables the VBAT (Voltage Battery) channel. More... | |
| 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_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_DeadTimeConfig (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, HRTIM_DeadTimeCfgTypeDef *pDeadTimeCfg) |
| Configures the dead time insertion feature for a timer. More... | |
| void | HRTIM_DeInit (HRTIM_TypeDef *HRTIMx) |
| De-initializes a timer operating in all mode. 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... | |
| 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 *hrtim, 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... | |
| 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... | |
| 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... | |
| 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... | |
| FlagStatus | HRTIM_GetFlagStatus (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t HRTIM_FLAG) |
| Checks whether the specified HRTIM flag is set or not. 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... | |
| 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_TIM_IT, FunctionalState NewState) |
| Enables or disables the Master and slaves interrupt request. More... | |
| void | HRTIM_MasterSetCompare (HRTIM_TypeDef *HRTIMx, uint32_t CompareUnit, uint32_t Compare) |
| Sets the HRTIMx Master Comparex Register value. 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_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_SimpleCapture_Init (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, HRTIM_BaseInitTypeDef *HRTIM_BaseInitStruct) |
| Initializes a timer operating in basic capture mode. More... | |
| void | HRTIM_SimpleCaptureChannelConfig (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t CaptureChannel, HRTIM_BasicCaptureChannelCfgTypeDef *pBasicCaptureChannelCfg) |
| Configures a basic capture. 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_SimpleOC_Init (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, HRTIM_BaseInitTypeDef *HRTIM_BaseInitStruct) |
| Initializes the HRTIMx timer in basic output compare mode. 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_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_SimpleOnePulse_Init (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, HRTIM_BaseInitTypeDef *HRTIM_BaseInitStruct) |
| Initializes the HRTIMx timer in basic one pulse 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_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 *HRTIM_, uint32_t TimerIdx, uint32_t OnePulseChannel) |
| Disables the basic one pulse signal generation on the designed output. 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_SimplePWMChannelConfig (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t PWMChannel, HRTIM_BasicPWMChannelCfgTypeDef *pBasicPWMChannelCfg) |
| Configures an output in basic PWM mode. 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_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_Waveform_Init (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, HRTIM_BaseInitTypeDef *HRTIM_BaseInitStruct, HRTIM_TimerInitTypeDef *HRTIM_TimerInitStruct) |
| Initializes a timer operating in waveform mode. 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_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... | |
| 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... | |
| void | HRTIM_WaveformOuputConfig (HRTIM_TypeDef *HRTIMx, uint32_t TimerIdx, uint32_t Output, HRTIM_OutputCfgTypeDef *pOutputCfg) |
| 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_WaveformOutputStart (HRTIM_TypeDef *HRTIMx, uint32_t OuputsToStart) |
| 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 *HRTIM_, uint32_t OuputsToStop) |
| Disables the generation of the waveform signal on the designated output(s) Outputs can be combined (ORed) to allow for simultaneous output disabling. 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 *HRTIM_TimerCfgStruct) |
| Configures the general behavior of a timer operating in waveform mode. More... | |
ADC driver modules.
| #define __HRTIM_DISABLE | ( | __HANDLE__, | |
| __TIMERS__ | |||
| ) |
Definition at line 2470 of file stm32f30x_hrtim.h.
| #define __HRTIM_ENABLE | ( | __HANDLE__, | |
| __TIMERS__ | |||
| ) | ((__HANDLE__)->HRTIM_MASTER.MCR |= (__TIMERS__)) |
Enables or disables the timer counter(s)
| <strong>HANDLE</strong> | specifies the HRTIM Handle. |
| <strong>TIMERS</strong> | timersto enable/disable This parameter can be any combinations of the following values:
|
| None |
Definition at line 2461 of file stm32f30x_hrtim.h.
| #define CCR_CLEAR_MASK ((uint32_t)0xFFFC10E0) |
Definition at line 98 of file stm32f30x_adc.c.
| #define CDR_ADDRESS ((uint32_t)0x40012308) |
Definition at line 168 of file stm32f4xx_adc.c.
| #define CFGR_CLEAR_Mask ((uint32_t)0xFDFFC007) |
Definition at line 92 of file stm32f30x_adc.c.
| #define CR1_AWDCH_RESET ((uint32_t)0xFFFFFFE0) |
Definition at line 125 of file stm32f4xx_adc.c.
| #define CR1_AWDMode_RESET ((uint32_t)0xFF3FFDFF) |
Definition at line 128 of file stm32f4xx_adc.c.
| #define CR1_CLEAR_MASK ((uint32_t)0xFCFFFEFF) |
Definition at line 131 of file stm32f4xx_adc.c.
| #define CR1_DISCNUM_RESET ((uint32_t)0xFFFF1FFF) |
Definition at line 122 of file stm32f4xx_adc.c.
| #define CR2_CLEAR_MASK ((uint32_t)0xC0FFF7FD) |
Definition at line 143 of file stm32f4xx_adc.c.
| #define CR2_EXTEN_RESET ((uint32_t)0xCFFFFFFF) |
Definition at line 134 of file stm32f4xx_adc.c.
| #define CR2_JEXTEN_RESET ((uint32_t)0xFFCFFFFF) |
Definition at line 137 of file stm32f4xx_adc.c.
| #define CR2_JEXTSEL_RESET ((uint32_t)0xFFF0FFFF) |
Definition at line 140 of file stm32f4xx_adc.c.
| #define CR_CLEAR_MASK ((uint32_t)0xFFFC30E0) |
Definition at line 171 of file stm32f4xx_adc.c.
| #define HRTIM_TAOEN_MASK (HRTIM_OENR_TA2OEN | HRTIM_OENR_TA1OEN) |
Definition at line 2465 of file stm32f30x_hrtim.h.
| #define HRTIM_TBOEN_MASK (HRTIM_OENR_TB2OEN | HRTIM_OENR_TB1OEN) |
Definition at line 2466 of file stm32f30x_hrtim.h.
| #define HRTIM_TCOEN_MASK (HRTIM_OENR_TC2OEN | HRTIM_OENR_TC1OEN) |
Definition at line 2467 of file stm32f30x_hrtim.h.
| #define HRTIM_TDOEN_MASK (HRTIM_OENR_TD2OEN | HRTIM_OENR_TD1OEN) |
Definition at line 2468 of file stm32f30x_hrtim.h.
| #define HRTIM_TEOEN_MASK (HRTIM_OENR_TE2OEN | HRTIM_OENR_TE1OEN) |
Definition at line 2469 of file stm32f30x_hrtim.h.
| #define JDR_Offset ((uint8_t)0x80) |
Definition at line 101 of file stm32f30x_adc.c.
| #define JDR_OFFSET ((uint8_t)0x28) |
Definition at line 165 of file stm32f4xx_adc.c.
| #define JSQR_CLEAR_Mask ((uint32_t)0x00000000) |
Definition at line 95 of file stm32f30x_adc.c.
| #define JSQR_JL_RESET ((uint32_t)0xFFCFFFFF) |
Definition at line 158 of file stm32f4xx_adc.c.
| #define JSQR_JL_SET ((uint32_t)0x00300000) |
Definition at line 157 of file stm32f4xx_adc.c.
| #define JSQR_JSQ_SET ((uint32_t)0x0000001F) |
Definition at line 154 of file stm32f4xx_adc.c.
| #define SMPR1_SMP_SET ((uint32_t)0x00000007) |
Definition at line 161 of file stm32f4xx_adc.c.
| #define SMPR2_SMP_SET ((uint32_t)0x00000007) |
Definition at line 162 of file stm32f4xx_adc.c.
| #define SQR1_L_RESET ((uint32_t)0xFF0FFFFF) |
Definition at line 151 of file stm32f4xx_adc.c.
| #define SQR1_SQ_SET ((uint32_t)0x0000001F) |
Definition at line 148 of file stm32f4xx_adc.c.
| #define SQR2_SQ_SET ((uint32_t)0x0000001F) |
Definition at line 147 of file stm32f4xx_adc.c.
| #define SQR3_SQ_SET ((uint32_t)0x0000001F) |
Definition at line 146 of file stm32f4xx_adc.c.
| void ADC_AnalogWatchdogSingleChannelConfig | ( | ADC_TypeDef * | ADCx, |
| uint8_t | ADC_Channel | ||
| ) |
Configures the analog watchdog guarded single channel.
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| ADC_Channel | the ADC channel to configure for the analog watchdog. This parameter can be one of the following values:
|
| None |
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| ADC_Channel | the ADC channel to configure for the analog watchdog. This parameter can be one of the following values:
|
| None |
Definition at line 525 of file stm32f4xx_adc.c.
| void ADC_AnalogWatchdogThresholdsConfig | ( | ADC_TypeDef * | ADCx, |
| uint16_t | HighThreshold, | ||
| uint16_t | LowThreshold | ||
| ) |
Configures the high and low thresholds of the analog watchdog.
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| HighThreshold | the ADC analog watchdog High threshold value. This parameter must be a 12-bit value. |
| LowThreshold | the ADC analog watchdog Low threshold value. This parameter must be a 12-bit value. |
| None |
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| HighThreshold | the ADC analog watchdog High threshold value. This parameter must be a 12bit value. |
| LowThreshold | the ADC analog watchdog Low threshold value. This parameter must be a 12bit value. |
| None |
Definition at line 484 of file stm32f4xx_adc.c.
| void ADC_ClearFlag | ( | ADC_TypeDef * | ADCx, |
| uint8_t | ADC_FLAG | ||
| ) |
Clears the ADCx's pending flags.
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| ADC_FLAG | specifies the flag to clear. This parameter can be any combination of the following values:
|
| None |
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| ADC_FLAG | specifies the flag to clear. This parameter can be any combination of the following values:
|
| None |
Definition at line 1652 of file stm32f4xx_adc.c.
| void ADC_ClearITPendingBit | ( | ADC_TypeDef * | ADCx, |
| uint16_t | ADC_IT | ||
| ) |
Clears the ADCx's interrupt pending bits.
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| ADC_IT | specifies the ADC interrupt pending bit to clear. This parameter can be one of the following values:
|
| None |
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| ADC_IT | specifies the ADC interrupt pending bit to clear. This parameter can be any combination of the following values:
|
| None |
Definition at line 1714 of file stm32f4xx_adc.c.
| void ADC_CommonInit | ( | ADC_CommonInitTypeDef * | ADC_CommonInitStruct | ) |
Initializes the ADCs peripherals according to the specified parameters in the ADC_CommonInitStruct.
| ADC_CommonInitStruct | pointer to an ADC_CommonInitTypeDef structure that contains the configuration information for All ADCs peripherals. |
| None |
Definition at line 341 of file stm32f4xx_adc.c.
| void ADC_ContinuousModeCmd | ( | ADC_TypeDef * | ADCx, |
| FunctionalState | NewState | ||
| ) |
Enables or disables the ADC continuous conversion mode.
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| NewState | new state of the selected ADC continuous conversion mode This parameter can be: ENABLE or DISABLE. |
| None |
Definition at line 900 of file stm32f4xx_adc.c.
| void ADC_DeInit | ( | void | ) |
Deinitializes all ADCs peripherals registers to their default reset values.
| None |
| None |
Definition at line 213 of file stm32f4xx_adc.c.
| void ADC_DMARequestAfterLastTransferCmd | ( | ADC_TypeDef * | ADCx, |
| FunctionalState | NewState | ||
| ) |
Enables or disables the ADC DMA request after last transfer (Single-ADC mode)
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| NewState | new state of the selected ADC DMA request after last transfer. This parameter can be: ENABLE or DISABLE. |
| None |
Definition at line 1072 of file stm32f4xx_adc.c.
| void ADC_EOCOnEachRegularChannelCmd | ( | ADC_TypeDef * | ADCx, |
| FunctionalState | NewState | ||
| ) |
Enables or disables the EOC on each regular channel conversion.
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| NewState | new state of the selected ADC EOC flag rising This parameter can be: ENABLE or DISABLE. |
| None |
Definition at line 875 of file stm32f4xx_adc.c.
| void ADC_ExternalTrigInjectedConvConfig | ( | ADC_TypeDef * | ADCx, |
| uint32_t | ADC_ExternalTrigInjecConv | ||
| ) |
Configures the ADCx external trigger for injected channels conversion.
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| ADC_ExternalTrigInjecConv | specifies the ADC trigger to start injected conversion. This parameter can be one of the following values:
|
| None |
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| ADC_ExternalTrigInjecConv | specifies the ADC trigger to start injected conversion. This parameter can be one of the following values:
|
| None |
Definition at line 1322 of file stm32f4xx_adc.c.
| void ADC_ExternalTrigInjectedConvEdgeConfig | ( | ADC_TypeDef * | ADCx, |
| uint32_t | ADC_ExternalTrigInjecConvEdge | ||
| ) |
Configures the ADCx external trigger edge for injected channels conversion.
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| ADC_ExternalTrigInjecConvEdge | specifies the ADC external trigger edge to start injected conversion. This parameter can be one of the following values:
|
| None |
Definition at line 1356 of file stm32f4xx_adc.c.
| FlagStatus ADC_GetFlagStatus | ( | ADC_TypeDef * | ADCx, |
| uint8_t | ADC_FLAG | ||
| ) |
Checks whether the specified ADC flag is set or not.
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| ADC_FLAG | specifies the flag to check. This parameter can be one of the following values:
|
| The | new state of ADC_FLAG (SET or RESET). |
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| ADC_FLAG | specifies the flag to check. This parameter can be one of the following values:
|
| The | new state of ADC_FLAG (SET or RESET). |
Definition at line 1617 of file stm32f4xx_adc.c.
| ITStatus ADC_GetITStatus | ( | ADC_TypeDef * | ADCx, |
| uint16_t | ADC_IT | ||
| ) |
Checks whether the specified ADC interrupt has occurred or not.
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| ADC_IT | specifies the ADC interrupt source to check. This parameter can be one of the following values:
|
| The | new state of ADC_IT (SET or RESET). |
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| ADC_IT | specifies the ADC interrupt source to check. This parameter can be one of the following values:
|
| The | new state of ADC_IT (SET or RESET). |
Definition at line 1673 of file stm32f4xx_adc.c.
| uint32_t ADC_GetMultiModeConversionValue | ( | void | ) |
Returns the last ADC1, ADC2 and ADC3 regular conversions results data in the selected multi mode.
| None |
| The | Data conversion value. |
Definition at line 1002 of file stm32f4xx_adc.c.
| FlagStatus ADC_GetSoftwareStartConvStatus | ( | ADC_TypeDef * | ADCx | ) |
Gets the selected ADC Software start regular conversion Status.
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| The | new state of ADC software start conversion (SET or RESET). |
Gets the selected ADC Software start regular conversion Status.
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| The | new state of ADC software start conversion (SET or RESET). |
Definition at line 845 of file stm32f4xx_adc.c.
| FlagStatus ADC_GetSoftwareStartInjectedConvCmdStatus | ( | ADC_TypeDef * | ADCx | ) |
Gets the selected ADC Software start injected conversion Status.
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| The | new state of ADC software start injected conversion (SET or RESET). |
Definition at line 1390 of file stm32f4xx_adc.c.
| void ADC_InjectedChannelConfig | ( | ADC_TypeDef * | ADCx, |
| uint8_t | ADC_Channel, | ||
| uint8_t | Rank, | ||
| uint8_t | ADC_SampleTime | ||
| ) |
Configures for the selected ADC injected channel its corresponding rank in the sequencer and its sample time.
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| ADC_Channel | the ADC channel to configure. This parameter can be one of the following values:
|
| Rank | The rank in the injected group sequencer. This parameter must be between 1 to 4. |
| ADC_SampleTime | The sample time value to be set for the selected channel. This parameter can be one of the following values:
|
| None |
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| ADC_Channel | the ADC channel to configure. This parameter can be one of the following values:
|
| Rank | The rank in the injected group sequencer. This parameter must be between 1 and 4. |
| ADC_SampleTime | The sample time value to be set for the selected channel. This parameter can be one of the following values:
|
| None |
Definition at line 1186 of file stm32f4xx_adc.c.
| void ADC_InjectedSequencerLengthConfig | ( | ADC_TypeDef * | ADCx, |
| uint8_t | Length | ||
| ) |
Configures the sequencer length for injected channels.
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| Length | The sequencer length. This parameter must be a number between 1 to 4. |
| None |
Definition at line 1249 of file stm32f4xx_adc.c.
| void ADC_ITConfig | ( | ADC_TypeDef * | ADCx, |
| uint16_t | ADC_IT, | ||
| FunctionalState | NewState | ||
| ) |
Enables or disables the specified ADC interrupts.
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| ADC_IT | specifies the ADC interrupt sources to be enabled or disabled. This parameter can be one of the following values:
|
| NewState | new state of the specified ADC interrupts. This parameter can be: ENABLE or DISABLE. |
| None |
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| ADC_IT | specifies the ADC interrupt sources to be enabled or disabled. This parameter can be any combination of the following values:
|
| NewState | new state of the specified ADC interrupts. This parameter can be: ENABLE or DISABLE. |
| None |
Definition at line 1580 of file stm32f4xx_adc.c.
| void ADC_MultiModeDMARequestAfterLastTransferCmd | ( | FunctionalState | NewState | ) |
Enables or disables the ADC DMA request after last transfer in multi ADC mode.
| NewState | new state of the selected ADC DMA request after last transfer. This parameter can be: ENABLE or DISABLE. |
| None |
Definition at line 1099 of file stm32f4xx_adc.c.
| void ADC_SetInjectedOffset | ( | ADC_TypeDef * | ADCx, |
| uint8_t | ADC_InjectedChannel, | ||
| uint16_t | Offset | ||
| ) |
Set the injected channels conversion value offset.
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| ADC_InjectedChannel | the ADC injected channel to set its offset. This parameter can be one of the following values:
|
| Offset | the offset value for the selected ADC injected channel This parameter must be a 12bit value. |
| None |
Definition at line 1284 of file stm32f4xx_adc.c.
| void ADC_SoftwareStartConv | ( | ADC_TypeDef * | ADCx | ) |
Enables the selected ADC software start conversion of the regular channels.
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| None |
Definition at line 831 of file stm32f4xx_adc.c.
| void ADC_SoftwareStartInjectedConv | ( | ADC_TypeDef * | ADCx | ) |
Enables the selected ADC software start conversion of the injected channels.
| ADCx | where x can be 1, 2 or 3 to select the ADC peripheral. |
| None |
Definition at line 1377 of file stm32f4xx_adc.c.
| void ADC_TempSensorVrefintCmd | ( | FunctionalState | NewState | ) |
Enables or disables the temperature sensor and Vrefint channels.
| NewState | new state of the temperature sensor and Vrefint channels. This parameter can be: ENABLE or DISABLE. |
| None | Enables or disables the temperature sensor and Vrefint channels. |
| NewState | new state of the temperature sensor. This parameter can be: ENABLE or DISABLE. |
| None |
Definition at line 589 of file stm32f4xx_adc.c.
| void ADC_VBATCmd | ( | FunctionalState | NewState | ) |
Enables or disables the VBAT (Voltage Battery) channel.
| NewState | new state of the VBAT channel. This parameter can be: ENABLE or DISABLE. |
| None |
Definition at line 611 of file stm32f4xx_adc.c.
| 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_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_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_DeInit | ( | HRTIM_TypeDef * | HRTIMx | ) |
De-initializes a timer operating in all mode.
| HRTIMx | pointer to HRTIMx peripheral |
| None |
Definition at line 255 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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_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_SimpleBase_Init | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| HRTIM_BaseInitTypeDef * | HRTIM_BaseInitStruct | ||
| ) |
Initializes the HRTIMx timer in basic time base mode.
| HRTIMx | pointer to HRTIMx peripheral |
| TimerIdx | Timer index This parameter can be one of the following values:
|
| None |
Definition at line 228 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_SimpleCapture_Init | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| HRTIM_BaseInitTypeDef * | HRTIM_BaseInitStruct | ||
| ) |
Initializes a timer operating in basic capture mode.
| HRTIMx | pointer to HRTIMx peripheral |
| TimerIdx | Timer index This parameter can be one of the following values:
|
| None |
Definition at line 313 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_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_SimpleOC_Init | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| HRTIM_BaseInitTypeDef * | HRTIM_BaseInitStruct | ||
| ) |
Initializes the HRTIMx timer in basic output compare mode.
| HRTIMx | pointer to HRTIMx peripheral |
| TimerIdx | Timer index This parameter can be one of the following values:
|
| None |
Definition at line 275 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_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_SimpleOnePulse_Init | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| HRTIM_BaseInitTypeDef * | HRTIM_BaseInitStruct | ||
| ) |
Initializes the HRTIMx timer in basic one pulse mode.
| HRTIMx | pointer to HRTIMx peripheral |
| TimerIdx | Timer index This parameter can be one of the following values:
|
| None |
Definition at line 334 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_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_SimplePWM_Init | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| HRTIM_BaseInitTypeDef * | HRTIM_BaseInitStruct | ||
| ) |
Initializes the HRTIMx timer in basic PWM mode.
| HRTIMx | pointer to HRTIMx peripheral |
| TimerIdx | Timer index This parameter can be one of the following values:
|
| None |
Definition at line 295 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_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_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_Waveform_Init | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| HRTIM_BaseInitTypeDef * | HRTIM_BaseInitStruct, | ||
| HRTIM_TimerInitTypeDef * | HRTIM_TimerInitStruct | ||
| ) |
Initializes a timer operating in waveform mode.
| HRTIMx | pointer to HRTIMx peripheral |
| TimerIdx | Timer index This parameter can be one of the following values:
|
| pTimerInit | pointer to the timer initialization data structure |
| None |
Definition at line 354 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_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.
| 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.
| void HRTIM_WaveformOuputConfig | ( | HRTIM_TypeDef * | HRTIMx, |
| uint32_t | TimerIdx, | ||
| uint32_t | Output, | ||
| HRTIM_OutputCfgTypeDef * | pOutputCfg | ||
| ) |
| 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_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.
| 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.