Wixel SDK
Functions
spi_master.c File Reference
#include <cc2511_map.h>
#include <cc2511_types.h>

Go to the source code of this file.

Functions

void spiNMasterInit (void)
 
void spiNMasterSetFrequency (uint32 freq)
 
void spiNMasterSetClockPolarity (BIT polarity)
 
void spiNMasterSetClockPhase (BIT phase)
 
void spiNMasterSetBitOrder (BIT bitOrder)
 
BIT spiNMasterBusy (void)
 
uint16 spiNMasterBytesLeft (void)
 
void spiNMasterTransfer (const uint8 XDATA *txBuffer, uint8 XDATA *rxBuffer, uint16 size)
 
uint8 spiNMasterSendByte (uint8 XDATA byte)
 
uint8 spiNMasterReceiveByte (void)
 
 ISR_URX ()
 

Detailed Description

This is the main source file for spi_master.c. See spi_master.h for information on how to use this library.

Definition in file spi_master.c.