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

📄 ebsrf04.h

📁 c51控制cc1100示范程序
💻 H
字号:
/*******************************************************************************************************
 *                                                                                                     *
 *        **********                                                                                   *
 *       ************                                                                                  *
 *      ***        ***                                                                                 *
 *      ***   +++   ***                                                                                *
 *      ***   + +   ***     This file contains macros and function that are useful when                *
 *      ***   +             accessing peripherals on the SmartRF04EB using the c8051f320               *
 *      ***   + +   ***                                                                                *
 *      ***   +++   ***     ebsrf04.h                                                                  *
 *      ***        ***                                                                                 *
 *       ************                                                                                  *
 *        **********                                                                                   *
 *                                                                                                     *
 *******************************************************************************************************
 * Compiler:                Keil C51 V7.50                                                             *
 * Target platform:         Chipcon CCxxx0 (Silabs F320)                                               *
 * Author:                  SNA                                                                        *
 *******************************************************************************************************
 * Revision history:        See end of file                                                            *
 ******************************************************************************************************/
#ifndef EBSRF04_H
#define EBSRF04_H
#include <Chipcon\srf04\regssrf04.h>
#include <Chipcon\srf04\common.h>
#include <intrins.h>





/*******************************************************************************************************
 *******************************************************************************************************
 **************************                       I/O PORTS                   **************************
 *******************************************************************************************************
 *******************************************************************************************************/
//------------------------------------------------------------------------------------------------------
// Port initialization
// This section contain a routine for configuring the 80512f320 I/O ports to communicate with
// the SmartRF04EB peripherals.
// NOTE: Some peripheral I/O pins can function as either inputs or outputs, depending on the
// configuration of the peripheral. By default, the configuration utility will configure these I/O pins
// as push-pull outputs.
//
// Port I/O initialization consists of the following steps:
//
// Step 1.  Select the input mode (analog or digital) for all Port pins, using the Port Input Mode
//          register (PnMDIN). 

⌨️ 快捷键说明

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