TI's PRU library is not very nice - ditch it.