MKM34Z256VLx7 Bare Metal Software Drivers  R4.1.6
Reference Manual
LPUART Callback Function

Overview

This section describes callback function of the driver. The callback function is called by the driver to notify interrupt of the peripheral. All interrupt flags are cleared automatically by the driver.

Typedefs

typedef void(* LPUART_CALLBACK) (LPUART_CALLBACK_SRC module, LPUART_CALLBACK_TYPE type, int32 status)
 

Enumerations

enum  LPUART_CALLBACK_SRC { LPUART0_CALLBACK }
 LPUART_CALLBACK source declaration. More...
 
enum  LPUART_CALLBACK_TYPE { LPUART_TX_CALLBACK, LPUART_RX_CALLBACK, LPUART_ER_CALLBACK, LPUART_EDG_CALLBACK }
 LPUART_CALLBACK type declaration. More...
 

Typedef Documentation

typedef void(* LPUART_CALLBACK) (LPUART_CALLBACK_SRC module, LPUART_CALLBACK_TYPE type, int32 status)

LPUART_CALLBACK function declaration

Enumeration Type Documentation

Enumerator
LPUART0_CALLBACK 

LPUART0 module.

Enumerator
LPUART_TX_CALLBACK 

Transmit Data Register Empty Flag (TDRE), Transmit Complete (TC)

LPUART_RX_CALLBACK 

Receive Data Register Full (RDRF)

LPUART_ER_CALLBACK 

Receiver Overrun (OR), Framing Error (FE), Noise Flag (NF), Parity Error Flag (PF)

LPUART_EDG_CALLBACK 

RxD Input Active Edge Interrupt Flag (RXEDGIF)