Serial Peripheral Interface module Target: PIC16F876. More...
#include <app.h>
Go to the source code of this file.
Functions | |
void | SPI_Init (void) |
BYTE | SPI_Exchange (BYTE data) |
void | SPI_Write (BYTE data) |
BYTE | SPI_Read (void) |
Variables | |
volatile bit | gSpiTx =CLEAR |
volatile bit | gSpiRx =CLEAR |
Detailed Description
Serial Peripheral Interface module Target: PIC16F876.
This file is part of JADEKU Portable ADQ device for Routines Control.
Copyright (C) 2002-2009, Hernan Monserrat hemonserrat<at>gmail<dot>com
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file spi.c.
Function Documentation
◆ SPI_Exchange()
◆ SPI_Init()
void SPI_Init | ( | void | ) |
◆ SPI_Read()
BYTE SPI_Read | ( | void | ) |
◆ SPI_Write()
void SPI_Write | ( | BYTE | data | ) |