#ifndef __BOARD_GPIO_H_
#define __BOARD_GPIO_H_

#include "fsl_common.h"
#include "fsl_gpio.h"

//Logic high level
#define LOGIC_HIGH          1
//Logic low level
#define LOGIC_LOW           0

//Port Number
#define GPIO_Port_NUM       0
//Port Base Address
#define GPIO_BASE_ADDR      GPIO

//IRQ Pin Number
#define IRQ_PIN_NUM         7

//Enable IRQ Pin
#define ENABLE_IRQ_PIN      GPIO_PinWrite(GPIO_BASE_ADDR, GPIO_Port_NUM, IRQ_PIN_NUM, LOGIC_LOW)
//Disable IRQ Pin
#define DISABLE_IRQ_PIN     GPIO_PinWrite(GPIO_BASE_ADDR, GPIO_Port_NUM, IRQ_PIN_NUM, LOGIC_HIGH)

#endif
