Data Fields
UARTMSP432_FxnSet Struct Reference

Complement set of read functions to be used by the UART ISR and UARTMSP432_read(). Internal use only. More...

#include <UARTMSP432.h>

Data Fields

bool(* readIsrFxn )(UART_Handle handle)
 
int(* readTaskFxn )(UART_Handle handle)
 

Detailed Description

Complement set of read functions to be used by the UART ISR and UARTMSP432_read(). Internal use only.

These functions should not be used by the user and are solely intended for the UARTMSP432 driver. The UARTMSP432_FxnSet is a pair of complement functions that are design to operate with one another in a task context and in an ISR context. The readTaskFxn is called by UARTMSP432_read() to drain a circular buffer, whereas the readIsrFxn is used by the UARTMSP432_hwiIntFxn to fill up the circular buffer.

readTaskFxn: Function called by UART read These variables are set and available for use to the readTaskFxn. object->readBuf = buffer; //Pointer to a user buffer object->readSize = size; //Desired no. of bytes to read object->readCount = size; //Remaining no. of bytes to read

readIsrFxn: The required ISR counterpart to readTaskFxn

Field Documentation

§ readIsrFxn

bool(* UARTMSP432_FxnSet::readIsrFxn) (UART_Handle handle)

§ readTaskFxn

int(* UARTMSP432_FxnSet::readTaskFxn) (UART_Handle handle)

The documentation for this struct was generated from the following file:
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale