PSoC API implementering