embedded/projects/osp-steval-mki109v2/sources/boardsupport/stm32f10x_it.c
void EXTI15_10_IRQHandler(void)
{
    // !!WARNING!!: The time stamp extension scheme implemented in osp-api.c will need to be changed
    // if timer capture is used for sensor time-stamping. Current scheme will cause time jumps if two
    // sensors are timer-captured before & after rollover but the sensor that was captured after
    // rollover is queued before the sensor that was captured before timer rollover
    if (EXTI_GetFlagStatus(MAG_RDY_INT_EXTI_LINE) != RESET)
    {
        /* Clear the EXTI line pending bit */
        EXTI_ClearFlag(MAG_RDY_INT_EXTI_LINE);
        SendDataReadyIndication(MAG_INPUT_SENSOR, RTC_GetCounter());
        /* NOTE: No I2C transactions (rd/wr) allowed from ISR */
    }

    if (EXTI_GetFlagStatus(GYRO_RDY_INT_EXTI_LINE) != RESET)
    {
        /* Clear the EXTI line pending bit */
        EXTI_ClearFlag(GYRO_RDY_INT_EXTI_LINE);
        /* Send indication to Sensor task */
        SendDataReadyIndication(GYRO_INPUT_SENSOR, RTC_GetCounter());
        /* NOTE: No I2C transactions (rd/wr) allowed from ISR */
    }
}
/****************************************************************************************************
 * @fn      EXTI15_10_IRQHandler
 *          This function handles External lines 15 to 10 interrupt request.
 *
 ***************************************************************************************************/
@fn      EXTI15_10_IRQHandler
This function handles External lines 15 to 10 interrupt request.
@fn EXTI15_10_IRQHandler This function handles External lines 15 to 10 interrupt request .
void EXTI15_10_IRQHandler(void)
{
    if (EXTI_GetFlagStatus(MAG_RDY_INT_EXTI_LINE) != RESET)
    {
        EXTI_ClearFlag(MAG_RDY_INT_EXTI_LINE);
        SendDataReadyIndication(MAG_INPUT_SENSOR, RTC_GetCounter());
    }
    if (EXTI_GetFlagStatus(GYRO_RDY_INT_EXTI_LINE) != RESET)
    {
        EXTI_ClearFlag(GYRO_RDY_INT_EXTI_LINE);
        SendDataReadyIndication(GYRO_INPUT_SENSOR, RTC_GetCounter());
    }
}
void EXTI15_10_IRQHandler ( void ) { if ( EXTI_GetFlagStatus ( MAG_RDY_INT_EXTI_LINE ) != RESET ) { EXTI_ClearFlag ( MAG_RDY_INT_EXTI_LINE ) ; SendDataReadyIndication ( MAG_INPUT_SENSOR , RTC_GetCounter ( ) ) ; } if ( EXTI_GetFlagStatus ( GYRO_RDY_INT_EXTI_LINE ) != RESET ) { EXTI_ClearFlag ( GYRO_RDY_INT_EXTI_LINE ) ; SendDataReadyIndication ( GYRO_INPUT_SENSOR , RTC_GetCounter ( ) ) ; } }
@fn      EXTI15_10_IRQHandler
          This function handles External lines 15 to 10 interrupt request.
@fn EXTI15_10_IRQHandler This function handles External lines 15 to 10 interrupt request .
// !!WARNING!!: The time stamp extension scheme implemented in osp-api.c will need to be changed // if timer capture is used for sensor time-stamping. Current scheme will cause time jumps if two // sensors are timer-captured before & after rollover but the sensor that was captured after // rollover is queued before the sensor that was captured before timer rollover /* Clear the EXTI line pending bit */ /* NOTE: No I2C transactions (rd/wr) allowed from ISR */ /* Clear the EXTI line pending bit */ /* Send indication to Sensor task */ /* NOTE: No I2C transactions (rd/wr) allowed from ISR */