MAX3110EEWI-T Maxim Integrated, MAX3110EEWI-T Datasheet - Page 29

no-image

MAX3110EEWI-T

Manufacturer Part Number
MAX3110EEWI-T
Description
UART Interface IC
Manufacturer
Maxim Integrated
Type
SPI/MICROWIRE-Compatible UART with Integrated ESD-Protected RS-232 Transceiverr
Datasheet

Specifications of MAX3110EEWI-T

Number Of Channels
1
Data Rate
250 Kbps
Supply Voltage - Max
5.5 V
Supply Voltage - Min
4.5 V
Supply Current
0.6 mA
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Package / Case
SOIC-28 Wide
Description/function
SPI/MICROWIRE-Compatible UART with integrated ESD-protected RS-232 transceiver
Mounting Style
SMD/SMT
Operating Supply Voltage
5 V
Propagation Delay Time Ns
150 ns
Maxim Integrated
Listing 1. Outline for a MAX3110E/MAX3111E Software Driver (continued)
Protected RS-232 Transceivers with Internal Capacitors
SPI/MICROWIRE-Compatible UART and ±15kV ESD-
/* This driver needs a txqueue transmit-data queue and a rxqueue receive-data queue.
** These can be ring buffers or any other kind of first-in, first-out data queue.
*/
EnQueue ( queue , char )
char DeQueue ( queue )
true/false IsQueueEmpty ( queue )
/*
low level.
** This is a PRIVATE routine to be used only within the driver software.
*/
ServiceMAX3110E/MAX3111Eint ( )
{
} /* end of ServiceMAX3110E/MAX3111Eint */
Interrupt service routine called when the MAX3110EMAX3111E's INT pin falls to a
int rxdata;
int txdata;
char c;
/* issue a READ DATA command to discover the cause of the interrupt */
rxdata = MAX3110E/MAX3111E ( 0 );
if ( rxdata & 0x8000 )
{
}
if ( rxdata & 0x4000 )
{
}
c = rxdata & 0x00FF; /* get the received character data */
EnQueue ( rxqueue, c );
if ( IsQueueEmpty ( txqueue ) )
{
}
else /* transmit some data */
{
}
/* mask the transmit-buffer-empty interrupt */
config = config & ~ 0x0800; /* clear the TM bit */
config = config | 0xC000; /* set bits 15 and 14 */
MAX3110E/MAX3111E ( config );
/* issue a WRITE DATA command */
txdata = DeQueue ( txqueue );
c = txdata & 0x00FF; /* get the transmit character */
MAX3110E/MAX3111E ( 0x8000 | c );
/* the R bit = 1 */
/* the T bit = 1 */
MAX3110E/MAX3111E
29

Related parts for MAX3110EEWI-T