1
0

ch32v10x_it.h 685 B

1234567891011121314151617181920
  1. /********************************** (C) COPYRIGHT *******************************
  2. * File Name : ch32v10x_it.h
  3. * Author : WCH
  4. * Version : V1.0.0
  5. * Date : 2020/04/30
  6. * Description : This file contains the headers of the interrupt handlers.
  7. * Copyright (c) 2021 Nanjing Qinheng Microelectronics Co., Ltd.
  8. * SPDX-License-Identifier: Apache-2.0
  9. *******************************************************************************/
  10. #ifndef __CH32V10x_IT_H
  11. #define __CH32V10x_IT_H
  12. #include "debug.h"
  13. #define GET_INT_SP() asm("csrrw sp,mscratch,sp")
  14. #define FREE_INT_SP() asm("csrrw sp,mscratch,sp")
  15. #endif /* __CH32V10x_IT_H */