How to use sleep ?

Started by daya...@yahoo.com in TMS320c54x14 years ago 1 reply

Hi, Anyone know how to use sleep in CCS 3.1 using dsk 5416 ? The below program already works. I want to change the delay by using the sleep. I...

Hi, Anyone know how to use sleep in CCS 3.1 using dsk 5416 ? The below program already works. I want to change the delay by using the sleep. I had tried to change the delay to sleep, but got error. Thanks. #include #define GPIOCR (*(volatile unsigned int*)(0x3C)) #define GPIOCR_ADDR 0x3C #define GPIOSR (*(volatile unsigned int*)(0x3D)) #define GPIOSR_ADDR 0x3D void delay(void