Hello
I'm developing an application for use on the OMAP L138's PRU and am having some trouble finding the correct documentation.
I'm using CCS Version: 6.1.1.00022 and have installed the PRU Compiler Tools Version 2.1.2.
I'm using the TI PRU compiler so I can write my application in C but I'm having a hard time finding documentation on compiler support for the intrinsic function - such as __delay_cycles. I found that one by simply googling online, but it would be nice to have a document that lays everything out.
Specifically, I'm looking to access the Cycle Count Register and am wondering if there is a macro defined somewhere that I can use, or if I have to access it via pointer; eg
volatile uint32_t* cycleCount = (volatile uint32_t*)(SOME_ADDRESS);
I have read through the PRU Wiki but don't see much information about the C compiler.
Thanks!