Defines | Functions
serial.h File Reference

Serial port configuration. More...

#include <config/named.h>
#include <NAMED_CONFIG(serial.h)>
#include <config/local/serial.h>
#include <LOCAL_NAMED_CONFIG(serial.h)>

Go to the source code of this file.


#define COMCONSOLE   COM1 /* I/O port address */
#define COMSPEED   115200 /* Baud rate */
#define COMDATA   8 /* Data bits */
#define COMPARITY   0 /* Parity: 0=None, 1=Odd, 2=Even */
#define COMSTOP   1 /* Stop bits */



Detailed Description

Serial port configuration.

These options affect the operation of the serial console. They take effect only if the serial console is included using the CONSOLE_SERIAL option.

Definition in file serial.h.

Define Documentation

#define COMCONSOLE   COM1 /* I/O port address */

Definition at line 16 of file serial.h.

#define COMSPEED   115200 /* Baud rate */

Definition at line 24 of file serial.h.

#define COMDATA   8 /* Data bits */

Definition at line 25 of file serial.h.

#define COMPARITY   0 /* Parity: 0=None, 1=Odd, 2=Even */

Definition at line 26 of file serial.h.

#define COMSTOP   1 /* Stop bits */

Definition at line 27 of file serial.h.

Function Documentation