Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32wb0/STM32WB07/FLASH_CTRL/IRQMASK#0x0
IRQMASK register
Command done mask
Command started mask.
Command error mask.
Illegal command mask.
Mass read OK mask.
https://github.com/modm-io/cmsis-svd-stm32