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

📄 bcopys.c

📁 这个是ATM9200开发板的例子
💻 C
字号:
void block_copy(void *dest, void *source, int n)
{
    int *dest_ip, *source_ip;

    dest_ip = (int *)dest;      /* Move function arguments into integer  */
    source_ip = (int *)source;  /* integer for use in the following loop */
    while (n > 0) {
        *dest_ip++ = *source_ip++;
        n -= 4;
    }
}

⌨️ 快捷键说明

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