dbgu.h
来自「atmel at91SAM7a3 ADC sample」· C头文件 代码 · 共 33 行
H
33 行
//*----------------------------------------------------------------------------
//* 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 : Debug.h
//* Object : Debug menu
//* Creation : JPP 02/Jul/2004
//*----------------------------------------------------------------------------
#ifndef dbgu_h_
#define dbgu_h_
#include <stdio.h>
#define AT91C_DBGU_BAUD 115200
// mthomas: set to 0 to save memory if DBUG_scanf is not needed
#define AT91_DBGU_SCANF_ENABLE 1
//* ----------------------- External Function Prototype -----------------------
void AT91F_DBGU_Init(void);
void AT91F_DBGU_Printk( char *buffer);
int AT91F_US_Get(char *val);
void AT91F_DBGU_scanf(char * type,unsigned int * val);
#endif /* dbgu_h_ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?