//1ms
void Delay1ms() //@11.0592MHz
{
unsigned char i, j;
_nop_();
i = 2;
j = 199;
do
{
while (--j);
} while (--i);
}
//10us
void Delay10us() //@11.0592MHz
{
unsigned char i;
i = 2;
while (--i);
}
Previous article:A brief description of the _nop_() function
Next article:STC51 from entry to mastery (assembly) ~~~ Lecture 8: Serial communication technology
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- The US asked TSMC to restrict the export of high-end chips, and the Ministry of Commerce responded
- The US asked TSMC to restrict the export of high-end chips, and the Ministry of Commerce responded
- ASML predicts that its revenue in 2030 will exceed 457 billion yuan! Gross profit margin 56-60%
- Detailed explanation of intelligent car body perception system
- How to solve the problem that the servo drive is not enabled
- Why does the servo drive not power on?
- What point should I connect to when the servo is turned on?
- How to turn on the internal enable of Panasonic servo drive?
- What is the rigidity setting of Panasonic servo drive?
- How to change the inertia ratio of Panasonic servo drive
- Can SDRAM chips be used on 2-layer boards?
- Let Arduino play with your useless STM32 board Part 2
- Recommend a low thermal potential relay
- Modern rectifier technology - active power factor correction technology
- About FlashBurn can not burn
- LED transparent screen signal transmission method
- The compiler keeps reporting an error, saying there is an error here. I have looked at it many times but can't find where the problem is.
- How to calculate the cathode potential of TL431?
- [N32L43x Review] 4. Software and hardware SPI driver 1.8-inch LCD
- [NUCLEO-L452RE Review] + Pin drive 1.3-inch OLED and use it to display the number of tasks