APBUARTplugin » History » Version 3
Alexis Jeandet, 22/09/2015 10:57 AM
1 | 1 | Alexis Jeandet | h1. APBUARTplugin |
---|---|---|---|
2 | |||
3 | table(noborder){width: 90%;text-align: center;}. |
||
4 | |!{width: 80%;padding:1em;}APB_UART_PLUGIN_CFGWLegend.png(APB_UART_PLUGIN config panel)!| |
||
5 | |!{width: 80%;padding:1em;}APB_UART_PLUGIN_TERMWLegend.png(APB_UART_PLUGIN Terminal panel)!| |
||
6 | |||
7 | h2. General Description |
||
8 | |||
9 | 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. |
||
10 | 2 | Alexis Jeandet | 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. |
11 | |||
12 | table(noborder){width: 90%;text-align: center;}. |
||
13 | |!{width: 100%;padding:1em;}APB_OVER_SERIAL.png(Nominal connection over RS232)!|!{width: 100%;padding:1em;}APB_OVER_ROOT.png(FIFO debug mode)!| |
||
14 | 1 | Alexis Jeandet | |
15 | h2. Python's specific features |
||
16 | |||
17 | [[Plugins_Python_API|Common methods]] |
||
18 | |||
19 | Methods list: |
||
20 | 3 | Alexis Jeandet | |
21 | * %{color:blue}void% *[[APBUARTplugin#toggleUartState|toggleUartState]]* (); |
||
22 | * %{color:blue}void% *[[APBUARTplugin#activate|activate]]* (%{color:green}bool% flag); |
||
23 | * %{color:blue}void% *[[APBUARTplugin#updateAPBUartsList|updateAPBUartsList]]* (); |
||
24 | * %{color:blue}void% *[[APBUARTplugin#setCurentAPBUart|setCurentAPBUart]]* (%{color:green}int% index); |
||
25 | * %{color:blue}void% *[[APBUARTplugin#openUart|openUart]]* (); |
||
26 | * %{color:blue}void% *[[APBUARTplugin#closeUart|closeUart]]* (); |
||
27 | * %{color:blue}void% *[[APBUARTplugin#setFifoDebugEnabled|setFifoDebugEnabled]]* (%{color:green}bool% enable); |
||
28 | * %{color:blue}void% *[[APBUARTplugin#setAPBUartIndex|setAPBUartIndex]]* (%{color:green}int% index); |
||
29 | * %{color:blue}void% *[[APBUARTplugin#setUARTPortNane|setUARTPortNane]]* (%{color:green}QString% name); |
||
30 | * %{color:blue}void% *[[APBUARTplugin#setUARTPortSpeed|setUARTPortSpeed]]* (%{color:green}int% speed); |
||
31 | |||
32 | |||
33 | |||
34 | |||
35 | ---- |
||
36 | |||
37 | ---- |
||
38 | |||
39 | |||
40 | h2(#toggleUartState). %{color:blue}void% *[[APBUARTplugin#toggleUartState|toggleUartState]]* () |
||
41 | |||
42 | ---- |
||
43 | |||
44 | h2(#toggleUartState). %{color:blue}void% *[[APBUARTplugin#activate|activate]]* (%{color:green}bool% flag) |
||
45 | |||
46 | ---- |
||
47 | |||
48 | |||
49 | h2(#updateAPBUartsList). %{color:blue}void% *[[APBUARTplugin#updateAPBUartsList|updateAPBUartsList]]* () |
||
50 | |||
51 | ---- |
||
52 | |||
53 | |||
54 | h2(#setCurentAPBUart). %{color:blue}void% *[[APBUARTplugin#setCurentAPBUart|setCurentAPBUart]]* (%{color:green}int% index) |
||
55 | |||
56 | ---- |
||
57 | |||
58 | |||
59 | h2(#openUart). %{color:blue}void% *[[APBUARTplugin#openUart|openUart]]* () |
||
60 | |||
61 | ---- |
||
62 | |||
63 | |||
64 | h2(#closeUart). %{color:blue}void% *[[APBUARTplugin#closeUart|closeUart]]* () |
||
65 | |||
66 | ---- |
||
67 | |||
68 | |||
69 | h2(#setFifoDebugEnabled). %{color:blue}void% *[[APBUARTplugin#setFifoDebugEnabled|setFifoDebugEnabled]]* (%{color:green}bool% enable) |
||
70 | |||
71 | ---- |
||
72 | |||
73 | |||
74 | h2(#setAPBUartIndex). %{color:blue}void% *[[APBUARTplugin#setAPBUartIndex|setAPBUartIndex]]* (%{color:green}int% index) |
||
75 | |||
76 | ---- |
||
77 | |||
78 | |||
79 | h2(#setUARTPortNane). %{color:blue}void% *[[APBUARTplugin#setUARTPortNane|setUARTPortNane]]* (%{color:green}QString% name) |
||
80 | |||
81 | ---- |
||
82 | |||
83 | |||
84 | h2(#setUARTPortSpeed). %{color:blue}void% *[[APBUARTplugin#setUARTPortSpeed|setUARTPortSpeed]]* (%{color:green}int% speed) |
||
85 | |||
86 | ---- |