HAL NOR Overview

Introducing NOR

group NOR_Introduction

  • This introduction is under development.

Module and files

The following diagram illustrates the NOR module and its associated files.

Module and files diagram

Component diagram

The following diagram illustrates the software components involved in the NOR module. It shows the interactions between the user application, HAL drivers, low-level drivers, and the hardware components.

@startuml

<style>

componentDiagram {

   arrow {

      FontSize 8

   }

}

</style>



title NOR Software Component Diagram



package "HAL" {

    [HAL_NOR]

}



package "Low Layer" {

    [FMC_CORE]

    [CMSIS device]

}



package "HW" {

    [STM32_HW]

}



[Appli] --> [HAL_NOR] : HAL NOR API

[HAL_NOR] --> [FMC_CORE] : FMC CORE API

[FMC_CORE] --> [CMSIS device]:NOR register def

[STM32_HW] <-u-- [FMC_CORE] : NOR registers R/W

@enduml

Configuration table

The following table lists the configuration defines for the HAL NOR module, specifying their locations, default values, and descriptions:

group NOR_Configuration_Table

Configuration inside the NOR driver

Config defines

Description

Default value

Note

USE_ASSERT_DBG_PARAM

from IDE

NA

Allows to use the assert check parameters.

USE_ASSERT_DBG_STATE

from IDE

NA

Allows to use the assert check states.

USE_HAL_CHECK_PARAM

from hal_conf.h

0U

Allows to use the run-time check parameters.

USE_HAL_CHECK_PROCESS_STATE

from hal_conf.h

0U

Allows to ensure a safe state transition.

USE_HAL_NOR_MODULE

from hal_conf.h

1U

Allows to use the HAL NOR module.

USE_HAL_NOR_PROTECTION

from hal_conf.h

0U

Allows to enable program protection register.

USE_FMC_CLK_ENABLE_MODEL

from hal_conf.h

HAL_CLK_ENABLE_NO

Allows to enable the FMC clock.

USE_HAL_NOR_USER_DATA

from hal_conf.h

0U

Allows to use user data.