https://deepbluembedded.com/stm32-i2c-tutorial-hal-examples-slave-dma/
STM32 I2C Tutorial - HAL Code Examples Slave & Master - DMA Interrupt