![]()  | 
  
    MCUXpresso SDK API Reference Manual
    Rev. 0
    
   NXP Semiconductors 
   | 
 
DSPI RTOS Operation | |
| status_t | DSPI_RTOS_Init (dspi_rtos_handle_t *handle, SPI_Type *base, const dspi_master_config_t *masterConfig, uint32_t srcClock_Hz) | 
| Initializes the DSPI.  More... | |
| status_t | DSPI_RTOS_Deinit (dspi_rtos_handle_t *handle) | 
| Deinitializes the DSPI.  More... | |
| status_t | DSPI_RTOS_Transfer (dspi_rtos_handle_t *handle, dspi_transfer_t *transfer) | 
| Performs the SPI transfer.  More... | |
| status_t DSPI_RTOS_Init | ( | dspi_rtos_handle_t * | handle, | 
| SPI_Type * | base, | ||
| const dspi_master_config_t * | masterConfig, | ||
| uint32_t | srcClock_Hz | ||
| ) | 
This function initializes the DSPI module and the related RTOS context.
| handle | The RTOS DSPI handle, the pointer to an allocated space for RTOS context. | 
| base | The pointer base address of the DSPI instance to initialize. | 
| masterConfig | A configuration structure to set-up the DSPI in master mode. | 
| srcClock_Hz | A frequency of the input clock of the DSPI module. | 
| status_t DSPI_RTOS_Deinit | ( | dspi_rtos_handle_t * | handle | ) | 
This function deinitializes the DSPI module and the related RTOS context.
| handle | The RTOS DSPI handle. | 
| status_t DSPI_RTOS_Transfer | ( | dspi_rtos_handle_t * | handle, | 
| dspi_transfer_t * | transfer | ||
| ) | 
This function performs the SPI transfer according to the data given in the transfer structure.
| handle | The RTOS DSPI handle. | 
| transfer | A structure specifying the transfer parameters. |