int scif_set_irq_usage(int on)
Enable or disable SCIF IRQ usage.
int scif_write_buffer(const uint8 *data, int len, int xlat)
Write a whole buffer of data to the SCIF port.
uint8 scif_spi_slow_rw_byte(uint8 b)
Read and write one byte from the SPI device, slowly.
int scif_read_buffer(uint8 *data, int len)
Read a buffer of data from the SCIF port.
dbgio_handler_t dbgio_scif
SCIF debug I/O handler.
int scif_detected(void)
Is the SCIF port detected? Of course it is!
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.
void scif_set_parameters(int baud, int fifo)
Set serial parameters.
int scif_shutdown(void)
Shutdown the SCIF port.
int scif_init(void)
Initialize the SCIF port.
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.
int scif_spi_shutdown(void)
Shut down SPI card support over the SCIF port.
uint8 scif_spi_rw_byte(uint8 b)
Read and write one byte from the SPI port.
int scif_read(void)
Read a single character from the SCIF port.
void scif_spi_read_data(uint8 *buffer, size_t len)
Read a data from the SPI device.
int scif_flush(void)
Flush any FIFO'd bytes out of the buffer.
uint8 scif_spi_read_byte(void)
Read a byte from the SPI device.
unsigned char uint8
8-bit unsigned integer
Definition types.h:35
Debug I/O Interface.
Definition dbgio.h:39