1.1.9.2 QMSPIx_ChipSelectSetup Function

C

/* x = QMSPI instance number */

void QMSPIx_ChipSelectSetup(QMSPI_CHIP_SELECT chipSelect)

Summary

Enables the specified hardware chip select

Description

This function allows application to activate the specified chip select. The QMSPI clock phase, clock polarity, baud rate and other settings for the specified hardware chip select become active. This API must be called to switch between multiple hardware chip select lines.

Precondition

The QMSPIx_Initialize() should have been called.

Parameters

chipSelect - One of the hardware chip select from the QMSPI_CHIP_SELECT enum

Returns

None

Example

	// Select Chip select 1
	QMSPI0_ChipSelectSetup(QMSPI_CHIP_SELECT_1);

Remarks

None.