fix TCn_MODE_PWMFAST mask
Merge pull request #369 from michaelb42/e6_hackery_fix_PWMFAST

fix TCn_MODE_PWMFAST mask
Improve bsbport flash and memory usage
correct typo in data_length
use memset to init message struct
add union in message struct
remove unneeded if datalength not zero
use HI8 and LO8 bitmacros
Merge pull request #372 from AnDann/devel_bsbport

Improve bsbport flash and memory usage