71 lines
2.1 KiB
C
71 lines
2.1 KiB
C
|
/** ##########################################################################
|
||
|
** Filename :
|
||
|
** Project :
|
||
|
** Module :
|
||
|
** Processor :
|
||
|
** Version :
|
||
|
** Compiler :
|
||
|
** Date/Time :
|
||
|
** Abstract :
|
||
|
** Contents :
|
||
|
** Note :
|
||
|
**
|
||
|
** (c) Copyright dmdz Co.,Ltd
|
||
|
** --------------------------------------------------------------------------
|
||
|
** R E V I S I O N H I S T O R Y
|
||
|
** --------------------------------------------------------------------------
|
||
|
** Date Ver Author Description
|
||
|
|
||
|
** -20230602- --V1.0-- --mingyea--- --修改--
|
||
|
|
||
|
** #########################################################################*/
|
||
|
#ifndef NVIC_H__
|
||
|
#define NVIC_H__
|
||
|
|
||
|
/*---------------------------------------------------------------------------
|
||
|
- I N C L U D E F I L E S
|
||
|
----------------------------------------------------------------------------*/
|
||
|
#include "common_types.h"
|
||
|
#include "nvic_cfg.h"
|
||
|
|
||
|
/*---------------------------------------------------------------------------
|
||
|
- D E F I N E S / M A C R O S
|
||
|
----------------------------------------------------------------------------*/
|
||
|
|
||
|
/*---------------------------------------------------------------------------
|
||
|
- T Y P E D E F I N I T I O N S
|
||
|
----------------------------------------------------------------------------*/
|
||
|
|
||
|
|
||
|
/*---------------------------------------------------------------------------
|
||
|
- G L O B A L V A R I A B L E S
|
||
|
- only configuration table allowed here,variables are not allowed!
|
||
|
----------------------------------------------------------------------------*/
|
||
|
|
||
|
|
||
|
/*---------------------------------------------------------------------------
|
||
|
- C O N S T A N T S
|
||
|
----------------------------------------------------------------------------*/
|
||
|
|
||
|
/*---------------------------------------------------------------------------
|
||
|
- F U N C T I O N P R O T O T Y P E
|
||
|
----------------------------------------------------------------------------*/
|
||
|
|
||
|
|
||
|
|
||
|
void nvic_init(void);
|
||
|
|
||
|
#if 0
|
||
|
void nvic_disable_primask(void);
|
||
|
void nvic_enable_primask(void);
|
||
|
void nvic_disable_faultmask(void);
|
||
|
void nvic_enable_faultmask(void);
|
||
|
#endif
|
||
|
|
||
|
|
||
|
#endif /* __NVIC_H__ */
|
||
|
|
||
|
|
||
|
|
||
|
|