DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

AM85C30(1992) 查看數據表(PDF) - Advanced Micro Devices

零件编号
产品描述 (功能)
生产厂家
AM85C30
(Rev.:1992)
AMD
Advanced Micro Devices AMD
AM85C30 Datasheet PDF : 194 Pages
First Prev 191 192 193 194
SCC Application Notes
AMD
for(i=0; i < num; i++)/*process the loop until all char are
received*/
{
rx = 0;
while(rx==0)
{
temp = inportb(aport);/*load RR0 to check for rec. char
available*/
rx = temp & 0x01;
}
*ptr = inportb(aportd);/*Input a char from the rec. FIFO*/
ptr++;
}
ptr = ptr – num;
/*Restore inital value of pointer*/
}
/*RECEIVE LENGTH OG FILE ASYNCHRONOUSLY AT 19.2 kBaud*/
recnum()
{
unsigned char temp, rx;
unsigned int i, count;
for(i=0; i < 0x03; i++)/*process the loop until all char are
received*/
{
rx = 0;
while(rx==0)
{
temp = inportb(aport);/*load RR0 to check for rec. char
available*/
rx = temp & 0x01;
}
*ptr = inportb(aportd);/*Input a char from the rec. FIFO*/
ptr++;
}
ptr = ptr – 0x03;
;
..................................................................
............
7–45

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]