STM8L15x Standard Peripherals Drivers
|
Interrupts, DMA and flags management functions. More...
Functions | |
void | TIM1_ClearFlag (TIM1_FLAG_TypeDef TIM1_FLAG) |
Clears the TIM1�s pending flags. | |
void | TIM1_ClearITPendingBit (TIM1_IT_TypeDef TIM1_IT) |
Clears the TIM1's interrupt pending bits. | |
void | TIM1_DMACmd (TIM1_DMASource_TypeDef TIM1_DMASource, FunctionalState NewState) |
Enables or disables the TIM�s DMA Requests. | |
void | TIM1_DMAConfig (TIM1_DMABase_TypeDef TIM1_DMABase, TIM1_DMABurstLength_TypeDef TIM1_DMABurstLength) |
Configures the TIM1�s DMA interface. | |
void | TIM1_GenerateEvent (TIM1_EventSource_TypeDef TIM1_EventSource) |
Configures the TIM1 event to be generated by software. | |
FlagStatus | TIM1_GetFlagStatus (TIM1_FLAG_TypeDef TIM1_FLAG) |
Checks whether the specified TIM1 flag is set or not. | |
ITStatus | TIM1_GetITStatus (TIM1_IT_TypeDef TIM1_IT) |
Checks whether the TIM1 interrupt has occurred or not. | |
void | TIM1_ITConfig (TIM1_IT_TypeDef TIM1_IT, FunctionalState NewState) |
Enables or disables the specified TIM1 interrupts. | |
void | TIM1_SelectCCDMA (FunctionalState NewState) |
Selects the TIM1 peripheral Capture Compare DMA source. |
Detailed Description
Interrupts, DMA and flags management functions.
=============================================================================== Interrupts, DMA and flags management functions ===============================================================================
Function Documentation
void TIM1_ClearFlag | ( | TIM1_FLAG_TypeDef | TIM1_FLAG | ) |
Clears the TIM1�s pending flags.
Definition at line 2083 of file stm8l15x_tim1.c.
References IS_TIM1_CLEAR_FLAG, and TIM1.
void TIM1_ClearITPendingBit | ( | TIM1_IT_TypeDef | TIM1_IT | ) |
Clears the TIM1's interrupt pending bits.
Definition at line 2146 of file stm8l15x_tim1.c.
References IS_TIM1_IT, and TIM1.
void TIM1_DMACmd | ( | TIM1_DMASource_TypeDef | TIM1_DMASource, |
FunctionalState | NewState | ||
) |
Enables or disables the TIM�s DMA Requests.
Definition at line 2183 of file stm8l15x_tim1.c.
References DISABLE, IS_FUNCTIONAL_STATE, IS_TIM1_DMA_SOURCE, and TIM1.
void TIM1_DMAConfig | ( | TIM1_DMABase_TypeDef | TIM1_DMABase, |
TIM1_DMABurstLength_TypeDef | TIM1_DMABurstLength | ||
) |
Configures the TIM1�s DMA interface.
Definition at line 2161 of file stm8l15x_tim1.c.
References IS_TIM1_DMABase, IS_TIM1_DMABurstLength, and TIM1.
void TIM1_GenerateEvent | ( | TIM1_EventSource_TypeDef | TIM1_EventSource | ) |
Configures the TIM1 event to be generated by software.
Definition at line 2017 of file stm8l15x_tim1.c.
References IS_TIM1_EVENT_SOURCE, and TIM1.
FlagStatus TIM1_GetFlagStatus | ( | TIM1_FLAG_TypeDef | TIM1_FLAG | ) |
Checks whether the specified TIM1 flag is set or not.
Definition at line 2043 of file stm8l15x_tim1.c.
References IS_TIM1_GET_FLAG, RESET, SET, and TIM1.
ITStatus TIM1_GetITStatus | ( | TIM1_IT_TypeDef | TIM1_IT | ) |
Checks whether the TIM1 interrupt has occurred or not.
Definition at line 2108 of file stm8l15x_tim1.c.
References IS_TIM1_GET_IT, RESET, SET, and TIM1.
void TIM1_ITConfig | ( | TIM1_IT_TypeDef | TIM1_IT, |
FunctionalState | NewState | ||
) |
Enables or disables the specified TIM1 interrupts.
Definition at line 1985 of file stm8l15x_tim1.c.
References DISABLE, IS_FUNCTIONAL_STATE, IS_TIM1_IT, and TIM1.
void TIM1_SelectCCDMA | ( | FunctionalState | NewState | ) |
Selects the TIM1 peripheral Capture Compare DMA source.
Definition at line 2207 of file stm8l15x_tim1.c.
References DISABLE, IS_FUNCTIONAL_STATE, TIM1, and TIM1_CR2_CCDS.