text: /***************************************************************************//**
   * @file
   * @brief IOSTREAM_UART Config.
   *******************************************************************************
   * # License
   * <b>Copyright 2020 Silicon Laboratories Inc. www.silabs.com</b>
   *******************************************************************************
   *
   * SPDX-License-Identifier: Zlib
   *
   * The licensor of this software is Silicon Laboratories Inc.
   *
   * This software is provided 'as-is', without any express or implied
   * warranty. In no event will the authors be held liable for any damages
   * arising from the use of this software.
   *
   * Permission is granted to anyone to use this software for any purpose,
   * including commercial applications, and to alter it and redistribute it
   * freely, subject to the following restrictions:
   *
   * 1. The origin of this software must not be misrepresented; you must not
   *    claim that you wrote the original software. If you use this software
   *    in a product, an acknowledgment in the product documentation would be
   *    appreciated but is not required.
   * 2. Altered source versions must be plainly marked as such, and must not be
   *    misrepresented as being the original software.
   * 3. This notice may not be removed or altered from any source distribution.
   *
   ******************************************************************************/
  #ifndef SL_IOSTREAM_UART_INSTANCE_CONFIG_H
  #define SL_IOSTREAM_UART_INSTANCE_CONFIG_H
  
  // <<< Use Configuration Wizard in Context Menu >>>
  
  // <h>UART settings
  
  // <o SL_IOSTREAM_UART_INSTANCE_BAUDRATE> Baud rate
  // <i> Default: 115200
  #define SL_IOSTREAM_UART_INSTANCE_BAUDRATE              115200
  
  // <o SL_IOSTREAM_UART_INSTANCE_PARITY> Parity mode to use
  // <usartNoParity=> No Parity
  // <usartEvenParity=> Even parity
  // <usartOddParity=> Odd parity
  // <i> Default: usartNoParity
  #define SL_IOSTREAM_UART_INSTANCE_PARITY                usartNoParity
  
  // <o SL_IOSTREAM_UART_INSTANCE_STOP_BITS> Number of stop bits to use.
  // <usartStopbits0p5=> 0.5 stop bits
  // <usartStopbits1=> 1 stop bits
  // <usartStopbits1p5=> 1.5 stop bits
  // <usartStopbits2=> 2 stop bits
  // <i> Default: usartStopbits1
  #define SL_IOSTREAM_UART_INSTANCE_STOP_BITS             usartStopbits1
  
  // <o SL_IOSTREAM_USART_INSTANCE_FLOW_CONTROL_TYPE> Flow control
  // <uartFlowControlNone=> None
  // <uartFlowControlSoftware=> Software Flow control (XON/XOFF)
  // <i> Default: uartFlowControlNone
  #define SL_IOSTREAM_USART_INSTANCE_FLOW_CONTROL_TYPE     uartFlowControlNone
  
  // <o SL_IOSTREAM_UART_INSTANCE_RX_BUFFER_SIZE> Receive buffer size
  // <i> Default: 32
  #define SL_IOSTREAM_UART_INSTANCE_RX_BUFFER_SIZE    32
  
  // <q SL_IOSTREAM_UART_INSTANCE_CONVERT_BY_DEFAULT_LF_TO_CRLF> Convert \n to \r\n
  // <i> It can be changed at runtime using the C API.
  // <i> Default: 0
  #define SL_IOSTREAM_UART_INSTANCE_CONVERT_BY_DEFAULT_LF_TO_CRLF     0
  
  // <q SL_IOSTREAM_UART_INSTANCE_RESTRICT_ENERGY_MODE_TO_ALLOW_RECEPTION> Restrict the energy mode to allow the reception.
  // <i> Default: 1
  // <i> Limits the lowest energy mode the system can sleep to in order to keep the reception on. May cause higher power consumption.
  #define SL_IOSTREAM_UART_INSTANCE_RESTRICT_ENERGY_MODE_TO_ALLOW_RECEPTION    1
  
  // </h>
  
  // <<< end of configuration section >>>
  
  // <<< sl:start pin_tool >>>
  // <usart signal=TX,RX,(CTS),(RTS)> SL_IOSTREAM_UART_INSTANCE
  // $[USART_SL_IOSTREAM_UART_INSTANCE]
  #warning "IO Stream UART peripheral not configured"
  // #define SL_IOSTREAM_UART_INSTANCE_PERIPHERAL      UART0
  // #define SL_IOSTREAM_UART_INSTANCE_PERIPHERAL_NO   0
  
  // #define SL_IOSTREAM_UART_INSTANCE_TX_PORT         gpioPortC
  // #define SL_IOSTREAM_UART_INSTANCE_TX_PIN          11
  // #define SL_IOSTREAM_UART_INSTANCE_ROUTE_LOC       2
  
  // #define SL_IOSTREAM_UART_INSTANCE_RX_PORT         gpioPortC
  // #define SL_IOSTREAM_UART_INSTANCE_RX_PIN          10
  // [USART_SL_IOSTREAM_UART_INSTANCE]$
  // <<< sl:end pin_tool >>>
  
  #endif
  