Support for STM32F7G-Discovery board support is based on arm mbed (https://os.mbed.com/code/) platform. The driver blocks, like ADC Read, PWM Output blocks, etc use mbed drivers in code generation to get/set to peripherals on-chip.
mbed driver provides pre-configured drivers code to acces peripherals. The driver configurations are specific to corresponding mbed based boards. The Embedded Coder Support Package for STMicroelectronics Discovery Boards is not offering any configuration changes for peripherals instead the support package driver blocks are pre-configured mbed drivers.
You can create your own block for driver configuration generated from STMCubeMX with following links:
You need to create some wrapper functions to read or write to peripheral registers.