參數(shù)資料
型號: MAX3110ECNI+G36
廠商: Maxim Integrated Products
文件頁數(shù): 21/31頁
文件大?。?/td> 0K
描述: IC TXRX RS232 SPI W/CAP 28-DIP
產(chǎn)品培訓模塊: Lead (SnPb) Finish for COTS
Obsolescence Mitigation Program
標準包裝: 14
特點: 收發(fā)器
通道數(shù): 1,UART
規(guī)程: RS232,RS485
電源電壓: 4.5 V ~ 5.5 V
帶IrDA 編碼器/解碼器:
帶故障啟動位檢測功能:
帶CMOS:
安裝類型: 通孔
封裝/外殼: 28-DIP(0.300",7.62mm)
供應商設備封裝: 28-PDIP
包裝: 管件
產(chǎn)品目錄頁面: 1404 (CN2011-ZH PDF)
SPI/MICROWIRE-Compatible UART and ±15kV ESD-
Protected RS-232 Transceivers with Internal Capacitors
This is a C-language outline of an interrupt-driven software driver that interfaces
to a MAX3110E/MAX3111E, providing an intermediate layer between the bit-manipulation
subroutine and the familiar PutChar / GetChar subroutines.
User must supply code for managing the transmit and receive queues, as well as the
low-level hardware interface itself.
The interrupt control hardware must be
initialized before this driver is called.
char is an 8 bit character.
int is a 16 bit unsigned integer.
& is the bitwise Boolean AND operator.
| is the bitwise Boolean OR operator.
/* High level interface routine to put a character to the MAX3110E/MAX3111E. */
PutChar ( char c )
{
EnQueue ( txqueue, c );
/* enable the transmit-buffer-empty interrupt */
config = config | 0x0800; /* set the TM bit */
config = config | 0xC000; /* set bits 15 and 14 */
MAX3110E/MAX3111E ( config );
}
/* High level interface routine to get a character from the MAX3110E/MAX3111E.
** Wait for a character to be received, if necessary.
*/
char GetChar ( )
{
while ( IsQueueEmpty ( rxqueue ) )
/* wait for data to be received */ ;
return DeQueue ( rxqueue );
}
/* Configure the MAX3110E/MAX3111E with the specified baud rate.
*/
ConfigureMAX3110E/MAX3111E ( int baud_rate_index )
{
baud_rate_index = baud_rate_index & 0x000F; /* restrict to a 4 bit field */
config = 0xC400 + baud_rate_index; /* enable received data interrupt */
MAX3110E/MAX3111E ( config );
}
/* private variable that stores the configuration settings for the MAX3110E/MAX3111E
*/
int config;
/* Low level communication routine between the computer and the MAX3110E/MAX3111E.
** This is a PRIVATE routine to be used only within the driver software.
*/
int MAX3110E/MAX3111E ( int mosi )
{
int miso;
/* this is interface-specific.
** Transmit 16 bits of master-out, slave-in data, MSB first,
** while simultaneously receiving 16 bits of master-in, slave-out data.
** If and SPI hardware interface is available, use (CPOL=0,CPHA=0) mode.
** Lacking specialized hardware, just set and clear I/O bits to generate
** the waveform in figures 2 and 3 in the MAX3110E/MAX311E data sheet.
*/
return miso; /* return 16 bits of master-in, slave-out data, MSB first */
}
Listing 1. Outline for a MAX3110E/MAX3111E Software Driver
28
Maxim Integrated
MAX3110E/MAX3111E
相關(guān)PDF資料
PDF描述
ATMEGA164PA-MCHR MCU AVR 16KB FLASH 20MHZ 44-VQFN
SC16C654BIBS,551 IC UART QUAD W/FIFO 48-HVQFN
SC16C654BIBS,528 IC QUAD UART 64BYTE 48HVQFN
SCC2681AC1N40,112 IC UART DUAL 40-DIP
SC16IS760IBS,151 IC UART I2C/SPI 24-HVQFN
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MAX3110ECWI 功能描述:UART 接口集成電路 RoHS:否 制造商:Texas Instruments 通道數(shù)量:2 數(shù)據(jù)速率:3 Mbps 電源電壓-最大:3.6 V 電源電壓-最小:2.7 V 電源電流:20 mA 最大工作溫度:+ 85 C 最小工作溫度:- 40 C 封裝 / 箱體:LQFP-48 封裝:Reel
MAX3110ECWI+ 制造商:Maxim Integrated Products 功能描述:LINE TRNSCVR 2TR 2TX 2RX 28SOIC W - Bulk
MAX3110ECWI+G36 功能描述:UART 接口集成電路 5V SPI/uWire Compatible RoHS:否 制造商:Texas Instruments 通道數(shù)量:2 數(shù)據(jù)速率:3 Mbps 電源電壓-最大:3.6 V 電源電壓-最小:2.7 V 電源電流:20 mA 最大工作溫度:+ 85 C 最小工作溫度:- 40 C 封裝 / 箱體:LQFP-48 封裝:Reel
MAX3110ECWI+T 功能描述:UART 接口集成電路 RoHS:否 制造商:Texas Instruments 通道數(shù)量:2 數(shù)據(jù)速率:3 Mbps 電源電壓-最大:3.6 V 電源電壓-最小:2.7 V 電源電流:20 mA 最大工作溫度:+ 85 C 最小工作溫度:- 40 C 封裝 / 箱體:LQFP-48 封裝:Reel
MAX3110ECWI+TG36 功能描述:UART 接口集成電路 5V SPI/uWire Compatible RoHS:否 制造商:Texas Instruments 通道數(shù)量:2 數(shù)據(jù)速率:3 Mbps 電源電壓-最大:3.6 V 電源電壓-最小:2.7 V 電源電流:20 mA 最大工作溫度:+ 85 C 最小工作溫度:- 40 C 封裝 / 箱體:LQFP-48 封裝:Reel