Hello, I'm rather new to Keil C and just getting geared up to use it on my next project. ATM, I'm overwhelmed with the number of options and extensions that are available. I intend to write a C "library" that consists of 3 functions:
Delay() DelayMS() DelayUS()
Delay(2); // creates a 2 second delay DelayMS(500); // creates 500ms delay DelayUS(10); // creates a 10us delay
I am a newbie to Keil and I am using 8051 based USB 2.0 device. Both IFCLK and CLKOUT are at 48Mhz. I want to implement a function that would introduce 1 microsecond delay. Can you please help?