msp430: generate some macros for manipulating output bits