ISSDK
1.8
IoT Sensing Software Development Kit
drivers
gpio
qn
gpio_driver_irq.c
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2016, Freescale Semiconductor, Inc.
3
* Copyright 2016-2017 NXP
4
* All rights reserved.
5
*
6
* SPDX-License-Identifier: BSD-3-Clause
7
*/
8
9
/**
10
* @file gpio_driver_irq.c
11
* @brief The gpio_driver_irq.c file containes the Generic IRQ implmentation for GPIO.
12
*/
13
14
#include "fsl_gpio.h"
15
#include "
gpio_driver.h
"
16
17
extern
void
ksdk_gpio_handle_interrupt
(GPIO_Type *base,
port_number_t
portNumber);
18
19
/*******************************************************************************
20
* Functions - GPIOIRQ implementation
21
******************************************************************/
22
void
GPIOA_IRQHandler
(
void
)
23
{
24
ksdk_gpio_handle_interrupt
(GPIOA,
PORTA_NUM
);
25
}
26
void
GPIOB_IRQHandler
(
void
)
27
{
28
ksdk_gpio_handle_interrupt
(GPIOB,
PORTB_NUM
);
29
}
GPIOA_IRQHandler
void GPIOA_IRQHandler(void)
Definition:
gpio_driver_irq.c:22
gpio_driver.h
PORTA_NUM
Definition:
gpio_driver.h:28
ksdk_gpio_handle_interrupt
void ksdk_gpio_handle_interrupt(GPIO_Type *base, port_number_t portNumber)
Definition:
gpio_driver.c:153
port_number_t
enum port_number port_number_t
GPIO PORT NAMES.
GPIOB_IRQHandler
void GPIOB_IRQHandler(void)
Definition:
gpio_driver_irq.c:26
PORTB_NUM
Definition:
gpio_driver.h:29
© Copyright 2016-2020 NXP. All Rights Reserved.