STM32L4xx_HAL_Driver  1.14.0
stm32l4xx_hal_firewall.c File Reference

FIREWALL HAL module driver. This file provides firmware functions to manage the Firewall Peripheral initialization and enabling. More...

Go to the source code of this file.

Functions

HAL_StatusTypeDef HAL_FIREWALL_Config (FIREWALL_InitTypeDef *fw_init)
 Initialize the Firewall according to the FIREWALL_InitTypeDef structure parameters. More...
 
void HAL_FIREWALL_GetConfig (FIREWALL_InitTypeDef *fw_config)
 Retrieve the Firewall configuration. More...
 
void HAL_FIREWALL_EnableFirewall (void)
 Enable FIREWALL. More...
 
void HAL_FIREWALL_EnablePreArmFlag (void)
 Enable FIREWALL pre arm. More...
 
void HAL_FIREWALL_DisablePreArmFlag (void)
 Disable FIREWALL pre arm. More...
 

Detailed Description

FIREWALL HAL module driver. This file provides firmware functions to manage the Firewall Peripheral initialization and enabling.

Author
MCD Application Team
===============================================================================
                       ##### How to use this driver #####
===============================================================================
 [..]
   The FIREWALL HAL driver can be used as follows:

   (#) Declare a FIREWALL_InitTypeDef initialization structure.

   (#) Resort to HAL_FIREWALL_Config() API to initialize the Firewall

   (#) Enable the FIREWALL in calling HAL_FIREWALL_EnableFirewall() API

   (#) To ensure that any code executed outside the protected segment closes the
       FIREWALL, the user must set the flag FIREWALL_PRE_ARM_SET in calling
       __HAL_FIREWALL_PREARM_ENABLE() macro if called within a protected code segment
       or
       HAL_FIREWALL_EnablePreArmFlag() API if called outside of protected code segment
       after HAL_FIREWALL_Config() call.
Attention

© Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32l4xx_hal_firewall.c.