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

📄 spi.h

📁 Source code for RFM01 fm radio receiver
💻 H
字号:
/** \file spi.h \brief Sterownik interfejsu SPI. */
/*
  Copyright (c) 2004 Robert Krysztof
  robert.krysztof@wp.pl
  http://www.avr-gcc.prv.pl
*/
//*****************************************************************************
//
// File Name	: 'spi.h'
// Title	: SPI interface driver
// Author	: Pascal Stang - Copyright (C) 2000-2002
//
// This code is distributed under the GNU Public License
//		which can be found at http://www.gnu.org/licenses/gpl.txt
//
//*****************************************************************************
/** \defgroup spi Interfejs SPI
 
 Zawiera funkcje obs硊gi wbudowanego interfejsu SPI
 \code
 #include "spi.h"
 \endcode 
*/

#ifndef SPI_H
#define SPI_H

#include <avr/io.h>
#include <avr/signal.h>
#include <avr/interrupt.h>
#include "global.h"

/*@{*/

// Define the SPI_USEINT key if you want SPI bus operation to be
// interrupt-driven.  The primary reason for not using SPI in
// interrupt-driven mode is if the SPI send/transfer commands
// will be used from within some other interrupt service routine
// or if interrupts might be globally turned off due to of other
// aspects of your program
//
// Comment-out or uncomment this line as necessary
//#define SPI_USEINT


/// Zanacznik wskazuj筩y, 縠 zako馽zy

⌨️ 快捷键说明

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