Difference between revisions of "SHIP:Port:uart"

From Serious Documentation
Jump to: navigation, search
Line 1: Line 1:
 
<onlyinclude>UART ports are used to configure the way a [[SIMs|SIM]] communicates with some other device and are usually referred to in the format "'''platform.UART0'''", "'''platform.UART1'''", etc.
 
<onlyinclude>UART ports are used to configure the way a [[SIMs|SIM]] communicates with some other device and are usually referred to in the format "'''platform.UART0'''", "'''platform.UART1'''", etc.
  
If you attempt to set an invalid value for any of these {{Portvar|portvar|portvars}}, the value of the portvar will not be changed. (see {{Const|UART_FLAGS}})
+
If you attempt to set an invalid value for any of these [[SHIP:Portvar|portvars]], the value of the portvar will not be changed. (see {{Const|UART_FLAGS}})
 
{{PortvarTableStart|}}
 
{{PortvarTableStart|}}
 
|{{Portvar|uart|rate}}{{†}}||{{DataType|Integer}}||Read/Write||The baud rate.
 
|{{Portvar|uart|rate}}{{†}}||{{DataType|Integer}}||Read/Write||The baud rate.

Revision as of 11:20, 4 February 2013

UART ports are used to configure the way a SIM communicates with some other device and are usually referred to in the format "platform.UART0", "platform.UART1", etc.

If you attempt to set an invalid value for any of these portvars, the value of the portvar will not be changed. (see UART_FLAGS)

Portvar Data Type Permissions Description
rate Integer Read/Write The baud rate.
bits Byte Read/Write The number of bits per character set.
stop Byte Read/Write The number of stop bits sent after each character set.
parity Byte Read/Write The parity bit sent after each character set.

see GRM