utilities.h

来自「<<AVR C语言的应用>>第九章中的例子 用ATme」· C头文件 代码 · 共 29 行

H
29
字号
/**************************************************
 *
 * IAR EMBEDDED WORKBENCH TUTORIAL
 * Utility header file
 *
 * Copyright 1996 - 2003 IAR Systems. All rights reserved.
 *
 * $Revision: 1.1 $
 *
 **************************************************/

#define MAX_FIB 10

//-----------------------------------------------------------
// when running the tutorials using the DLIB libs you have
// to use the unbuffered __putchar function instead of the
// buffered putchar. In this case 'activate' the lines
// below.
#if 0
#include <yfuns.h>
#define putchar __putchar
#endif
//-----------------------------------------------------------

void init_fib( void );
unsigned int get_fib( int nr );
void put_fib( unsigned int out );

⌨️ 快捷键说明

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