STM8L15x Standard Peripherals Drivers
|
Interrupts, DMA and flags management functions. More...
Functions | |
void | TIM4_ClearFlag (TIM4_FLAG_TypeDef TIM4_FLAG) |
Clears the TIM�s pending flags. | |
void | TIM4_ClearITPendingBit (TIM4_IT_TypeDef TIM4_IT) |
Clears the TIM4's interrupt pending bits. | |
void | TIM4_DMACmd (TIM4_DMASource_TypeDef TIM4_DMASource, FunctionalState NewState) |
Enables or disables the TIMx�s DMA Requests. | |
void | TIM4_GenerateEvent (TIM4_EventSource_TypeDef TIM4_EventSource) |
Configures the TIM4 event to be generated by software. | |
FlagStatus | TIM4_GetFlagStatus (TIM4_FLAG_TypeDef TIM4_FLAG) |
Checks whether the specified TIM4 flag is set or not. | |
ITStatus | TIM4_GetITStatus (TIM4_IT_TypeDef TIM4_IT) |
Checks whether the TIM4 interrupt has occurred or not. | |
void | TIM4_ITConfig (TIM4_IT_TypeDef TIM4_IT, FunctionalState NewState) |
Enables or disables the specified TIM4 interrupts. |
Detailed Description
Interrupts, DMA and flags management functions.
=============================================================================== Interrupts, DMA and flags management functions ===============================================================================
Function Documentation
void TIM4_ClearFlag | ( | TIM4_FLAG_TypeDef | TIM4_FLAG | ) |
Clears the TIM�s pending flags.
Definition at line 494 of file stm8l15x_tim4.c.
References IS_TIM4_CLEAR_FLAG, and TIM4.
void TIM4_ClearITPendingBit | ( | TIM4_IT_TypeDef | TIM4_IT | ) |
Clears the TIM4's interrupt pending bits.
Definition at line 544 of file stm8l15x_tim4.c.
References IS_TIM4_IT, and TIM4.
void TIM4_DMACmd | ( | TIM4_DMASource_TypeDef | TIM4_DMASource, |
FunctionalState | NewState | ||
) |
Enables or disables the TIMx�s DMA Requests.
Definition at line 562 of file stm8l15x_tim4.c.
References DISABLE, IS_FUNCTIONAL_STATE, IS_TIM4_DMA_SOURCE, and TIM4.
void TIM4_GenerateEvent | ( | TIM4_EventSource_TypeDef | TIM4_EventSource | ) |
Configures the TIM4 event to be generated by software.
Definition at line 450 of file stm8l15x_tim4.c.
References IS_TIM4_EVENT_SOURCE, and TIM4.
FlagStatus TIM4_GetFlagStatus | ( | TIM4_FLAG_TypeDef | TIM4_FLAG | ) |
Checks whether the specified TIM4 flag is set or not.
Definition at line 468 of file stm8l15x_tim4.c.
References IS_TIM4_GET_FLAG, RESET, SET, and TIM4.
ITStatus TIM4_GetITStatus | ( | TIM4_IT_TypeDef | TIM4_IT | ) |
Checks whether the TIM4 interrupt has occurred or not.
Definition at line 512 of file stm8l15x_tim4.c.
References IS_TIM4_GET_IT, RESET, SET, and TIM4.
void TIM4_ITConfig | ( | TIM4_IT_TypeDef | TIM4_IT, |
FunctionalState | NewState | ||
) |
Enables or disables the specified TIM4 interrupts.
Definition at line 424 of file stm8l15x_tim4.c.
References DISABLE, IS_FUNCTIONAL_STATE, IS_TIM4_IT, and TIM4.