source: trunk/firmware/App/CubeMX/Secure_nsclib/secure_nsc.h@ 22

Last change on this file since 22 was 22, checked in by Zed, 5 weeks ago
File size: 1.8 KB
Line 
1/* USER CODE BEGIN Header */
2/**
3 ******************************************************************************
4 * @file Secure_nsclib/secure_nsc.h
5 * @author MCD Application Team
6 * @brief Header for secure non-secure callable APIs list
7 ******************************************************************************
8 * @attention
9 *
10 * Copyright (c) 2026 STMicroelectronics.
11 * All rights reserved.
12 *
13 * This software is licensed under terms that can be found in the LICENSE file
14 * in the root directory of this software component.
15 * If no LICENSE file comes with this software, it is provided AS-IS.
16 *
17 ******************************************************************************
18 */
19/* USER CODE END Header */
20
21/* USER CODE BEGIN Non_Secure_CallLib_h */
22/* Define to prevent recursive inclusion -------------------------------------*/
23#ifndef SECURE_NSC_H
24#define SECURE_NSC_H
25
26/* Includes ------------------------------------------------------------------*/
27#include <stdint.h>
28
29/* Exported types ------------------------------------------------------------*/
30/**
31 * @brief non-secure callback ID enumeration definition
32 */
33typedef enum
34{
35SECURE_FAULT_CB_ID = 0x00U, /*!< System secure fault callback ID */
36 IAC_ERROR_CB_ID = 0x01U /*!< Illegal access secure error callback ID */
37} SECURE_CallbackIDTypeDef;
38/* Exported constants --------------------------------------------------------*/
39/* Exported macro ------------------------------------------------------------*/
40/* Exported functions ------------------------------------------------------- */
41void SECURE_RegisterCallback(SECURE_CallbackIDTypeDef CallbackId, void *func);
42
43#endif /* SECURE_NSC_H */
44/* USER CODE END Non_Secure_CallLib_h */
45
Note: See TracBrowser for help on using the repository browser.