Text this: A CMOS Self-Powered Front-End Architecture for Subcutaneous Event-Detector Devices