|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|

结构体 | |
| union | rkp_lock |
| union | rkp_cmd_cfg |
| union | rkp_oneway_ree |
| union | rkp_deob_cfg |
| union | rkp_int_cfg |
| union | rkp_int_status |
宏定义 | |
| #define | RKP_LOCK_CPU_IDLE 0 |
| #define | RKP_LOCK_CPU_REE 1 |
| #define | RKP_LOCK_CPU_TEE 2 |
| #define | RKP_LOCK_CPU_PCPU 4 |
| #define | RKP_LOCK_CPU_AIDSP 5 |
| #define | PCPU_STAT 0x6a |
| #define | AIDSP_STAT 0x35 |
| #define | TEE_STAT 0xa5 |
| #define | ACPU_STAT 0xaa |
| #define | RKP_LOCK (0x000) |
| #define | RKP_CMD_CFG (0x004) |
| #define | KDF_ERROR (0x008) |
| #define | RKP_DEOB_CFG (0x020) |
| #define | DEOB_ERROR (0x028) |
| #define | RK_RDY (0x050) |
| #define | RKP_USD_DIS (0x054) |
| #define | RKP_LOW_POWER (0x058) |
| #define | RKP_INIT (0x05C) |
| #define | SW_CFG (0x060) |
| #define | RKP_RAW_INT (0x010) |
| #define | RKP_INT_ENABLE (0x014) |
| #define | RKP_INT (0x018) |
| #define | RKP_PBKDF2_DATA(a) (0x100 + 4 * (a)) /* a 0~31 */ |
| #define | RKP_PBKDF2_KEY(a) (0x180 + 4 * (a)) /* a 0~31 */ |
| #define | RKP_PBKDF2_VAL(b) (0x200 + 4 * (b)) /* b 0~16 */ |
| #define | RKP_USD(c) (0x300 + 4 * (c)) /* c 0~8 */ |
| #define | RKP_SALT(e) (0x340 + 4 * (e)) /* e 0~6 */ |
| #define | RKP_ONEWAY (0x360) |
| #define | RKP_ALARM (0x400) |
| #define ACPU_STAT 0xaa |
| #define AIDSP_STAT 0x35 |
| #define DEOB_ERROR (0x028) |
| #define KDF_ERROR (0x008) |
| #define PCPU_STAT 0x6a |
| #define RK_RDY (0x050) |
| #define RKP_ALARM (0x400) |
| #define RKP_CMD_CFG (0x004) |
| #define RKP_DEOB_CFG (0x020) |
| #define RKP_INIT (0x05C) |
| #define RKP_INT (0x018) |
| #define RKP_INT_ENABLE (0x014) |
| #define RKP_LOCK (0x000) |
| #define RKP_LOCK_CPU_AIDSP 5 |
| #define RKP_LOCK_CPU_IDLE 0 |
Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2023-2023. All rights reserved.
Description: hal rkp register header.
History:
2023-03-22, Create file.
| #define RKP_LOCK_CPU_PCPU 4 |
| #define RKP_LOCK_CPU_REE 1 |
| #define RKP_LOCK_CPU_TEE 2 |
| #define RKP_LOW_POWER (0x058) |
| #define RKP_ONEWAY (0x360) |
| #define RKP_PBKDF2_DATA | ( | a | ) | (0x100 + 4 * (a)) /* a 0~31 */ |
| #define RKP_PBKDF2_KEY | ( | a | ) | (0x180 + 4 * (a)) /* a 0~31 */ |
| #define RKP_PBKDF2_VAL | ( | b | ) | (0x200 + 4 * (b)) /* b 0~16 */ |
| #define RKP_RAW_INT (0x010) |
| #define RKP_SALT | ( | e | ) | (0x340 + 4 * (e)) /* e 0~6 */ |
| #define RKP_USD | ( | c | ) | (0x300 + 4 * (c)) /* c 0~8 */ |
| #define RKP_USD_DIS (0x054) |
| #define SW_CFG (0x060) |
| #define TEE_STAT 0xa5 |