Browse Source

Added spi_send() to the spi.h.

pull/2/head
Thomas Otto 15 years ago
parent
commit
37e71e3e5c
  1. 1
      include/libopenstm32/spi.h

1
include/libopenstm32/spi.h

@ -288,6 +288,7 @@ int spi_init_master(u32 spi, u32 br, u32 cpol, u32 cpha, u32 dff, u32 lsbfirst);
void spi_enable(u32 spi); void spi_enable(u32 spi);
void spi_disable(u32 spi); void spi_disable(u32 spi);
void spi_write(u32 spi, u16 data); void spi_write(u32 spi, u16 data);
void spi_send(u32 spi, u16 data);
u16 spi_read(u32 spi); u16 spi_read(u32 spi);
void spi_set_bidirectional_mode(u32 spi); void spi_set_bidirectional_mode(u32 spi);
void spi_set_unidirectional_mode(u32 spi); void spi_set_unidirectional_mode(u32 spi);

Loading…
Cancel
Save