AT example.cydsn/Generated_Source/PSoC5/UART.c
void UART_LoadTxConfig(void) 
    {
        #if((UART_RX_INTERRUPT_ENABLED) && (UART_RXBUFFERSIZE > UART_FIFO_LENGTH))
            /* Disable RX interrupts before set TX configuration */
            UART_SetRxInterruptMode(0u);
        #endif /* UART_RX_INTERRUPT_ENABLED */

        UART_WriteControlRegister(UART_ReadControlRegister() | UART_CTRL_HD_SEND);
        UART_RXBITCTR_PERIOD_REG = UART_HD_TXBITCTR_INIT;
        #if(CY_UDB_V0) /* Manually clear status register when mode has been changed */
            /* Clear status register */
            CY_GET_REG8(UART_RXSTATUS_PTR);
        #endif /* CY_UDB_V0 */
    }
/*******************************************************************************
    * Function Name: UART_LoadTxConfig
    ********************************************************************************
    *
    * Summary:
    *  Unloads the Rx configuration if required and loads the
    *  Tx configuration. It is the users responsibility to ensure that any
    *  transaction is complete and it is safe to unload the Tx
    *  configuration.
    *
    * Parameters:
    *  None.
    *
    * Return:
    *  None.
    *
    * Theory:
    *  Valid only for half duplex UART.
    *
    * Side Effects:
    *  Disable RX interrupt mask, when software buffer has been used.
    *
    *******************************************************************************/
Function Name: UART_LoadTxConfig
Summary:
Unloads the Rx configuration if required and loads the
Tx configuration. It is the users responsibility to ensure that any
transaction is complete and it is safe to unload the Tx
configuration.

None.

None.

Valid only for half duplex UART.

Side Effects:
Disable RX interrupt mask, when software buffer has been used.
Function Name : UART_LoadTxConfig Summary : Unloads the Rx configuration if required and loads the Tx configuration . It is the users responsibility to ensure that any transaction is complete and it is safe to unload the Tx configuration . None . None . Valid only for half duplex UART . Side Effects : Disable RX interrupt mask when software buffer has been used .
void UART_LoadTxConfig(void) 
    {
        #if((UART_RX_INTERRUPT_ENABLED) && (UART_RXBUFFERSIZE > UART_FIFO_LENGTH))
            UART_SetRxInterruptMode(0u);
        #endif 
        UART_WriteControlRegister(UART_ReadControlRegister() | UART_CTRL_HD_SEND);
        UART_RXBITCTR_PERIOD_REG = UART_HD_TXBITCTR_INIT;
        #if(CY_UDB_V0) 
            CY_GET_REG8(UART_RXSTATUS_PTR);
        #endif 
    }
void UART_LoadTxConfig ( void ) { #if ( ( UART_RX_INTERRUPT_ENABLED ) && ( UART_RXBUFFERSIZE > UART_FIFO_LENGTH ) ) UART_SetRxInterruptMode ( 0u ) ; #endif UART_WriteControlRegister ( UART_ReadControlRegister ( ) | UART_CTRL_HD_SEND ) ; UART_RXBITCTR_PERIOD_REG = UART_HD_TXBITCTR_INIT ; #if ( CY_UDB_V0 ) CY_GET_REG8 ( UART_RXSTATUS_PTR ) ; #endif }
Function Name: UART_LoadTxConfig
 Summary:
  Unloads the Rx configuration if required and loads the
  Tx configuration.
Function Name : UART_LoadTxConfig Summary : Unloads the Rx configuration if required and loads the Tx configuration .
/* Disable RX interrupts before set TX configuration */ /* UART_RX_INTERRUPT_ENABLED */ /* Manually clear status register when mode has been changed */ /* Clear status register */ /* CY_UDB_V0 */