Useful functionality for Cypress PSoC embedded applications