ISSDK
1.8
IoT Sensing Software Development Kit
drivers
gpio
kinetis
gpio_driver_irq_kw41z.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_kL27z.c
11
* @brief The gpio_driver_irq_kL27z.c file containes the Generic IRQ implmentation for the FRDM-KL27Z GPIO.
12
*/
13
14
#include "fsl_gpio.h"
15
#include "frdm_kw41z.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
PORTA_IRQHandler
(
void
)
23
{
24
ksdk_gpio_handle_interrupt
(GPIOA,
PORTA_NUM
);
25
}
26
void
PORTB_PORTC_IRQHandler
(
void
)
27
{
28
ksdk_gpio_handle_interrupt
(
GPIO_TYPE
,
GPIO_PORT_NUM
);
29
}
PORTB_PORTC_IRQHandler
void PORTB_PORTC_IRQHandler(void)
Definition:
gpio_driver_irq_kw41z.c:26
GPIO_TYPE
#define GPIO_TYPE
Definition:
frdm_kl27z.h:111
GPIO_PORT_NUM
#define GPIO_PORT_NUM
Definition:
frdm_kl27z.h:112
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.
PORTA_IRQHandler
void PORTA_IRQHandler(void)
Definition:
gpio_driver_irq_kw41z.c:22
© Copyright 2016-2020 NXP. All Rights Reserved.