參數(shù)資料
型號: AM8530
廠商: Advanced Micro Devices, Inc.
英文描述: Serial Communications Controller
中文描述: 串行通信控制器
文件頁數(shù): 186/194頁
文件大?。?/td> 797K
代理商: AM8530
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁當(dāng)前第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁
SCC Application Notes
AMD
7–37
unsigned int lsb, temp, msb, latch, wrdh, wrdl, tmp1, start;
unsigned int bytn, byt, tmp2;
outportb(0x09, 0x01); /*clear all DMA requests on channel 1*/
outportb(0x0A, 0x05); /*mask channel 1 DMA request*/
outportb(0x0B, 0x49); /*mode register for single transfer mode,
read, auto init, address increment*/
lsb = adrr & 0xFF;
temp = adrr >> 0x08;
/*rotate ptr 8 bits to get msb*/
msb = temp & 0xFF;
temp = temp >> 0x08;
/*rotate 8 bits to get sector address*/
latch = temp & 0x0F;
outportb(0x81, latch);/*load sector address into DMA page reg-
ister*/
outportb(0x02, lsb);
/*lower byte of starting address*/
outportb90x0B, msb);
/*upper byte of starting address*/
start = adrr & 0xFFFF;
bytn = 0x03:
/*address and 2 bytes for length are
transmit*/
wrdl = bytn & 0xFF
/*lower order byte of wordcount*/
tmp1 = bytn >> 0x08;
/*rotate wordcount 8 bits for msb*/
wrdh = tmp1 & 0xFF:
/*upper byte of wordcount*/
outportb(0x03, wrd1); /*this is the lower byte of # of bytes
that fit within the first sector*/
outportb(0x03, wrdh); /*upper byte of wordcount*/
outportb(0x0A, 0x01); /*enable DMA*/
outportb(port, 0x00);
outportb(port, 0xC0); /*reset transmit underrun latch*/
}
/*THIS ROUTINE INITIALIZES THE 9517 DMA CONTROLLER TO TRANSMIT
ENTIRE/
dminit()
{
unsigned int lsb, temp, msb, latch, wrdh, wrd1, tmp1, start;
unsigned int bytn, byt, tmp2;
outportb(0x09, 0x01); /*clear all DMA requests on channel 1*/
outportb(0x0A, 0x05); /*mask channel 1 DMA request*/
outportb(0x0B, 0x49); /*mode register for single transfer mode,
read, auto init, address increment*/
lsb = adrr & 0xFF;
temp = adrr >> 0x08;
/*rotate ptr 8 bits to get msb*/
latch = temp & 0x0F;
outportb(0x81, latch);/*load sector address into dma page reg-
ister*/
outportb(0x02, lsb);
/*lower byte of starting address*/
outportb(0x02, msb);
/*upper byte of starting address*/
start = adrr & 0xFFFF;
bytn = num;
wrd1 = bytn & 0xFF;
/*lower order byte of wordcount*/
tmp1 = bytn >> 0x08;
/*rotate wordcount 8 bits for msb*/
wrdh = tmp1 & 0xFF;
/*upper byte of wordcount*/
outportb(0x03, wrd1); /*this is the lower byte of # that fit
within the first sector*/
outportb(0x03, wrdh); /*upper byte of wordcount*/
outportb(0x04, 0x01); /*enable DMA*/
outportb(port, 0x00);
outportb(port, 0xC0); /*reset transmit underrun latch*/
}
cont()
/*arbitrary time delay routine*/
相關(guān)PDF資料
PDF描述
AM8530H Serial Communications Controller
AM85C30-10PC Enhanced Serial Communications Controller
Am85C30 Serial Communications Controller
AM85C30 Enhanced Serial Communications Controller
AM85C30-8PC Enhanced Serial Communications Controller
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AM8530ADC 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Communications Controller
AM8530ADCB 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Communications Controller
AM8530AJC 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Communications Controller
AM8530APC 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Communications Controller
AM8530DC 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Communications Controller