aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/gpt_lld.h
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-11-27 19:55:59 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-11-27 19:55:59 +0000
commit47654dcc4c7b8b1cc6c1fc5ec160cd18a449c215 (patch)
treefb344c8f0a469e5eb68701f08e417d1037215081 /os/hal/platforms/STM32/gpt_lld.h
parent076e7453bf812c59f38cda94dd0379b6f03af0d0 (diff)
parente5ce81050f699c61b43aa74384d011c861fb31f2 (diff)
downloadChibiOS-47654dcc4c7b8b1cc6c1fc5ec160cd18a449c215.tar.gz
ChibiOS-47654dcc4c7b8b1cc6c1fc5ec160cd18a449c215.tar.bz2
ChibiOS-47654dcc4c7b8b1cc6c1fc5ec160cd18a449c215.zip
I2C branch. Goals: DMA-based driver, stm32f4x port.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3541 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/gpt_lld.h')
-rw-r--r--os/hal/platforms/STM32/gpt_lld.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/gpt_lld.h b/os/hal/platforms/STM32/gpt_lld.h
index ef00c23a9..13c5e1f4b 100644
--- a/os/hal/platforms/STM32/gpt_lld.h
+++ b/os/hal/platforms/STM32/gpt_lld.h
@@ -40,6 +40,10 @@
/*===========================================================================*/
/**
+ * @name Configuration options
+ * @{
+ */
+/**
* @brief GPTD1 driver enable switch.
* @details If set to @p TRUE the support for GPTD1 is included.
* @note The default is @p TRUE.
@@ -134,6 +138,7 @@
#if !defined(STM32_GPT_TIM8_IRQ_PRIORITY) || defined(__DOXYGEN__)
#define STM32_GPT_TIM8_IRQ_PRIORITY 7
#endif
+/** @} */
/*===========================================================================*/
/* Derived constants and error checks. */
@@ -225,7 +230,7 @@ struct GPTDriver {
/**
* @brief Pointer to the TIMx registers block.
*/
- TIM_TypeDef *tim;
+ stm32_tim_t *tim;
};
/*===========================================================================*/