HAL GPU2D Overview

Introducing GPU2D

group GPU2D_Introduction

  • This introduction is under development.

Module and files

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

Module and files diagram

Component diagram

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



package "MW" {

    [NemaGFX]

}



package "HAL" {

    [HAL_SERVICE]

    [HAL_GPU2D]

}



package "Low Layer" {

    [CMSIS]

    [GPU2D Interrupt routine service]

}



package "HW" {

    [STM32_HW]

}



[Appli] <-d- [NemaGFX]



[NemaGFX] --> [HAL_GPU2D] : <b>HAL GPU2D API

[NemaGFX] <-- [HAL_GPU2D] : <b>GPU2D callback



[HAL_GPU2D] -l-> [HAL_SERVICE]

[HAL_GPU2D] <-- [GPU2D Interrupt routine service]

[HAL_GPU2D] -d-> [CMSIS]: <b>GPU2D register def



[STM32_HW] -u-> [GPU2D Interrupt routine service] : <b>GPU2D IRQ

[STM32_HW] <-l- [CMSIS] : <b>GPU2D registers R/W

@enduml

Configuration table

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

group GPU2D_Configuration_Table

Configuration inside the GPU2D driver

Config defines

Description

Default value

Note

PRODUCT

from PreProcessor env

NA

The selected device (ex STM32U599xx)

USE_ASSERT_DBG_PARAM

from PreProcessor env

None

Allows to use the assert check parameters

USE_ASSERT_DBG_STATE

from PreProcessor env

None

Allows to use the assert check states

USE_HAL_GPU2D_MODULE

from hal_conf.h

1

Allows to use HAL GPU2D module

USE_HAL_CHECK_PARAM

from hal_conf.h

0

Allows to use the run-time checks parameters

USE_HAL_GPU2D_REGISTER_CALLBACKS

from hal_conf.h

0

Allows to use the load and store exclusive

USE_HAL_GPU2D_USER_DATA

from hal_conf.h

0

Allows to use user data inside GPU2D

USE_HAL_GPU2D_CLK_ENABLE_MODEL

from hal_conf.h

HAL_CLK_ENABLE_NO

Allows to use the clock interface management for GPU2D