Template for centralizing common TIM units code.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8249 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
40af275be2
commit
096d7f989d
|
@ -0,0 +1,56 @@
|
|||
/*
|
||||
ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file stm32_tim.h
|
||||
* @brief STM32 TIM units common code.
|
||||
* @note This file requires definitions from the ST STM32 header file.
|
||||
*
|
||||
* @addtogroup STM32_TIMv1
|
||||
* @{
|
||||
*/
|
||||
|
||||
#include "hal.h"
|
||||
|
||||
#if HAL_USE_GPT || HAL_USE_ICU || HAL_USE_PWM || defined(__DOXYGEN__)
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Driver local definitions. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Driver exported variables. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Driver local variables and types. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Driver local functions. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Driver interrupt handlers. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Driver exported functions. */
|
||||
/*===========================================================================*/
|
||||
|
||||
#endif /* HAL_USE_GPT || HAL_USE_ICU || HAL_USE_PWM */
|
||||
|
||||
/** @} */
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
/**
|
||||
* @file stm32_tim.h
|
||||
* @brief STM32 TIM registers layout header.
|
||||
* @brief STM32 TIM units common header.
|
||||
* @note This file requires definitions from the ST STM32 header file.
|
||||
*
|
||||
* @addtogroup STM32_TIMv1
|
||||
|
|
Loading…
Reference in New Issue