Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
The code is using CCS built-in functions and can be compiled without modifications only with CCS PCM. Unfortunately, the C syntax has been partly distroyed when reformatting the document to MS word. If you expect further help, please provide a correct *.c file.
Additionally, an include file "sr design.h" is missing to compile the design.