This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1294NCPDT: TM4C1294NCPDT SW and documentation

Part Number: TM4C1294NCPDT

I am studying uart_echo.c code what I found on TI web site among many example projects. I am particularly interested in this code, as in my work project I have to use serial line communication. I have designed the HW, and now I am writing the code for it. The board is using different ports and different signals, based on the main TIVA documentation. The example code refers to many names like UART0_BASE, GPIO_PORTN_BASE, GPIO_PIN_0 and others. I checked documentation, all files belonging to this projects But I have not find a definition for. Your documentation SPMU363a on page 538 lists the cases for the ui32IntFlags saying this is the logical OR of any of the following...... BUT.. WHAT IS THE VALUE FOR --- UART_INT_9BIT, UART_INT_OE etc. --- or any of the other bits?

Where can I find the predefined names for the ports, its bit names, the constants their predefined values, assignments and in general anything what is predefined in your SW system

I have not found reference to this (and any other parameters) ANYWHERE in the "documentation system of yours". What shall do somebody if he/she does not want to use the "historical" assignments? SO MY QUESTION IS.... WHERE one can find all these assignment. If nowhere, the entire HW, SW and documentation becomes useless...

  • Hello Charles,

    Definitions for DriverLib peripheral values are found in the .h files of the respective peripheral. So in your case, uart.h under the driverlib folder:

    //*****************************************************************************
    //
    // Values that can be passed to UARTIntEnable, UARTIntDisable, and UARTIntClear
    // as the ui32IntFlags parameter, and returned from UARTIntStatus.
    //
    //*****************************************************************************
    #define UART_INT_DMATX          0x20000     // DMA TX interrupt
    #define UART_INT_DMARX          0x10000     // DMA RX interrupt
    #define UART_INT_9BIT           0x1000      // 9-bit address match interrupt
    #define UART_INT_OE             0x400       // Overrun Error Interrupt Mask
    #define UART_INT_BE             0x200       // Break Error Interrupt Mask
    #define UART_INT_PE             0x100       // Parity Error Interrupt Mask
    #define UART_INT_FE             0x080       // Framing Error Interrupt Mask
    #define UART_INT_RT             0x040       // Receive Timeout Interrupt Mask
    #define UART_INT_TX             0x020       // Transmit Interrupt Mask
    #define UART_INT_RX             0x010       // Receive Interrupt Mask
    #define UART_INT_DSR            0x008       // DSR Modem Interrupt Mask
    #define UART_INT_DCD            0x004       // DCD Modem Interrupt Mask
    #define UART_INT_CTS            0x002       // CTS Modem Interrupt Mask
    #define UART_INT_RI             0x001       // RI Modem Interrupt Mask

  • Thank you for your reply, it resolved THE RAISED ISSUE and  gave me a direction to find similar issues.

    Thank you AGAIN