PIC24 Support Libraries
|
Go to the source code of this file.
Functions | |
uint16_t | ioMasterSPI1 (uint16_t u16_c) |
This file contains routines which configure and use the SPI module on the PIC24 uC.
Definition in file pic24_spi.c.
uint16_t ioMasterSPI1 | ( | uint16_t | u16_c | ) |
Writes a value to the SPIx output buffer, and returns the SPIx input value. This function waits until the entire transmission is complete so it can return the new input value. Whether or not 8-bits or 16-bits is sent depends on how the SPIx module is configured.
u16_c | Value to write to SPI TXBUF |
Definition at line 67 of file pic24_spi.c.