STM8S/A Standard Peripherals Drivers: stm8s_tim6.c File Reference

STM8S/A

stm8s_tim6.c File Reference

This file contains all the functions for the TIM6 peripheral. More...

#include "stm8s_tim6.h"

Go to the source code of this file.

Functions

void TIM6_ARRPreloadConfig (FunctionalState NewState)
 Enables or disables TIM6 peripheral Preload register on ARR.
void TIM6_ClearFlag (TIM6_FLAG_TypeDef TIM6_FLAG)
 Clears the TIM�s pending flags.
void TIM6_ClearITPendingBit (TIM6_IT_TypeDef TIM6_IT)
 Clears the TIM6's interrupt pending bits.
void TIM6_Cmd (FunctionalState NewState)
 Enables or disables the TIM6 peripheral.
void TIM6_DeInit (void)
 Deinitializes the TIM6 peripheral registers to their default reset values.
void TIM6_GenerateEvent (TIM6_EventSource_TypeDef TIM6_EventSource)
 Configures the TIM6 event to be generated by software.
uint8_t TIM6_GetCounter (void)
 Gets the TIM6 Counter value.
FlagStatus TIM6_GetFlagStatus (TIM6_FLAG_TypeDef TIM6_FLAG)
 Checks whether the specified TIM6 flag is set or not.
ITStatus TIM6_GetITStatus (TIM6_IT_TypeDef TIM6_IT)
 Checks whether the TIM6 interrupt has occurred or not.
TIM6_Prescaler_TypeDef TIM6_GetPrescaler (void)
 Gets the TIM6 Prescaler value.
void TIM6_InternalClockConfig (void)
 Enables the TIM6 internal Clock.
void TIM6_ITConfig (TIM6_IT_TypeDef TIM6_IT, FunctionalState NewState)
 Enables or disables the specified TIM6 interrupts.
void TIM6_PrescalerConfig (TIM6_Prescaler_TypeDef Prescaler, TIM6_PSCReloadMode_TypeDef TIM6_PSCReloadMode)
 Configures the TIM6 Prescaler.
void TIM6_SelectInputTrigger (TIM6_TS_TypeDef TIM6_InputTriggerSource)
 Selects the TIM6 Input Trigger source.
void TIM6_SelectMasterSlaveMode (FunctionalState NewState)
 Sets or Resets the TIM6 Master/Slave Mode.
void TIM6_SelectOnePulseMode (TIM6_OPMode_TypeDef TIM6_OPMode)
 Selects the TIM6�s One Pulse Mode.
void TIM6_SelectOutputTrigger (TIM6_TRGOSource_TypeDef TIM6_TRGOSource)
 Selects the TIM6 Trigger Output Mode.
void TIM6_SelectSlaveMode (TIM6_SlaveMode_TypeDef TIM6_SlaveMode)
 Selects the TIM6 Slave Mode.
void TIM6_SetAutoreload (uint8_t Autoreload)
 Sets the TIM6 Autoreload Register value.
void TIM6_SetCounter (uint8_t Counter)
 Sets the TIM6 Counter Register value.
void TIM6_TimeBaseInit (TIM6_Prescaler_TypeDef TIM6_Prescaler, uint8_t TIM6_Period)
 Initializes the TIM6 Time Base Unit according to the specified parameters.
void TIM6_UpdateDisableConfig (FunctionalState NewState)
 Enables or Disables the TIM6 Update event.
void TIM6_UpdateRequestConfig (TIM6_UpdateSource_TypeDef TIM6_UpdateSource)
 Selects the TIM6 Update Request Interrupt source.

Detailed Description

This file contains all the functions for the TIM6 peripheral.

Author:
MCD Application Team
Version:
V2.3.0
Date:
16-June-2017
Attention:

© COPYRIGHT 2014 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file stm8s_tim6.c.

STM8 Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM8 8-bit Microcontrollers platform visit www.st.com