A Fully Integrated Wireless SoC for Motor Function Recovery After Spinal Cord Injury