HAL GTZC Overview

Introducing GTZC

group GTZC_Introduction

  • This introduction is under development.

Module and files

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

Module and files diagram

Component diagram

The following diagram illustrates the software components involved in the GTZC 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 GTZC Software Component Diagram



package "HAL" {

    [HAL_SERVICE]

    [HAL_GTZC]

}



package "Low Layer" {

    [LL_GTZC]

    [CMSIS]

    [GTZC Interrupt routine service]

}



package "HW" {

    [STM32_HW]

}



[Appli] --> [HAL_GTZC] : HAL GTZC API

[Appli] <-- [HAL_GTZC] : GTZC callback

[HAL_GTZC] --> [LL_GTZC] : LL GTZC API

[HAL_GTZC] -l-> [HAL_SERVICE] : HAL_GetTick

[HAL_GTZC] <-- [GTZC Interrupt routine service]

[HAL_GTZC] --> [CMSIS]:GTZC register def

[LL_GTZC] --> [CMSIS]:GTZC register def

[STM32_HW] -u--> [GTZC Interrupt routine service]: GTZCx Irq

[STM32_HW] <--- [LL_GTZC] : GTZC registers R/W

@enduml

Configuration table

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

group GTZC_Configuration_Table

Configuration inside the GTZC driver

Config defines

Description

Default value

Note

PRODUCT

from IDE

NA

The selected product (ex STM32U585xx)

USE_HAL_GTZC_MODULE

from hal_conf.h

1

When set, HAL GTZC module is enabled

USE_ASSERT_DBG_PARAM

from IDE

NA

When defined, enable the params assert

USE_HAL_CHECK_PARAM

from hal_conf.h

0

When set, parameters are checked in runtime

__ARM_FEATURE_CMSE

from IDE

NA

When TrustZone active and the application in secure mode