STM8L15x Standard Peripherals Drivers
|
Interrupts, DMA and flags management functions. More...
Functions | |
void | TIM3_ClearFlag (TIM3_FLAG_TypeDef TIM3_FLAG) |
Clears the TIM�s pending flags. | |
void | TIM3_ClearITPendingBit (TIM3_IT_TypeDef TIM3_IT) |
Clears the TIM's interrupt pending bits. | |
void | TIM3_DMACmd (TIM3_DMASource_TypeDef TIM3_DMASource, FunctionalState NewState) |
Enables or disables the TIM3 DMA Requests. | |
void | TIM3_GenerateEvent (TIM3_EventSource_TypeDef TIM3_EventSource) |
Configures the TIM3 event to be generated by software. | |
FlagStatus | TIM3_GetFlagStatus (TIM3_FLAG_TypeDef TIM3_FLAG) |
Checks whether the specified TIM3 flag is set or not. | |
ITStatus | TIM3_GetITStatus (TIM3_IT_TypeDef TIM3_IT) |
Checks whether the TIM3 interrupt has occurred or not. | |
void | TIM3_ITConfig (TIM3_IT_TypeDef TIM3_IT, FunctionalState NewState) |
Enables or disables the specified TIM3 interrupts. | |
void | TIM3_SelectCCDMA (FunctionalState NewState) |
Selects the TIM3 peripheral Capture Compare DMA source. |
Detailed Description
Interrupts, DMA and flags management functions.
=============================================================================== Interrupts, DMA and flags management functions ===============================================================================
Function Documentation
void TIM3_ClearFlag | ( | TIM3_FLAG_TypeDef | TIM3_FLAG | ) |
Clears the TIM�s pending flags.
Definition at line 1500 of file stm8l15x_tim3.c.
References IS_TIM3_CLEAR_FLAG, and TIM3.
void TIM3_ClearITPendingBit | ( | TIM3_IT_TypeDef | TIM3_IT | ) |
Clears the TIM's interrupt pending bits.
Definition at line 1555 of file stm8l15x_tim3.c.
References IS_TIM3_IT, and TIM3.
void TIM3_DMACmd | ( | TIM3_DMASource_TypeDef | TIM3_DMASource, |
FunctionalState | NewState | ||
) |
Enables or disables the TIM3 DMA Requests.
Definition at line 1575 of file stm8l15x_tim3.c.
References DISABLE, IS_FUNCTIONAL_STATE, IS_TIM3_DMA_SOURCE, and TIM3.
void TIM3_GenerateEvent | ( | TIM3_EventSource_TypeDef | TIM3_EventSource | ) |
Configures the TIM3 event to be generated by software.
Definition at line 1445 of file stm8l15x_tim3.c.
References IS_TIM3_EVENT_SOURCE, and TIM3.
FlagStatus TIM3_GetFlagStatus | ( | TIM3_FLAG_TypeDef | TIM3_FLAG | ) |
Checks whether the specified TIM3 flag is set or not.
Definition at line 1467 of file stm8l15x_tim3.c.
References IS_TIM3_GET_FLAG, RESET, SET, and TIM3.
ITStatus TIM3_GetITStatus | ( | TIM3_IT_TypeDef | TIM3_IT | ) |
Checks whether the TIM3 interrupt has occurred or not.
Definition at line 1520 of file stm8l15x_tim3.c.
References IS_TIM3_GET_IT, RESET, SET, and TIM3.
void TIM3_ITConfig | ( | TIM3_IT_TypeDef | TIM3_IT, |
FunctionalState | NewState | ||
) |
Enables or disables the specified TIM3 interrupts.
Definition at line 1416 of file stm8l15x_tim3.c.
References DISABLE, IS_FUNCTIONAL_STATE, IS_TIM3_IT, and TIM3.
void TIM3_SelectCCDMA | ( | FunctionalState | NewState | ) |
Selects the TIM3 peripheral Capture Compare DMA source.
Definition at line 1599 of file stm8l15x_tim3.c.
References DISABLE, IS_FUNCTIONAL_STATE, TIM3, and TIM_CR2_CCDS.