I needed to use this for another project that did not use Energia.  Here it is rewritten with direct register access in C using Code Composer Studio:  https://github.com/fmilburn3/WS2812/blob/master/WS2812_CCS