STM32L443xx HAL User Manual
Functions
stm32l4xx_hal_firewall.c File Reference

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

#include "stm32l4xx_hal.h"

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.
void HAL_FIREWALL_GetConfig (FIREWALL_InitTypeDef *fw_config)
 Retrieve the Firewall configuration.
void HAL_FIREWALL_EnableFirewall (void)
 Enable FIREWALL.
void HAL_FIREWALL_EnablePreArmFlag (void)
 Enable FIREWALL pre arm.
void HAL_FIREWALL_DisablePreArmFlag (void)
 Disable FIREWALL pre arm.

Detailed Description

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

Author:
MCD Application Team
Attention:

Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

 ===============================================================================
                        ##### 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.


  

Definition in file stm32l4xx_hal_firewall.c.