21 lines
414 B
C
21 lines
414 B
C
#ifndef _HG_SYSAES_V3_H_
|
|
#define _HG_SYSAES_V3_H_
|
|
#include "hal/sysaes.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct hg_sysaes_v3 {
|
|
struct sysaes_dev dev;
|
|
void *hw;
|
|
os_mutex_t lock;
|
|
os_semaphore_t done;
|
|
uint32 irq_num;
|
|
uint32 flags;
|
|
};
|
|
|
|
int32 hg_sysaes_v3_attach(uint32 dev_id, struct hg_sysaes_v3 *sysaes);
|
|
|
|
#endif /* _HG_SYSAES_V3_H_ */
|