Implementation of the microphone driver for Tmote Invent,
including noise gating, variable compression, and configuration of
the microphone energy detection circuit (to generate an interrupt).
Author:
Joe Polastre, Moteiv Corporation <info@moteiv.com>