STM8L15x Standard Peripherals Drivers
|
Interrupts, DMA and flags management functions. More...
Functions | |
void | TIM5_ClearFlag (TIM5_FLAG_TypeDef TIM5_FLAG) |
Clears the TIM�s pending flags. | |
void | TIM5_ClearITPendingBit (TIM5_IT_TypeDef TIM5_IT) |
Clears the TIM's interrupt pending bits. | |
void | TIM5_DMACmd (TIM5_DMASource_TypeDef TIM5_DMASource, FunctionalState NewState) |
Enables or disables the TIM5 DMA Requests. | |
void | TIM5_GenerateEvent (TIM5_EventSource_TypeDef TIM5_EventSource) |
Configures the TIM5 event to be generated by software. | |
FlagStatus | TIM5_GetFlagStatus (TIM5_FLAG_TypeDef TIM5_FLAG) |
Checks whether the specified TIM5 flag is set or not. | |
ITStatus | TIM5_GetITStatus (TIM5_IT_TypeDef TIM5_IT) |
Checks whether the TIM5 interrupt has occurred or not. | |
void | TIM5_ITConfig (TIM5_IT_TypeDef TIM5_IT, FunctionalState NewState) |
Enables or disables the specified TIM5 interrupts. | |
void | TIM5_SelectCCDMA (FunctionalState NewState) |
Selects the TIM5 peripheral Capture Compare DMA source. |
Detailed Description
Interrupts, DMA and flags management functions.
=============================================================================== Interrupts, DMA and flags management functions ===============================================================================
Function Documentation
void TIM5_ClearFlag | ( | TIM5_FLAG_TypeDef | TIM5_FLAG | ) |
Clears the TIM�s pending flags.
Definition at line 1500 of file stm8l15x_tim5.c.
References IS_TIM5_CLEAR_FLAG, and TIM5.
void TIM5_ClearITPendingBit | ( | TIM5_IT_TypeDef | TIM5_IT | ) |
Clears the TIM's interrupt pending bits.
Definition at line 1555 of file stm8l15x_tim5.c.
References IS_TIM5_IT, and TIM5.
void TIM5_DMACmd | ( | TIM5_DMASource_TypeDef | TIM5_DMASource, |
FunctionalState | NewState | ||
) |
Enables or disables the TIM5 DMA Requests.
Definition at line 1575 of file stm8l15x_tim5.c.
References DISABLE, IS_FUNCTIONAL_STATE, IS_TIM5_DMA_SOURCE, and TIM5.
void TIM5_GenerateEvent | ( | TIM5_EventSource_TypeDef | TIM5_EventSource | ) |
Configures the TIM5 event to be generated by software.
Definition at line 1445 of file stm8l15x_tim5.c.
References IS_TIM5_EVENT_SOURCE, and TIM5.
FlagStatus TIM5_GetFlagStatus | ( | TIM5_FLAG_TypeDef | TIM5_FLAG | ) |
Checks whether the specified TIM5 flag is set or not.
Definition at line 1467 of file stm8l15x_tim5.c.
References IS_TIM5_GET_FLAG, RESET, SET, and TIM5.
ITStatus TIM5_GetITStatus | ( | TIM5_IT_TypeDef | TIM5_IT | ) |
Checks whether the TIM5 interrupt has occurred or not.
Definition at line 1520 of file stm8l15x_tim5.c.
References IS_TIM5_GET_IT, RESET, SET, and TIM5.
void TIM5_ITConfig | ( | TIM5_IT_TypeDef | TIM5_IT, |
FunctionalState | NewState | ||
) |
Enables or disables the specified TIM5 interrupts.
Definition at line 1416 of file stm8l15x_tim5.c.
References DISABLE, IS_FUNCTIONAL_STATE, IS_TIM5_IT, and TIM5.
void TIM5_SelectCCDMA | ( | FunctionalState | NewState | ) |
Selects the TIM5 peripheral Capture Compare DMA source.
Definition at line 1599 of file stm8l15x_tim5.c.
References DISABLE, IS_FUNCTIONAL_STATE, TIM5, and TIM_CR2_CCDS.