UART Wildcard User Guide
<< Previous | Next>>
Glossary Quick Reference
Configuration Functions
int Read_UART_Number( void )
void Set_Baud ( uint baudrate, int channel, int module )
void Set_Data_Format ( int numbits, int stopBits, int parity, int channel, int module )
void Set_UART_Number( int module )
int Set_Protocols ( int ch1_modem, int ch1_protocol, int ch2_protocol, int module )
Constants |
CHANNEL1 | CHANNEL2 |
EVEN_PARITY | HIGH_PARITY |
LOW_PARITY | NO_PARITY |
NOT_USED | ODD_PARITY |
RS232 | RS422 |
RS485 |
RS485 Direction Control
void RS485_Rcv_UART ( int channel_num, int module_num )
void RS485_Rcv_When_Xmit_Done ( int channel_num, int module_num )
void RS485_Xmit_UART ( int channel_num, int module_num )
Serial I/O Primitives
int Ask_Key_UART ( int channel_num, int module_num )
int Ch1_Ask_Key ( void )
void Ch1_Emit ( uchar character )
uchar Ch1_Key ( void )
int Ch2_Ask_Key ( void )
void Ch2_Emit ( uchar character )
uchar Ch2_Key ( void )
void Emit_UART ( uchar character, int channel_num, int module_num )
uchar Key_UART ( int channel_num, int module_num )
Utility Functions
void End_Break ( int channel_num, int module_num )
void Is_DTR ( int desired_state, int module_num )
void Is_RTS ( int desired_state, int module_num )
int Read_CTS ( int module_num )
int Read_DCD ( int module_num )
int Read_DSR ( int module_num )
void Send_Break ( int channel_num, int module_num )
void Wait_Until_Xmit_Done ( int channel_num, int module_num )
Demonstration Program Constants |
DEFAULT_BAUDRATE | DEFAULT_BITS_PER_CHAR |
DEFAULT_MODEM_SUPPORT | DEFAULT_PARITY |
DEFAULT_PROTOCOL | DEFAULT_STOP_BITS |
UART_MODULE_NUM |
Demonstration Program Functions
int Default_UART_Init ( int module_num )
void Run_Demo ( void )
<< Previous | Next>>
|