Data Structures | Macros | Typedefs | Enumerations
UART2LPF3.h File Reference

Detailed Description

UART driver implementation for a Low Power F3 device UART controller.

============================================================================

The UART header file should be included in an application as follows:

#include <ti/drivers/UART2.h> #include <ti/drivers/uart2/UART2LPF3.h>

Refer to UART2.h for a complete description of APIs and examples of use.


#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#include <ti/devices/DeviceFamily.h>
#include <DeviceFamily_constructPath(inc/hw_types.h)>
#include <DeviceFamily_constructPath(driverlib/udma.h)>
#include <ti/drivers/dpl/HwiP.h>
#include <ti/drivers/dpl/SemaphoreP.h>
#include <ti/drivers/UART2.h>
Include dependency graph for UART2LPF3.h:

Go to the source code of this file.

Data Structures

struct  UART2LPF3_HWAttrs
 UART2LPF3 Hardware attributes. More...
 
struct  UART2LPF3_Object
 UART2LPF3 Object. More...
 

Macros

#define UART2LPF3_FIFO_SIZE   8
 

Typedefs

typedef struct UART2LPF3_ObjectUART2LPF3_Handle
 

Enumerations

enum  UART2LPF3_CodingScheme { UART2LPF3_CODING_UART = 0, UART2LPF3_CODING_SIR = 1, UART2LPF3_CODING_SIR_LP = 2 }
 UART TXD/RXD encoding/decoding scheme. More...
 

Macro Definition Documentation

§ UART2LPF3_FIFO_SIZE

#define UART2LPF3_FIFO_SIZE   8

Size of the TX and RX FIFOs is 8 items

Typedef Documentation

§ UART2LPF3_Handle

Enumeration Type Documentation

§ UART2LPF3_CodingScheme

UART TXD/RXD encoding/decoding scheme.

Encoding scheme for data transmitted/received on TXD/RXD pins. The data can either be encoded as standard UART, or as an IrDA-compliant Serial Infrared stream, where the width of each pulse is 3/16th of the bit period. A low-power SIR encoding is also available, where the pulse width can be configured.

Enumerator
UART2LPF3_CODING_UART 

TXD/RXD coded as UART

UART2LPF3_CODING_SIR 

TXD/RXD coded as Serial Infrared

UART2LPF3_CODING_SIR_LP 

TXD/RXD coded as Low-Power Serial Infrared

© Copyright 1995-2024, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale