Rework of PPM library
Fix interrupt test
Minor define change