Low-power and highly-stable encapsulated MEMS-based clocks