https://neosarchizo.github.io/posts/using-eeprom-on-stm8/