mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-08 22:08:40 +00:00
[update][lhal] update lhal
* update lhal api comments * add cam driver * add efuse driver * add iso11898 driver
This commit is contained in:
parent
185805cbbe
commit
a77b0dc866
60 changed files with 8782 additions and 429 deletions
|
@ -3,6 +3,14 @@
|
|||
|
||||
#include "bflb_core.h"
|
||||
|
||||
/** @addtogroup LHAL
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @addtogroup SEC_IRQ
|
||||
* @{
|
||||
*/
|
||||
|
||||
#define BFLB_SEC_ENG_IRQ_TYPE_AES 0
|
||||
#define BFLB_SEC_ENG_IRQ_TYPE_SHA 1
|
||||
#define BFLB_SEC_ENG_IRQ_TYPE_PKA 2
|
||||
|
@ -14,11 +22,32 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
* @param [in] sec_type
|
||||
* @param [in] callback
|
||||
* @param [in] arg
|
||||
*/
|
||||
void bflb_sec_irq_attach(uint8_t sec_type, void (*callback)(void *arg), void *arg);
|
||||
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
* @param [in] sec_type
|
||||
*/
|
||||
void bflb_sec_irq_detach(uint8_t sec_type);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue