[msp430] function naming
[stm32] add gpio set 'function' api and use it to initiale uarts
[stm32] use more general configs
[stm32] add _common.h headers
[stm32] support GPIO input modes
[stm32] spi: initial support. No configurable baud rates. only for stm32f4xx.