stm32f3discovery: Moving read and write convinience functions to libopencm3.