#include <spi.h>
#include <stdio.h>
#include <cubeos.h>
#include <mc68332.h>
#include <qsm.h>
Include dependency graph for spi.c:
Go to the source code of this file.
Functions | |
int | SPI_init () |
int | SPI_resetcmd () |
int | SPI_newcommand (unsigned char command) |
int | SPI_init_analog () |
int | SPI_ReadAnalogIn (int chip, int channel) |
void | QSM_qspi_int () |
Variables | |
int | _SPI_cmdcnt = 0 |
|
|
|
Definition at line 10 of file spi.c. References QSM_init, QSM_PQSPAR, readshort, SPI_CMDRAM, SPI_RDRAM, SPI_SPCR0, SPI_SPCR1, SPI_SPCR2, SPI_SPCR3, SPI_TDRAM, and writeshort. |
|
|
|
Definition at line 80 of file spi.c. References _SPI_cmdcnt, SPI_CMDRAM, and writebyte. |
|
Definition at line 100 of file spi.c. References print. |
|
Definition at line 73 of file spi.c. References _SPI_cmdcnt, SPI_SPCR1, and writeshort. |
|
Definition at line 7 of file spi.c. Referenced by SPI_newcommand, and SPI_resetcmd. |