How to use Timer in BeagleBone Black

Aim: Generate 1ms Timer Interrupt in BeagleBone Black.

I have BeagleBone Black. and in that total 8 timers from timer0 to timer7 in that. which I can use and how?

Because I don’t know how to configure and use TCCR, OCR, TIMSk in BBB.

Thank you.