2024-02-06 21:10:51 +08:00
|
|
|
#ifndef INTERRUPT_H
|
|
|
|
#define INTERRUPT_H 1
|
|
|
|
|
2024-02-18 03:53:54 +08:00
|
|
|
/**
|
|
|
|
* @name interrupt_open
|
|
|
|
* @addindex 平台定制函数
|
|
|
|
*
|
|
|
|
* ```c
|
|
|
|
* void interrupt_open();
|
|
|
|
* ```
|
|
|
|
*
|
|
|
|
* 开启中断
|
|
|
|
*/
|
2024-02-06 21:10:51 +08:00
|
|
|
void interrupt_open();
|
2024-02-18 03:53:54 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @name interrupt_close
|
|
|
|
* @addindex 平台定制函数
|
|
|
|
*
|
|
|
|
* ```c
|
|
|
|
* void interrupt_close();
|
|
|
|
* ```
|
|
|
|
*
|
|
|
|
* 开启中断
|
|
|
|
*/
|
2024-02-06 21:10:51 +08:00
|
|
|
void interrupt_close();
|
|
|
|
|
|
|
|
#endif
|