I am searching for example C programming code to use the timers (DMTimer4-DMTimer7)on the Beaglebone Black Rev C using the Sitara AM3358 MCU processor. The objective is to read the pulse-width time from PWM signals. I want to use four 16-bit I/O timers simultaneously in input capture mode with some set to rising edge detection and others set to falling edge detection. The programmer's reference manual does not provide any sample code or examples. Can you provide me with source C code examples or direct me to a link?
In addition, I would like to invoke the FPU (Floating Point Unit) for complex mathematical operations. I was wondering if you have any source code examples to accomplish this task?
Any guidance/assitance or direction to resources would be helpful.