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

📄 uartdebug.h

📁 nrf24z1 代码
💻 H
字号:
/*= uartdebug.h ================================================================
 *
 * Copyright (C) 2005 Nordic Semiconductor
 *
 * This file is distributed in the hope that it will be useful, but WITHOUT
 * WARRANTY OF ANY KIND.
 *
 * Author(s): Borge Strand
 *
 * Description:
 *
 *    Declarations used by debug system
 *
 * Compiler: Tested with WinAVR, avr-gcc (GCC) 3.4.3
 *
 * Revision: 2.0 
 *
 *==============================================================================
 */


// Only include this file once
#ifndef UARTDEBUG_H
#define UARTDEBUG_H


// Local includes
#include "mcu.h"
#include "dac.h"
#include "z1slaveio.h"
#include "hpref_defines.h"
#include "adc.h"


// Primitive I/O to terminal
void db_singleread(char adr);
void db_singlewrite(char adr, char data);
void db_putenter(void);
void db_puthex(char c);


// Debug programs
#ifdef DEBUGIF
void db_hex(void);
#endif


// Specific printouts
void db_showadr(void);

#endif

⌨️ 快捷键说明

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