Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions examples/app_spi_master/src/main.xc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ clock clk = on tile[0]: XS1_CLKBLK_1;

/* This application function sends some traffic as SPI master using
* the synchronous interface. It reads the config register (address 0)
* of the WFM200S using a 16b command and prints the 32b read result */
* of the WFM200S using a 16b command and prints the upper 16b of the
* 32b read result to identify the device */
void app(client spi_master_if spi)
{
uint8_t val;
Expand Down Expand Up @@ -54,7 +55,8 @@ void app(client spi_master_if spi)

/* This application function sends some traffic as SPI master using
* the synchronous interface. It reads the config register (address 0)
* of the WFM200S using a 16b command and prints the 32b read result */
* of the WFM200S using a 16b command and prints the upper 16b of the
* 32b read result to identify the device */
void async_app(client spi_master_async_if spi)
{

Expand Down