PW only valid for Rectangle wave form