www.beck-ipc.com

@CHIP-RTOS C Library V2.06 - SPI API


spi_waiton_sem

Wait on the SPI semaphore (hardware interface)

unsigned int spi_waiton_sem ( void );

Return Value

0 on success else error code.

Comments

If multiple tasks use the SPI hardware master interface to access different slaves through different slave chip select PIO pins, this call should be used to synchronise the SPI activity on the bus. The external MMC/SD driver examples uses this call since version V1.02.

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3
    n/an/an/aV0.91

Supported by @CHIP-RTOS C Library since version

    CLIB
    V2.02

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document