?? ebsrf04.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 + -