/*! ----------------------------------------------------------------------------
 * @file	interrupts.h
 * @brief	interrupts access function declarations
 *
 * Copyright 2016 (c) Insight SIP, Sophia-antipolis, France.
 *
 * All rights reserved.
 */

#ifndef _INTERRUPTS_H_
#define _INTERRUPTS_H_

#include "app_error.h"

typedef void (*InterruptType)(void);

typedef void (*GPIO_Interrupt_handle) ();

ret_code_t GPIO_INT_init 	(uint32_t, InterruptType);
void GPIO_INT_enable		(uint32_t pin);
void GPIO_INT_disable		(uint32_t pin);


#endif /* _INTERRUPTS_H_ */
