Bouffalo SDK
1.0
Bouffalolab Software Development Kit
bflb_sec_irq.h
Go to the documentation of this file.
1
#ifndef _BFLB_SEC_IRQ_H
2
#define _BFLB_SEC_IRQ_H
3
4
#include "
bflb_core.h
"
5
14
#define BFLB_SEC_ENG_IRQ_TYPE_AES 0
15
#define BFLB_SEC_ENG_IRQ_TYPE_SHA 1
16
#define BFLB_SEC_ENG_IRQ_TYPE_PKA 2
17
#define BFLB_SEC_ENG_IRQ_TYPE_TRNG 3
18
#define BFLB_SEC_ENG_IRQ_TYPE_GMAC 4
19
#define BFLB_SEC_ENG_IRQ_TYPE_CDET 5
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
32
void
bflb_sec_irq_attach
(uint8_t sec_type,
void
(*callback)(
void
*arg),
void
*arg);
33
39
void
bflb_sec_irq_detach
(uint8_t sec_type);
40
41
#ifdef __cplusplus
42
}
43
#endif
44
53
#endif
bflb_sec_irq_detach
void bflb_sec_irq_detach(uint8_t sec_type)
bflb_core.h
bflb_sec_irq_attach
void bflb_sec_irq_attach(uint8_t sec_type, void(*callback)(void *arg), void *arg)
drivers
lhal
include
bflb_sec_irq.h
Generated by
1.8.13