[update][lhal] update lhal

* update lhal api comments
* add cam driver
* add efuse driver
* add iso11898 driver
This commit is contained in:
jzlv 2022-12-21 20:20:33 +08:00
parent 185805cbbe
commit a77b0dc866
60 changed files with 8782 additions and 429 deletions

View file

@ -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