com.h

来自「(1)个人针对atmel提供的运行于CPU内13k空间的ram的romboot修」· C头文件 代码 · 共 34 行

H
34
字号
//*----------------------------------------------------------------------------
//*      ATMEL Microcontroller Software Support  -  ROUSSET  -
//*----------------------------------------------------------------------------
//* The software is delivered "AS IS" without warranty or condition of any
//* kind, either express, implied or statutory. This includes without
//* limitation any warranty or condition with respect to merchantability or
//* fitness for any particular purpose, or against the infringements of
//* intellectual property rights of others.
//*----------------------------------------------------------------------------
//* File Name           : com.h
//* Object              : 
//*
//* 1.0 27/03/03 HIi    : Creation
//*----------------------------------------------------------------------------
#ifndef com_h
#define com_h

#define AT91C_CB_SIZE	40
#define CLRSCREEN		"\033[2J"

struct __FILE { 
    int handle; 
    /* Whatever you need here (if the only files you are using
       is the stdoutput using printf for debugging, no file
       handling is required) */ 
};


extern char message[AT91C_CB_SIZE];
extern void AT91F_ClrScr(void);
extern int AT91F_ReadLine (const char *const prompt, char *console_buffer);
extern void AT91F_WaitKeyPressed(void);

#endif

⌨️ 快捷键说明

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