Functions | |
| HAL_StatusTypeDef | HAL_SECU_SetAttr (SECU_MODULE_TYPE module, uint32_t role, uint32_t flag) |
| Config a module's security. More... | |
| HAL_StatusTypeDef | HAL_SECU_SetMemoryAttr (SECU_MEM_TYPE memory_type, const SECU_MemAttr_Type *attrs, uint32_t attrs_cnt) |
| Config memory's security. More... | |
| HAL_StatusTypeDef | HAL_SECU_Lock (SECU_GROUP_TYPE group) |
| HAL_StatusTypeDef | HAL_SECU_Apply (SECU_GROUP_TYPE group) |
| HAL_StatusTypeDef | HAL_SECU_ApplyAndLock (SECU_GROUP_TYPE group) |
| HAL_StatusTypeDef HAL_SECU_SetAttr | ( | SECU_MODULE_TYPE | module, |
| uint32_t | role, | ||
| uint32_t | flag | ||
| ) |
Config a module's security.
| module | - module control by SECU, the value is in type of supported modules definition |
| role | - apply security on module while it act as this role Security role |
| flag | - module's security attribute, Security setting flags |
| HAL | status |
| HAL_StatusTypeDef HAL_SECU_SetMemoryAttr | ( | SECU_MEM_TYPE | memory_type, |
| const SECU_MemAttr_Type * | attrs, | ||
| uint32_t | attrs_cnt | ||
| ) |
Config memory's security.
| memory_type | - memory control by SECU, the value can be one of SECU_MEM_TYPE |
| attrs | - memory's security attributes |
| attrs_cnt | - length of attrs |
| HAL | status |