AT example.cydsn/Generated_Source/PSoC5/UART.c
void UART_LoadRxConfig(void) 
    {
        UART_WriteControlRegister(UART_ReadControlRegister() &
                                                (uint8)~UART_CTRL_HD_SEND);
        UART_RXBITCTR_PERIOD_REG = UART_HD_RXBITCTR_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 */

        #if((UART_RX_INTERRUPT_ENABLED) && (UART_RXBUFFERSIZE > UART_FIFO_LENGTH))
            /* Enable RX interrupt after set RX configuration */
            UART_SetRxInterruptMode(UART_INIT_RX_INTERRUPTS_MASK);
        #endif /* UART_RX_INTERRUPT_ENABLED */
    }
/*******************************************************************************
    * Function Name: UART_LoadRxConfig
    ********************************************************************************
    *
    * Summary:
    *  Unloads the Tx configuration if required and loads the
    *  Rx configuration. It is the users responsibility to ensure that any
    *  transaction is complete and it is safe to unload the Rx
    *  configuration.
    *
    * Parameters:
    *  None.
    *
    * Return:
    *  None.
    *
    * Theory:
    *  Valid only for half duplex UART
    *
    * Side Effects:
    *  Set RX interrupt mask based on customizer settings, when software buffer
    *  has been used.
    *
    *******************************************************************************/
Function Name: UART_LoadRxConfig
Summary:
Unloads the Tx configuration if required and loads the
Rx configuration. It is the users responsibility to ensure that any
transaction is complete and it is safe to unload the Rx
configuration.

None.

None.

Valid only for half duplex UART

Side Effects:
Set RX interrupt mask based on customizer settings, when software buffer
has been used.
Function Name : UART_LoadRxConfig Summary : Unloads the Tx configuration if required and loads the Rx configuration . It is the users responsibility to ensure that any transaction is complete and it is safe to unload the Rx configuration . None . None . Valid only for half duplex UART Side Effects : Set RX interrupt mask based on customizer settings when software buffer has been used .
void UART_LoadRxConfig(void) 
    {
        UART_WriteControlRegister(UART_ReadControlRegister() &
                                                (uint8)~UART_CTRL_HD_SEND);
        UART_RXBITCTR_PERIOD_REG = UART_HD_RXBITCTR_INIT;
        #if(CY_UDB_V0) 
            CY_GET_REG8(UART_RXSTATUS_PTR);
        #endif 
        #if((UART_RX_INTERRUPT_ENABLED) && (UART_RXBUFFERSIZE > UART_FIFO_LENGTH))
            UART_SetRxInterruptMode(UART_INIT_RX_INTERRUPTS_MASK);
        #endif 
    }
void UART_LoadRxConfig ( void ) { UART_WriteControlRegister ( UART_ReadControlRegister ( ) & ( uint8 ) ~ UART_CTRL_HD_SEND ) ; UART_RXBITCTR_PERIOD_REG = UART_HD_RXBITCTR_INIT ; #if ( CY_UDB_V0 ) CY_GET_REG8 ( UART_RXSTATUS_PTR ) ; #endif #if ( ( UART_RX_INTERRUPT_ENABLED ) && ( UART_RXBUFFERSIZE > UART_FIFO_LENGTH ) ) UART_SetRxInterruptMode ( UART_INIT_RX_INTERRUPTS_MASK ) ; #endif }
Function Name: UART_LoadRxConfig
 Summary:
  Unloads the Tx configuration if required and loads the
  Rx configuration.
Function Name : UART_LoadRxConfig Summary : Unloads the Tx configuration if required and loads the Rx configuration .
/* Manually clear status register when mode has been changed */ /* Clear status register */ /* CY_UDB_V0 */ /* Enable RX interrupt after set RX configuration */ /* UART_RX_INTERRUPT_ENABLED */