MCUXpresso SDK API Reference Manual  Rev. 0
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
QSCI Peripheral and Driver Overview

Peripheral feature and how this peripheral works

The QSCI allows asynchronous serial communications with peripheral devices.

Features

How this driver is designed to make this peripheral works

On abstraction level, the QSCI driver provides 2 parallel layers for different users with different requirements on flexibility: Functional layer and Transactional layer. Do not mix the usage of these 2 layers.

Functional Layer

Transactional Layer

How to use this driver

General Control Macro

Callback Macro

For efficiency's sake, user callback interface is designed to have only one parameter psHandle defined as qsci_transfer_handle_t. Since the handle shall not be modified by user application, macros are provided for user to get bus status or user data.

Configuration Items Before Calling QSCI Driver APIs

Functional layer usage model

Transactional layer usage model

Typical Use Cases

These code snipets shows the general calling sequence to use functional APIs and transactional APIs. For detail usage on appilcation level, refer to QSCI driver examples in SDK package under boards/<board_name>/driver_examples/QSCI.

//TODO