h1. APBUARTplugin table(noborder){width: 90%;text-align: center;}. |!{width: 80%;padding:1em;}APB_UART_PLUGIN_CFGWLegend.png(APB_UART_PLUGIN config panel)!| |!{width: 80%;padding:1em;}APB_UART_PLUGIN_TERMWLegend.png(APB_UART_PLUGIN Terminal panel)!| h2. General Description The APB_UART_PLUGIN is a child plugin which allows you to print "gaisler's APBUART":http://www.gaisler.com/products/grlib/grip.pdf output. Usually the APBUART is the default device where the printf are redirected which makes sense to print it in ascii in a terminal. This plugin is able read the APBUART output either directly from it's output on a serial port or in FIFO debug mode with the root plugin. See illustration below. table(noborder){width: 90%;text-align: center;}. |!{width: 100%;padding:1em;}APB_OVER_SERIAL.png(Nominal connection over RS232)!|!{width: 100%;padding:1em;}APB_OVER_ROOT.png(FIFO debug mode)!| h2. Python's specific features [[Plugins_Python_API|Common methods]] Methods list: * %{color:blue}void% *[[APBUARTplugin#toggleUartState|toggleUartState]]* (); * %{color:blue}void% *[[APBUARTplugin#activate|activate]]* (%{color:green}bool% flag); * %{color:blue}void% *[[APBUARTplugin#updateAPBUartsList|updateAPBUartsList]]* (); * %{color:blue}void% *[[APBUARTplugin#setCurentAPBUart|setCurentAPBUart]]* (%{color:green}int% index); * %{color:blue}void% *[[APBUARTplugin#openUart|openUart]]* (); * %{color:blue}void% *[[APBUARTplugin#closeUart|closeUart]]* (); * %{color:blue}void% *[[APBUARTplugin#setFifoDebugEnabled|setFifoDebugEnabled]]* (%{color:green}bool% enable); * %{color:blue}void% *[[APBUARTplugin#setAPBUartIndex|setAPBUartIndex]]* (%{color:green}int% index); * %{color:blue}void% *[[APBUARTplugin#setUARTPortNane|setUARTPortNane]]* (%{color:green}QString% name); * %{color:blue}void% *[[APBUARTplugin#setUARTPortSpeed|setUARTPortSpeed]]* (%{color:green}int% speed); ---- ---- h2(#toggleUartState). %{color:blue}void% *[[APBUARTplugin#toggleUartState|toggleUartState]]* () ---- h2(#toggleUartState). %{color:blue}void% *[[APBUARTplugin#activate|activate]]* (%{color:green}bool% flag) ---- h2(#updateAPBUartsList). %{color:blue}void% *[[APBUARTplugin#updateAPBUartsList|updateAPBUartsList]]* () ---- h2(#setCurentAPBUart). %{color:blue}void% *[[APBUARTplugin#setCurentAPBUart|setCurentAPBUart]]* (%{color:green}int% index) ---- h2(#openUart). %{color:blue}void% *[[APBUARTplugin#openUart|openUart]]* () ---- h2(#closeUart). %{color:blue}void% *[[APBUARTplugin#closeUart|closeUart]]* () ---- h2(#setFifoDebugEnabled). %{color:blue}void% *[[APBUARTplugin#setFifoDebugEnabled|setFifoDebugEnabled]]* (%{color:green}bool% enable) ---- h2(#setAPBUartIndex). %{color:blue}void% *[[APBUARTplugin#setAPBUartIndex|setAPBUartIndex]]* (%{color:green}int% index) ---- h2(#setUARTPortNane). %{color:blue}void% *[[APBUARTplugin#setUARTPortNane|setUARTPortNane]]* (%{color:green}QString% name) ---- h2(#setUARTPortSpeed). %{color:blue}void% *[[APBUARTplugin#setUARTPortSpeed|setUARTPortSpeed]]* (%{color:green}int% speed) ----