Hi.
I have a program who toogle a led with a frequecy, but i dont know how to compute this frequency.
For instance :
SysCtlClockSet(SYSCTL_SYSDIV_4 | SYSCTL_USE_PLL | SYSCTL_XTAL_16MHZ | SYSCTL_OSC_MAIN);
Advices!
Thank you.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi.
I have a program who toogle a led with a frequecy, but i dont know how to compute this frequency.
For instance :
SysCtlClockSet(SYSCTL_SYSDIV_4 | SYSCTL_USE_PLL | SYSCTL_XTAL_16MHZ | SYSCTL_OSC_MAIN);
Advices!
Thank you.
Hello Dragu,
You can call SysCtlClockGet Function to get the frequency. The value returned will be in Hz
Regards
Amit Ashara