aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/AVR/hal_gpt_lld.c
diff options
context:
space:
mode:
authortfateba <tfateba@35acf78f-673a-0410-8e92-d51de3d6d3f4>2017-01-04 20:21:30 +0000
committertfateba <tfateba@35acf78f-673a-0410-8e92-d51de3d6d3f4>2017-01-04 20:21:30 +0000
commit1bfb237b4899c68132f2b0221024f4309e51acda (patch)
treec013054b4ffae51d0669119292b168abbd3ded5d /os/hal/ports/AVR/hal_gpt_lld.c
parent2d269f44878c3190e9a6db6f4a20980225ffd677 (diff)
downloadChibiOS-1bfb237b4899c68132f2b0221024f4309e51acda.tar.gz
ChibiOS-1bfb237b4899c68132f2b0221024f4309e51acda.tar.bz2
ChibiOS-1bfb237b4899c68132f2b0221024f4309e51acda.zip
Correction of AVR hal_gpt_lld to respect the project code style.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10019 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/AVR/hal_gpt_lld.c')
-rw-r--r--os/hal/ports/AVR/hal_gpt_lld.c33
1 files changed, 29 insertions, 4 deletions
diff --git a/os/hal/ports/AVR/hal_gpt_lld.c b/os/hal/ports/AVR/hal_gpt_lld.c
index 49d1082d6..6ccc7cadd 100644
--- a/os/hal/ports/AVR/hal_gpt_lld.c
+++ b/os/hal/ports/AVR/hal_gpt_lld.c
@@ -20,7 +20,7 @@
*/
/**
- * @file AVR/gpt_lld.c
+ * @file hal_gpt_lld.c
* @brief AVR GPT driver subsystem low level driver.
*
* @addtogroup GPT
@@ -159,6 +159,11 @@ static uint8_t getTimerIndex(GPTDriver *gptp) {
/*===========================================================================*/
#if AVR_GPT_USE_TIM1 || defined(__DOXYGEN__)
+/**
+ * @brief TIM1 interrupt handler.
+ *
+ * @isr
+ */
OSAL_IRQ_HANDLER(TIMER1_COMPA_vect) {
OSAL_IRQ_PROLOGUE();
@@ -168,6 +173,11 @@ OSAL_IRQ_HANDLER(TIMER1_COMPA_vect) {
#endif
#if AVR_GPT_USE_TIM2 || defined(__DOXYGEN__)
+/**
+ * @brief TIM2 interrupt handler.
+ *
+ * @isr
+ */
OSAL_IRQ_HANDLER(TIMER2_COMPA_vect) {
OSAL_IRQ_PROLOGUE();
@@ -177,6 +187,11 @@ OSAL_IRQ_HANDLER(TIMER2_COMPA_vect) {
#endif
#if AVR_GPT_USE_TIM3 || defined(__DOXYGEN__)
+/**
+ * @brief TIM3 interrupt handler.
+ *
+ * @isr
+ */
OSAL_IRQ_HANDLER(TIMER3_COMPA_vect) {
OSAL_IRQ_PROLOGUE();
@@ -186,6 +201,11 @@ OSAL_IRQ_HANDLER(TIMER3_COMPA_vect) {
#endif
#if AVR_GPT_USE_TIM4 || defined(__DOXYGEN__)
+/**
+ * @brief TIM4 interrupt handler.
+ *
+ * @isr
+ */
OSAL_IRQ_HANDLER(TIMER4_COMPA_vect) {
OSAL_IRQ_PROLOGUE();
@@ -195,6 +215,11 @@ OSAL_IRQ_HANDLER(TIMER4_COMPA_vect) {
#endif
#if AVR_GPT_USE_TIM5 || defined(__DOXYGEN__)
+/**
+ * @brief TIM2 interrupt handler.
+ *
+ * @isr
+ */
OSAL_IRQ_HANDLER(TIMER5_COMPA_vect) {
OSAL_IRQ_PROLOGUE();
@@ -234,7 +259,7 @@ void gpt_lld_init(void) {
/**
* @brief Configures and activates the GPT peripheral.
*
- * @param[in] gptp pointer to the @p GPTDriver object
+ * @param[in] gptp pointer to the @p GPTDriver object
*
* @notapi
*/
@@ -275,7 +300,7 @@ void gpt_lld_start(GPTDriver *gptp) {
/**
* @brief Deactivates the GPT peripheral.
*
- * @param[in] gptp pointer to the @p GPTDriver object
+ * @param[in] gptp pointer to the @p GPTDriver object
*
* @notapi
*/
@@ -313,7 +338,7 @@ void gpt_lld_start_timer(GPTDriver *gptp, gptcnt_t period) {
/**
* @brief Stops the timer.
*
- * @param[in] gptp pointer to the @p GPTDriver object
+ * @param[in] gptp pointer to the @p GPTDriver object
*
* @notapi
*/