Generic graphic library for EFM32