UART console driver definitions.
More...
#include <sys/types.h>
Go to the source code of this file.
|
#define | UART_CHANNEL_A 0 |
|
#define | UART_CHANNEL_B 1 |
|
#define | UART_NUMBER_OF_CHANNELS 2 |
|
#define | UART_CONSOLE_NAME "/dev/console" |
|
#define | UART_RAW_IO_NAME "/dev/tty1" |
|
#define | UART_FIFO_FULL 0 |
|
#define | UART_CRR 1 |
|
#define | UART_INTERRUPTS 0 |
|
#define | UART_POLLING 1 |
|
#define | UART_TERMIOS_CONSOLE 0 |
|
#define | UART_TERMIOS_RAW 1 |
|
#define | UART_TERMIOS_MIN_DEFAULT 1 |
|
#define | UART_TERMIOS_TIME_DEFAULT 0 |
|
#define | m340_Rx_RDY 1 |
|
#define | m340_FFULL (1<<1) |
|
#define | m340_Tx_RDY (1<<2) |
|
#define | m340_TxEMP (1<<3) |
|
#define | m340_OE (1<<4) |
|
#define | m340_PE (1<<5) |
|
#define | m340_FE (1<<6) |
|
#define | m340_RB (1<<7) |
|
#define | m340_TxRDYA 1 |
|
#define | m340_RxRDYA (1<<1) |
|
#define | m340_TxRxRDYA 0x3 |
|
#define | m340_TxRDYB (1<<4) |
|
#define | m340_RxRDYB (1<<5) |
|
#define | m340_TxRxRDYB 0x30 |
|
#define | m340_Reset_Error_Status 0x40 |
|
#define | m340_Reset_Receiver 0x20 |
|
#define | m340_Reset_Transmitter 0x30 |
|
#define | m340_Transmitter_Enable (1<<2) |
|
#define | m340_Receiver_Enable 1 |
|
#define | m340_Transmitter_Disable (2<<2) |
|
#define | m340_Receiver_Disable 2 |
|
#define | m340_BRG_Set1 0 |
|
#define | m340_BRG_Set2 (1<<7) |
|
#define | m340_OPCR_Gal 0x0 |
|
#define | m340_OPCR_Aux 0xFF |
|
#define | m340_COS (1<<7) |
|
#define | m340_DBB (1<<6) |
|
#define | m340_XTAL_RDY (1<<3) |
|
#define | m340_DBA (1<<2) |
|
#define | m340_RxRTS (1<<7) |
|
#define | m340_R_F (1<<6) /* character or block mode */ |
|
#define | m340_ERR (1<<5) |
|
#define | m340_RxRTX (1<<7) |
|
#define | m340_Even_Parity 0 |
|
#define | m340_Odd_Parity (1<<2) |
|
#define | m340_Low_Parity (2<<2) |
|
#define | m340_High_Parity (3<<2) |
|
#define | m340_No_Parity (4<<2) |
|
#define | m340_Data_Character (6<<2) |
|
#define | m340_Address_Character (7<<2) |
|
#define | m340_5bpc 0x0 |
|
#define | m340_6bpc 0x1 |
|
#define | m340_7bpc 0x2 |
|
#define | m340_8bpc 0x3 |
|
#define | m340_normal (0<<6) |
|
#define | m340_automatic_echo (1<<6) |
|
#define | m340_local_loopback (2<<6) |
|
#define | m340_remote_loopback (3<<6) |
|
#define | m340_TxRTS (1<<5) |
|
#define | m340_TxCTS (1<<4) |
|
#define | SCLK 1 /* put your own SCLK value here */ |
|
|
void | Init_UART_Table (void) |
|
t_baud_speed_table | Find_Right_m340_UART_Config (float ChannelA_ReceiverBaudRate, float ChannelA_TransmitterBaudRate, uint8_t enableA, float ChannelB_ReceiverBaudRate, float ChannelB_TransmitterBaudRate, uint8_t enableB) |
|
rtems_isr | InterruptHandler (rtems_vector_number v) |
|
int | dbugRead (int minor) |
|
ssize_t | dbugWrite (int minor, const char *buf, size_t len) |
|
|
uart_channel_config | m340_uart_config [UART_NUMBER_OF_CHANNELS] |
|
float | m340_Baud_Rates_Table [16][2] |
|
UART console driver definitions.