/**
  ******************************************************************************
  * @file    EXTI_CFG.h
  * @author  SINOMCU-AE
  * @brief   Header file of EXTI_CFG.c file.
  *    
  *          This file describes the EXTI pin macro definitions used:
  *             PB4  <-- KEY2
  *         
  ******************************************************************************
  * @attention 
  *                           DISCLAIMER
  * The present firmware which is for guidance only aims at providing customers
  * with coding information regarding their products in order for them to save
  * time. As a result, SinoMCU shall not be held liable for any direct,indirect
  * or consequential damages with respect to any claims arising from the content 
  * of such firmware and/or the use made by customers of the coding information 
  * contained herein in connection with their products.
  *
  * <h2><center>&copy; Copyright (c) 2021 sinomcu All rights reserved.</center></h2>
  *
  ******************************************************************************
  */

#ifndef __EXTI_CFG_H
#define __EXTI_CFG_H

#include "ms32f0xx.h"

#define KEY2_Pin                MS32_GPIO_PIN_4
#define KEY2_GPIO_Port          GPIOB
#define KEY2_AHB_PERIPH_Port    MS32_AHB1_GRP1_PERIPH_GPIOB
#define KEY2_EXTI_IRQn          EXTI4_15_IRQn

void exit_line_init(void);

#endif /* __EXTI_CFG_H */ 

/******************************** END OF FILE *********************************/
