Embedded Bio-Mimetic System for Functional Electrical Stimulation Controlled by Event-Driven sEMG