21 #include <sys/cdefs.h>
int scif_write_buffer(const uint8 *data, int len, int xlat)
Write a whole buffer of data to the SCIF port.
int scif_detected()
Is the SCIF port detected? Of course it is!
dbgio_handler_t dbgio_scif
SCIF debug I/O handler. Do not modify!
int scif_flush()
Flush any FIFO'd bytes out of the buffer.
void scif_spi_write_byte(uint8 b)
Write a byte to the SPI device.
int scif_spi_init(void)
Initialize the SCIF port for use of an SPI peripheral.
Debug I/O Interface.
Definition: dbgio.h:37
int scif_set_irq_usage(int on)
Enable or disable SCIF IRQ usage.
int scif_spi_shutdown(void)
Shut down SPI card support over the SCIF port.
void scif_set_parameters(int baud, int fifo)
Set serial parameters.
int scif_shutdown()
Shutdown the SCIF port.
int scif_init()
Initialize the SCIF port.
int scif_read()
Read a single character from the SCIF port.
int scif_read_buffer(uint8 *data, int len)
Read a buffer of data from the SCIF port.
uint8 scif_spi_slow_rw_byte(uint8 b)
Read and write one byte from the SPI device, slowly.
unsigned char uint8
8-bit unsigned integer
Definition: types.h:30
uint8 scif_spi_rw_byte(uint8 b)
Read and write one byte from the SPI port.
uint8 scif_spi_read_byte(void)
Read a byte from the SPI device.
void scif_spi_set_cs(int v)
Set or clear the SPI /CS line.
int scif_write(int c)
Write a single character to the SCIF port.