2010-09-27 09:28:45 +02:00
|
|
|
/**
|
|
|
|
******************************************************************************
|
|
|
|
*
|
|
|
|
* @addtogroup PIOS PIOS Core hardware abstraction layer
|
|
|
|
* @{
|
|
|
|
* @addtogroup PIOS_EXTI External Interrupt Handlers
|
|
|
|
* @brief External interrupt handler functions
|
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file pios_exti.c
|
|
|
|
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
|
|
|
* @brief External Interrupt Handlers
|
|
|
|
* @see The GNU Public License (GPL) Version 3
|
|
|
|
*
|
|
|
|
*****************************************************************************/
|
2013-05-19 16:37:30 +02:00
|
|
|
/*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2010-09-27 09:28:45 +02:00
|
|
|
* (at your option) any later version.
|
2013-05-19 16:37:30 +02:00
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
|
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
2010-09-27 09:28:45 +02:00
|
|
|
* for more details.
|
2013-05-19 16:37:30 +02:00
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
2010-09-27 09:28:45 +02:00
|
|
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "pios.h"
|
|
|
|
|
2013-03-15 19:25:30 +01:00
|
|
|
#ifdef PIOS_INCLUDE_EXTI
|
2010-09-27 09:28:45 +02:00
|
|
|
|
2012-01-23 05:23:41 +01:00
|
|
|
/* Map EXTI line to full config */
|
2016-07-03 17:10:46 +02:00
|
|
|
#define EXTI_MAX_LINES 16
|
2012-01-23 05:23:41 +01:00
|
|
|
|
2016-05-26 23:48:33 +02:00
|
|
|
static pios_exti_vector_t pios_exti_vector[EXTI_MAX_LINES];
|
2012-01-23 05:23:41 +01:00
|
|
|
|
2013-05-19 16:37:30 +02:00
|
|
|
static uint8_t PIOS_EXTI_line_to_index(uint32_t line)
|
2010-09-27 09:28:45 +02:00
|
|
|
{
|
2013-05-19 16:37:30 +02:00
|
|
|
switch (line) {
|
|
|
|
case EXTI_Line0: return 0;
|
|
|
|
|
|
|
|
case EXTI_Line1: return 1;
|
|
|
|
|
|
|
|
case EXTI_Line2: return 2;
|
|
|
|
|
|
|
|
case EXTI_Line3: return 3;
|
|
|
|
|
|
|
|
case EXTI_Line4: return 4;
|
|
|
|
|
|
|
|
case EXTI_Line5: return 5;
|
|
|
|
|
|
|
|
case EXTI_Line6: return 6;
|
|
|
|
|
|
|
|
case EXTI_Line7: return 7;
|
|
|
|
|
|
|
|
case EXTI_Line8: return 8;
|
|
|
|
|
|
|
|
case EXTI_Line9: return 9;
|
|
|
|
|
|
|
|
case EXTI_Line10: return 10;
|
|
|
|
|
|
|
|
case EXTI_Line11: return 11;
|
|
|
|
|
|
|
|
case EXTI_Line12: return 12;
|
|
|
|
|
|
|
|
case EXTI_Line13: return 13;
|
|
|
|
|
|
|
|
case EXTI_Line14: return 14;
|
|
|
|
|
|
|
|
case EXTI_Line15: return 15;
|
|
|
|
}
|
|
|
|
|
|
|
|
PIOS_Assert(0);
|
|
|
|
return 0xFF;
|
2010-09-27 09:28:45 +02:00
|
|
|
}
|
|
|
|
|
2013-05-19 16:37:30 +02:00
|
|
|
uint8_t PIOS_EXTI_gpio_port_to_exti_source_port(GPIO_TypeDef *gpio_port)
|
2010-09-27 09:28:45 +02:00
|
|
|
{
|
2013-05-19 16:37:30 +02:00
|
|
|
switch ((uint32_t)gpio_port) {
|
|
|
|
case (uint32_t)GPIOA: return GPIO_PortSourceGPIOA;
|
|
|
|
|
|
|
|
case (uint32_t)GPIOB: return GPIO_PortSourceGPIOB;
|
|
|
|
|
|
|
|
case (uint32_t)GPIOC: return GPIO_PortSourceGPIOC;
|
|
|
|
|
|
|
|
case (uint32_t)GPIOD: return GPIO_PortSourceGPIOD;
|
|
|
|
|
|
|
|
case (uint32_t)GPIOE: return GPIO_PortSourceGPIOE;
|
|
|
|
|
|
|
|
case (uint32_t)GPIOF: return GPIO_PortSourceGPIOF;
|
|
|
|
|
|
|
|
case (uint32_t)GPIOG: return GPIO_PortSourceGPIOG;
|
|
|
|
}
|
|
|
|
|
|
|
|
PIOS_Assert(0);
|
|
|
|
return 0xFF;
|
2010-09-27 09:28:45 +02:00
|
|
|
}
|
|
|
|
|
2012-01-23 05:23:41 +01:00
|
|
|
uint8_t PIOS_EXTI_gpio_pin_to_exti_source_pin(uint32_t gpio_pin)
|
2010-09-27 09:28:45 +02:00
|
|
|
{
|
2013-05-19 16:37:30 +02:00
|
|
|
switch ((uint32_t)gpio_pin) {
|
|
|
|
case GPIO_Pin_0: return GPIO_PinSource0;
|
|
|
|
|
|
|
|
case GPIO_Pin_1: return GPIO_PinSource1;
|
|
|
|
|
|
|
|
case GPIO_Pin_2: return GPIO_PinSource2;
|
|
|
|
|
|
|
|
case GPIO_Pin_3: return GPIO_PinSource3;
|
|
|
|
|
|
|
|
case GPIO_Pin_4: return GPIO_PinSource4;
|
|
|
|
|
|
|
|
case GPIO_Pin_5: return GPIO_PinSource5;
|
|
|
|
|
|
|
|
case GPIO_Pin_6: return GPIO_PinSource6;
|
|
|
|
|
|
|
|
case GPIO_Pin_7: return GPIO_PinSource7;
|
|
|
|
|
|
|
|
case GPIO_Pin_8: return GPIO_PinSource8;
|
|
|
|
|
|
|
|
case GPIO_Pin_9: return GPIO_PinSource9;
|
|
|
|
|
|
|
|
case GPIO_Pin_10: return GPIO_PinSource10;
|
|
|
|
|
|
|
|
case GPIO_Pin_11: return GPIO_PinSource11;
|
|
|
|
|
|
|
|
case GPIO_Pin_12: return GPIO_PinSource12;
|
|
|
|
|
|
|
|
case GPIO_Pin_13: return GPIO_PinSource13;
|
|
|
|
|
|
|
|
case GPIO_Pin_14: return GPIO_PinSource14;
|
|
|
|
|
|
|
|
case GPIO_Pin_15: return GPIO_PinSource15;
|
|
|
|
}
|
|
|
|
|
|
|
|
PIOS_Assert(0);
|
|
|
|
return 0xFF;
|
2010-09-27 09:28:45 +02:00
|
|
|
}
|
|
|
|
|
2013-05-19 16:37:30 +02:00
|
|
|
int32_t PIOS_EXTI_Init(const struct pios_exti_cfg *cfg)
|
2010-09-27 09:28:45 +02:00
|
|
|
{
|
2013-05-19 16:37:30 +02:00
|
|
|
PIOS_Assert(cfg);
|
2011-05-26 20:57:41 +02:00
|
|
|
|
2013-05-19 16:37:30 +02:00
|
|
|
/* Connect this config to the requested vector */
|
|
|
|
uint8_t line_index = PIOS_EXTI_line_to_index(cfg->line);
|
2012-01-23 05:23:41 +01:00
|
|
|
|
2016-05-26 23:48:33 +02:00
|
|
|
if (pios_exti_vector[line_index]) {
|
2013-05-19 16:37:30 +02:00
|
|
|
/* Someone else already has this mapped */
|
2016-05-26 23:48:33 +02:00
|
|
|
return -1;
|
2013-05-19 16:37:30 +02:00
|
|
|
}
|
2012-01-23 05:23:41 +01:00
|
|
|
|
2016-05-26 23:48:33 +02:00
|
|
|
/* Bind the vector to the exti line */
|
|
|
|
pios_exti_vector[line_index] = cfg->vector;
|
2012-01-23 05:23:41 +01:00
|
|
|
|
2013-05-19 16:37:30 +02:00
|
|
|
/* Initialize the GPIO pin */
|
|
|
|
GPIO_Init(cfg->pin.gpio, &cfg->pin.init);
|
2012-01-23 05:23:41 +01:00
|
|
|
|
2013-05-19 16:37:30 +02:00
|
|
|
/* Set up the EXTI interrupt source */
|
|
|
|
uint8_t exti_source_port = PIOS_EXTI_gpio_port_to_exti_source_port(cfg->pin.gpio);
|
|
|
|
uint8_t exti_source_pin = PIOS_EXTI_gpio_pin_to_exti_source_pin(cfg->pin.init.GPIO_Pin);
|
|
|
|
GPIO_EXTILineConfig(exti_source_port, exti_source_pin);
|
|
|
|
EXTI_Init(&cfg->exti.init);
|
2012-01-23 05:23:41 +01:00
|
|
|
|
2013-05-19 16:37:30 +02:00
|
|
|
/* Enable the interrupt channel */
|
|
|
|
NVIC_Init(&cfg->irq.init);
|
2012-01-23 05:23:41 +01:00
|
|
|
|
2013-05-19 16:37:30 +02:00
|
|
|
return 0;
|
2016-05-26 23:48:33 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
int32_t PIOS_EXTI_DeInit(const struct pios_exti_cfg *cfg)
|
|
|
|
{
|
|
|
|
uint8_t line_index = PIOS_EXTI_line_to_index(cfg->line);
|
2012-01-23 05:23:41 +01:00
|
|
|
|
2016-07-03 17:10:46 +02:00
|
|
|
if (pios_exti_vector[line_index] == cfg->vector) {
|
2016-05-27 03:13:49 +02:00
|
|
|
EXTI_InitTypeDef disable = cfg->exti.init;
|
|
|
|
disable.EXTI_LineCmd = DISABLE;
|
2016-07-03 17:10:46 +02:00
|
|
|
|
2016-05-27 03:13:49 +02:00
|
|
|
EXTI_Init(&disable);
|
2016-05-26 23:48:33 +02:00
|
|
|
pios_exti_vector[line_index] = 0;
|
2016-07-03 17:10:46 +02:00
|
|
|
|
2016-05-26 23:48:33 +02:00
|
|
|
return 0;
|
|
|
|
}
|
2016-07-03 17:10:46 +02:00
|
|
|
|
2013-05-19 16:37:30 +02:00
|
|
|
return -1;
|
2010-09-27 09:28:45 +02:00
|
|
|
}
|
2012-01-23 05:23:41 +01:00
|
|
|
|
2012-09-16 21:44:09 +02:00
|
|
|
static bool PIOS_EXTI_generic_irq_handler(uint8_t line_index)
|
2010-09-27 09:28:45 +02:00
|
|
|
{
|
2016-07-03 17:10:46 +02:00
|
|
|
if (pios_exti_vector[line_index]) {
|
2016-05-26 23:48:33 +02:00
|
|
|
return pios_exti_vector[line_index]();
|
2013-05-19 16:37:30 +02:00
|
|
|
}
|
2016-07-03 17:10:46 +02:00
|
|
|
|
2016-05-26 23:48:33 +02:00
|
|
|
/* Unconfigured interrupt just fired! */
|
|
|
|
return false;
|
2012-01-23 05:23:41 +01:00
|
|
|
}
|
|
|
|
|
2012-09-16 21:44:09 +02:00
|
|
|
#ifdef PIOS_INCLUDE_FREERTOS
|
2013-05-19 16:37:30 +02:00
|
|
|
#define PIOS_EXTI_HANDLE_LINE(line, woken) \
|
|
|
|
if (EXTI_GetITStatus(EXTI_Line##line) != RESET) { \
|
|
|
|
EXTI_ClearITPendingBit(EXTI_Line##line); \
|
|
|
|
woken = PIOS_EXTI_generic_irq_handler(line) ? pdTRUE : woken; \
|
|
|
|
}
|
2012-09-16 21:44:09 +02:00
|
|
|
#else
|
2013-05-19 16:37:30 +02:00
|
|
|
#define PIOS_EXTI_HANDLE_LINE(line, woken) \
|
|
|
|
if (EXTI_GetITStatus(EXTI_Line##line) != RESET) { \
|
|
|
|
EXTI_ClearITPendingBit(EXTI_Line##line); \
|
|
|
|
PIOS_EXTI_generic_irq_handler(line); \
|
|
|
|
}
|
2012-09-16 21:44:09 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Bind Interrupt Handlers */
|
2012-01-23 05:23:41 +01:00
|
|
|
|
2013-05-19 16:37:30 +02:00
|
|
|
static void PIOS_EXTI_0_irq_handler(void)
|
2012-01-23 05:23:41 +01:00
|
|
|
{
|
2012-09-16 21:44:09 +02:00
|
|
|
#ifdef PIOS_INCLUDE_FREERTOS
|
2013-05-19 16:37:30 +02:00
|
|
|
portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
|
2012-09-28 07:40:36 +02:00
|
|
|
#else
|
2013-05-19 16:37:30 +02:00
|
|
|
bool xHigherPriorityTaskWoken; // dummy variable
|
2012-09-16 21:44:09 +02:00
|
|
|
#endif
|
2013-05-19 16:37:30 +02:00
|
|
|
PIOS_EXTI_HANDLE_LINE(0, xHigherPriorityTaskWoken);
|
2012-09-16 21:44:09 +02:00
|
|
|
#ifdef PIOS_INCLUDE_FREERTOS
|
2013-05-19 16:37:30 +02:00
|
|
|
portEND_SWITCHING_ISR(xHigherPriorityTaskWoken);
|
2012-09-16 21:44:09 +02:00
|
|
|
#endif
|
2011-05-26 20:57:41 +02:00
|
|
|
}
|
2013-05-19 16:37:30 +02:00
|
|
|
void EXTI0_IRQHandler(void) __attribute__((alias("PIOS_EXTI_0_irq_handler")));
|
2011-04-20 12:37:50 +02:00
|
|
|
|
2013-05-19 16:37:30 +02:00
|
|
|
static void PIOS_EXTI_1_irq_handler(void)
|
2011-04-20 12:37:50 +02:00
|
|
|
{
|
2012-09-16 21:44:09 +02:00
|
|
|
#ifdef PIOS_INCLUDE_FREERTOS
|
2013-05-19 16:37:30 +02:00
|
|
|
portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
|
2012-09-28 07:40:36 +02:00
|
|
|
#else
|
2013-05-19 16:37:30 +02:00
|
|
|
bool xHigherPriorityTaskWoken; // dummy variable
|
2012-09-16 21:44:09 +02:00
|
|
|
#endif
|
2013-05-19 16:37:30 +02:00
|
|
|
PIOS_EXTI_HANDLE_LINE(1, xHigherPriorityTaskWoken);
|
2012-09-16 21:44:09 +02:00
|
|
|
#ifdef PIOS_INCLUDE_FREERTOS
|
2013-05-19 16:37:30 +02:00
|
|
|
portEND_SWITCHING_ISR(xHigherPriorityTaskWoken);
|
2012-09-16 21:44:09 +02:00
|
|
|
#endif
|
2012-01-23 05:23:41 +01:00
|
|
|
}
|
2013-05-19 16:37:30 +02:00
|
|
|
void EXTI1_IRQHandler(void) __attribute__((alias("PIOS_EXTI_1_irq_handler")));
|
2012-01-23 05:23:41 +01:00
|
|
|
|
2013-05-19 16:37:30 +02:00
|
|
|
static void PIOS_EXTI_2_irq_handler(void)
|
2012-01-23 05:23:41 +01:00
|
|
|
{
|
2012-09-16 21:44:09 +02:00
|
|
|
#ifdef PIOS_INCLUDE_FREERTOS
|
2013-05-19 16:37:30 +02:00
|
|
|
portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
|
2012-09-28 07:40:36 +02:00
|
|
|
#else
|
2013-05-19 16:37:30 +02:00
|
|
|
bool xHigherPriorityTaskWoken; // dummy variable
|
2012-09-16 21:44:09 +02:00
|
|
|
#endif
|
2013-05-19 16:37:30 +02:00
|
|
|
PIOS_EXTI_HANDLE_LINE(2, xHigherPriorityTaskWoken);
|
2012-09-16 21:44:09 +02:00
|
|
|
#ifdef PIOS_INCLUDE_FREERTOS
|
2013-05-19 16:37:30 +02:00
|
|
|
portEND_SWITCHING_ISR(xHigherPriorityTaskWoken);
|
2012-09-16 21:44:09 +02:00
|
|
|
#endif
|
2011-04-20 12:37:50 +02:00
|
|
|
}
|
2013-05-19 16:37:30 +02:00
|
|
|
void EXTI2_IRQHandler(void) __attribute__((alias("PIOS_EXTI_2_irq_handler")));
|
2012-01-23 05:23:41 +01:00
|
|
|
|
2013-05-19 16:37:30 +02:00
|
|
|
static void PIOS_EXTI_3_irq_handler(void)
|
2012-01-23 05:23:41 +01:00
|
|
|
{
|
2012-09-16 21:44:09 +02:00
|
|
|
#ifdef PIOS_INCLUDE_FREERTOS
|
2013-05-19 16:37:30 +02:00
|
|
|
portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
|
2012-09-28 07:40:36 +02:00
|
|
|
#else
|
2013-05-19 16:37:30 +02:00
|
|
|
bool xHigherPriorityTaskWoken; // dummy variable
|
2012-09-16 21:44:09 +02:00
|
|
|
#endif
|
2013-05-19 16:37:30 +02:00
|
|
|
PIOS_EXTI_HANDLE_LINE(3, xHigherPriorityTaskWoken);
|
2012-09-16 21:44:09 +02:00
|
|
|
#ifdef PIOS_INCLUDE_FREERTOS
|
2013-05-19 16:37:30 +02:00
|
|
|
portEND_SWITCHING_ISR(xHigherPriorityTaskWoken);
|
2012-09-16 21:44:09 +02:00
|
|
|
#endif
|
2012-01-23 05:23:41 +01:00
|
|
|
}
|
2013-05-19 16:37:30 +02:00
|
|
|
void EXTI3_IRQHandler(void) __attribute__((alias("PIOS_EXTI_3_irq_handler")));
|
2012-01-23 05:23:41 +01:00
|
|
|
|
2013-05-19 16:37:30 +02:00
|
|
|
static void PIOS_EXTI_4_irq_handler(void)
|
2012-01-23 05:23:41 +01:00
|
|
|
{
|
2012-09-16 21:44:09 +02:00
|
|
|
#ifdef PIOS_INCLUDE_FREERTOS
|
2013-05-19 16:37:30 +02:00
|
|
|
portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
|
2012-09-28 07:40:36 +02:00
|
|
|
#else
|
2013-05-19 16:37:30 +02:00
|
|
|
bool xHigherPriorityTaskWoken; // dummy variable
|
2012-09-16 21:44:09 +02:00
|
|
|
#endif
|
2013-05-19 16:37:30 +02:00
|
|
|
PIOS_EXTI_HANDLE_LINE(4, xHigherPriorityTaskWoken);
|
2012-09-16 21:44:09 +02:00
|
|
|
#ifdef PIOS_INCLUDE_FREERTOS
|
2013-05-19 16:37:30 +02:00
|
|
|
portEND_SWITCHING_ISR(xHigherPriorityTaskWoken);
|
2012-09-16 21:44:09 +02:00
|
|
|
#endif
|
2012-01-23 05:23:41 +01:00
|
|
|
}
|
2013-05-19 16:37:30 +02:00
|
|
|
void EXTI4_IRQHandler(void) __attribute__((alias("PIOS_EXTI_4_irq_handler")));
|
2012-01-23 05:23:41 +01:00
|
|
|
|
2013-05-19 16:37:30 +02:00
|
|
|
static void PIOS_EXTI_9_5_irq_handler(void)
|
2012-01-23 05:23:41 +01:00
|
|
|
{
|
2012-09-16 21:44:09 +02:00
|
|
|
#ifdef PIOS_INCLUDE_FREERTOS
|
2013-05-19 16:37:30 +02:00
|
|
|
portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
|
2012-09-28 07:40:36 +02:00
|
|
|
#else
|
2013-05-19 16:37:30 +02:00
|
|
|
bool xHigherPriorityTaskWoken; // dummy variable
|
2012-09-16 21:44:09 +02:00
|
|
|
#endif
|
2013-05-19 16:37:30 +02:00
|
|
|
PIOS_EXTI_HANDLE_LINE(5, xHigherPriorityTaskWoken);
|
|
|
|
PIOS_EXTI_HANDLE_LINE(6, xHigherPriorityTaskWoken);
|
|
|
|
PIOS_EXTI_HANDLE_LINE(7, xHigherPriorityTaskWoken);
|
|
|
|
PIOS_EXTI_HANDLE_LINE(8, xHigherPriorityTaskWoken);
|
|
|
|
PIOS_EXTI_HANDLE_LINE(9, xHigherPriorityTaskWoken);
|
2012-09-16 21:44:09 +02:00
|
|
|
#ifdef PIOS_INCLUDE_FREERTOS
|
2013-05-19 16:37:30 +02:00
|
|
|
portEND_SWITCHING_ISR(xHigherPriorityTaskWoken);
|
2012-09-16 21:44:09 +02:00
|
|
|
#endif
|
2012-01-23 05:23:41 +01:00
|
|
|
}
|
2013-05-19 16:37:30 +02:00
|
|
|
void EXTI9_5_IRQHandler(void) __attribute__((alias("PIOS_EXTI_9_5_irq_handler")));
|
2012-01-23 05:23:41 +01:00
|
|
|
|
2013-05-19 16:37:30 +02:00
|
|
|
static void PIOS_EXTI_15_10_irq_handler(void)
|
2012-01-23 05:23:41 +01:00
|
|
|
{
|
2012-09-16 21:44:09 +02:00
|
|
|
#ifdef PIOS_INCLUDE_FREERTOS
|
2013-05-19 16:37:30 +02:00
|
|
|
portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
|
2012-09-28 07:40:36 +02:00
|
|
|
#else
|
2013-05-19 16:37:30 +02:00
|
|
|
bool xHigherPriorityTaskWoken; // dummy variable
|
2012-09-16 21:44:09 +02:00
|
|
|
#endif
|
2013-05-19 16:37:30 +02:00
|
|
|
PIOS_EXTI_HANDLE_LINE(10, xHigherPriorityTaskWoken);
|
|
|
|
PIOS_EXTI_HANDLE_LINE(11, xHigherPriorityTaskWoken);
|
|
|
|
PIOS_EXTI_HANDLE_LINE(12, xHigherPriorityTaskWoken);
|
|
|
|
PIOS_EXTI_HANDLE_LINE(13, xHigherPriorityTaskWoken);
|
|
|
|
PIOS_EXTI_HANDLE_LINE(14, xHigherPriorityTaskWoken);
|
|
|
|
PIOS_EXTI_HANDLE_LINE(15, xHigherPriorityTaskWoken);
|
2012-09-16 21:44:09 +02:00
|
|
|
#ifdef PIOS_INCLUDE_FREERTOS
|
2013-05-19 16:37:30 +02:00
|
|
|
portEND_SWITCHING_ISR(xHigherPriorityTaskWoken);
|
2012-09-16 21:44:09 +02:00
|
|
|
#endif
|
2012-01-23 05:23:41 +01:00
|
|
|
}
|
2013-05-19 16:37:30 +02:00
|
|
|
void EXTI15_10_IRQHandler(void) __attribute__((alias("PIOS_EXTI_15_10_irq_handler")));
|
2012-01-23 05:23:41 +01:00
|
|
|
|
2011-04-20 12:37:50 +02:00
|
|
|
#endif /* PIOS_INCLUDE_EXTI */
|
2010-09-27 09:28:45 +02:00
|
|
|
|
|
|
|
/**
|
2013-05-19 16:37:30 +02:00
|
|
|
* @}
|
|
|
|
* @}
|
|
|
|
*/
|