Event and Self Triggered Stabilizing Controllers for Linear Switched Systems