implemented basic read/write functionality that should work with Mode1 timings of the STM32F4, untested