https://developer.mbed.org/teams/ST/code/ST_INTERFACES/#a7810e7acf8d