A Tunable Switched-Capacitor Programmable N-path Tone Receiver and Generator