⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 delays.c

📁 AVR读写CF卡的应用例子
💻 C
字号:
#include <atmega128.h>
#include <ina90.h>

void Delay10TCYx(unsigned char i)
{
  while(i--)
  {
    __no_operation();
    __no_operation();
    __no_operation();
    __no_operation();
    __no_operation();
    __no_operation();
    __no_operation();
    __no_operation();
    __no_operation();
    __no_operation();
  }
}

void Delay100TCYx(unsigned char i)
{
  unsigned char j;

  j=10;
  while(j--) Delay10TCYx(i);
}

void Delay1KTCYx(unsigned char i)
{
  unsigned char j;

  j=10;
  while(j--) Delay100TCYx(i);
}

void Delay10KTCYx(unsigned char i)
{
  unsigned char j;

  j=10;
  while(j--) Delay1KTCYx(i);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -