Hi,
Can you please tell me, how to set / apply the delay function in TM4C129XNZAD Microcontroller.
Thanks
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,
Can you please tell me, how to set / apply the delay function in TM4C129XNZAD Microcontroller.
Thanks
Hi,
Anyone please send me the library details and what are the inbuild library function is available in TM4C129XNZAD Microcontroller. I forgot to ask all the question in single thread thats'y i am posting three threads. Please help on this.
Hi,
You can use SysCtlDelay() function. See below. A SysCtlDelay(1) will be equal to 3 system cycles.
Look at this below example.
g_ui32SysClock = MAP_SysCtlClockFreqSet((SYSCTL_XTAL_25MHZ |
SYSCTL_OSC_MAIN |
SYSCTL_USE_PLL |
SYSCTL_CFG_VCO_240), 120000000);
SysCtlDelay(g_ui32SysClock / 3);// this will provide a 1 second delay.
Thanks you charles.Can you please tell mr what are inbuilt function is available in TM4C129xnzad controller.
Thanks
Hi,
What do you mean by inbuild function? All TivaWare driver functions are documented in https://www.ti.com/lit/ug/spmu298e/spmu298e.pdf.
Thanks Charles.
I am asking inbuild library function. for example now SysCtlDelay() function is one of the inbuild library right like that is there any other library is available.
Thanks
SysCtlDelay is one of the peripheral driver library. There is also graphic library, sensor library and usblib and tools, and uitls library. Why don't you go to the TivaWare installation and have a look at them. See below. All the documentation can be be found in the doc4s directory. SysCtlDelay is just one function provided in peripheral driver library.