English
Language : 

CD2481 Datasheet, PDF (72/222 Pages) Intel Corporation – Programmable Four-Channel Communications Controller
CD2481 — Programmable Four-Channel Communications Controller
‘xx’ indicates the code revision number. Contact Basis Communications InterNetworking Products
Applications Support at ‘dcom-support@corp.basiscomm.com’ for information on the latest
microcode image.
#include<stdio.h>
#include<errno.h>
#include<dos.h>
#include<string.h>
#include<alloc.h>
#include<stdlib.h>
#include“2481_regs.h”/* File containing CD2481 register definitions */
void dl_setup( )
{
outportb(btcr,0x01);/* stop the clock
*/
outportb(airl, 0xff);/* set jump 0x3fff instruction */
outportb(airm, 0x3f);
outportb(airh, 03);
outportb(mtcr, 0x01);/* select auxiliary instruction */
outportb(btcr, 0x03);/* do single step twice */
outportb(btcr, 0x03);
outportb(mtcr, 0x02);/* select data write mode - download */
}
void dload(ifp)
FILEifp;
{
registerint i = 0;
int
code1, code2, code3;
char *adrptr, *ptr;
char *strchr( ), *strtok( );
char buffer[120];
/* Read data from file and separate into two byte-wide and one */
/* 2-bit wide segments and place in aux. instruction registers. */
72
Datasheet