SI2493-C-FS Silicon Laboratories Inc, SI2493-C-FS Datasheet - Page 217

IC ISOMODEM SYSTEM-SIDE 16SOIC

SI2493-C-FS

Manufacturer Part Number
SI2493-C-FS
Description
IC ISOMODEM SYSTEM-SIDE 16SOIC
Manufacturer
Silicon Laboratories Inc
Datasheets

Specifications of SI2493-C-FS

Mfg Application Notes
SI2493/57/34/15/04, Appl Note AN93
Data Format
V.21, V.22, V.23, V.29, V.32, V.34, V.90, V.92, Bell 103, Bell 212A
Baud Rates
56k
Interface
UART
Voltage - Supply
3 V ~ 3.6 V
Mounting Type
Surface Mount
Package / Case
16-SOIC (3.9mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
SI2493-C-FSR
Manufacturer:
DY
Quantity:
8 623
Part Number:
SI2493-C-FSR
Manufacturer:
SIEMENS/西门子
Quantity:
20 000
{
}
// Check for a specific response in the input buffer, and return ptr to what
// follows. If this times out or ERRORs before the response is found then a
// NULL is returned; It keeps reading the ser channel while waiting
char *WaitForResponse(char *cpResponse, char *cpInputBuffer, int iTimeOutInMs)
{
{//copy the received bytes for late display
unsigned long ulNoOfbytes;
strcpy(cpOutBuffer, cpCommand);
WriteFile(hCom, (long *)cpOutBuffer, strlen((char *)cpOutBuffer),
if(iTimeoutMs)
if(!cpInBuffRd)
return cpInBuffRd;
unsigned long ulNoOfbytes;
clock_t
clock_t
// covert wait time in ms's to clock_t by mutiplying by CLOCKS_PER_SEC/1000
clock_t
int iPasses
int iCharCnt =0;
while(1)
cpInBuffRd = WaitForResponse(cpResponse, cpInBuffRd, iTimeoutMs);
exit(0);
{
*cpInputWr = 0;
char *cpFound = strstr(cpInputBuffer, cpResponse);
*cpInputWr = cTemp;
if(cpFound)
}
// Setup a 50 ms timeout for reads
sCOMMTIMEOUTS.ReadIntervalTimeout
sCOMMTIMEOUTS.ReadTotalTimeoutMultiplier
sCOMMTIMEOUTS.ReadTotalTimeoutConstant
sCOMMTIMEOUTS.WriteTotalTimeoutMultiplier = 0;
sCOMMTIMEOUTS.WriteTotalTimeoutConstant
char cTemp = *cpInputWr;
strncpy(cpInput_test, cpInputBuffer, iCharCnt);cpInput_test[iCharCnt]='\0';
return cpFound + strlen(cpResponse);
= 0;
sStartTime
sCurrentTime;
sWaitTime = (clock_t)(iTimeOutInMs*CLOCKS_PER_SEC)/1000;
// set to 0
&ulNoOfbytes, 0);
= clock();
Rev. 0.9
= 0;
= 0;
= 50;
= 0;
AN93
217

Related parts for SI2493-C-FS