15 lines
400 B
C
15 lines
400 B
C
#ifndef _MCU_SELF_DESTRUCTION_H_
|
|
#define _MCU_SELF_DESTRUCTION_H_
|
|
|
|
#include "McuBspGpio.h"
|
|
/* 初始化 */
|
|
void McuSelfDestructionDrvInit(GpioTypeCallback Callback);
|
|
/* 设置自毁模式 */
|
|
void McuSelfDestructionDrvSetMode(uint32_t mode);
|
|
/* 打开或关闭自毁信号 */
|
|
void McuSelfDestructionDrvOnOff(int OnOff);
|
|
/* 获取当前引脚的状态 */
|
|
int McuSelfDestructionDrvGetSta(void);
|
|
|
|
#endif
|