Difference between revisions of "SHIP:Constants:UART FLAGS"

From Serious Documentation
Jump to: navigation, search
 
Line 15: Line 15:
 
* {{Const|UART_FLAGS|UART_FLAGS.STOP_1}}
 
* {{Const|UART_FLAGS|UART_FLAGS.STOP_1}}
 
* {{Const|UART_FLAGS|UART_FLAGS.STOP_2}}
 
* {{Const|UART_FLAGS|UART_FLAGS.STOP_2}}
 +
 +
txControl options, which control the transmit enable hardware line:
 +
* {{Const|UART_FLAGS|UART_FLAGS.TXC_UNUSED}}
 +
* {{Const|UART_FLAGS|UART_FLAGS.TXC_DRIVE_HI}}
 +
* {{Const|UART_FLAGS|UART_FLAGS.TXC_DRIVE_LO}}
 +
* {{Const|UART_FLAGS|UART_FLAGS.TXC_OPEN_DRAIN}}
  
 
These {{Node|constant|constants}} should referred to in the format "'''UART_FLAGS.PARITY_NONE'''". Do '''not''' create any other node with the exact name "UART_FLAGS".
 
These {{Node|constant|constants}} should referred to in the format "'''UART_FLAGS.PARITY_NONE'''". Do '''not''' create any other node with the exact name "UART_FLAGS".

Latest revision as of 07:21, 1 April 2014

The name UART_FLAGS refers to a group of constants used to configure a UART connection. The constants in this group are:

Parity:

Character Length:

Stop Bits:

txControl options, which control the transmit enable hardware line:

These constants should referred to in the format "UART_FLAGS.PARITY_NONE". Do not create any other node with the exact name "UART_FLAGS".