/*********************************************************
*Copyright (C), 2017, Shanghai Eastsoft Microelectronics Co., Ltd.
 * @锟侥硷拷锟斤拷:  irqhandler.h
 * @锟斤拷  锟斤拷:  AE Team
 * @锟斤拷  锟斤拷:  V1.01
 * @锟斤拷  锟斤拷:  2022/07/25
 * @锟斤拷  锟斤拷:  E2PROM模锟斤拷锟斤拷锟?
 * @note
 *          Change Logs:
 *          Date            Author          Notes
 *          25 July 2022    AE Team         change license to Apache-2.0
 *
 * Copyright (C) Shanghai Eastsoft Microelectronics Co. Ltd. All rights reserved.
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Licensed under the Apache License, Version 2.0 (the License); you may
 * not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an AS IS BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 **********************************************************************************
 */

#ifndef __IRQHANDLER_H__
#define __IRQHANDLER_H__

#include "FS030.h"
#include "lib_config.h"
#include "systick.h"


extern uint8_t g_txbuf[0xFF];          /* 锟斤拷锟斤拷锟斤拷锟捷伙拷锟斤拷 */
extern uint8_t g_tx_length;            /* 锟斤拷锟斤拷锟斤拷锟捷筹拷锟斤拷 */
extern uint8_t g_tx_count;             /* 锟斤拷锟斤拷锟街节硷拷锟斤拷 */

extern uint8_t g_rxbuf[0xFF];          /* 锟斤拷锟斤拷锟斤拷锟捷伙拷锟斤拷 */
extern uint8_t g_rx_length;            /* 锟斤拷锟斤拷锟斤拷锟捷筹拷锟斤拷 */
extern uint8_t g_rx_count;             /* 锟斤拷锟斤拷锟街节硷拷锟斤拷 */


/************锟叫断猴拷锟斤拷锟斤拷锟斤拷***********/
void  NMI_IRQHandler(void);
void  HardFault_IRQHandler(void);
void  SVC_IRQHandler(void);
void  PendSV_IRQHandler(void);
void  SysTick_IRQHandler(void);

#endif
