config module -- common pin configuration module for msp430 and stm32