#include <mchck.h>

/* Pin change interrupt handling */
enum pin_change_polarity {
        PIN_CHANGE
_LOW,
        PIN_CHANGE_HIGH,
};

/* Pin change interrupt handler */
static void pin_change_handler(void)
{
        /* Clear the interrupt */
        mchck_clear_interrupt();

        /* Set the interrupt polarity */
        m