| Electronic Components Datasheet Search |
|
AM8530 Datasheet(PDF) 190 Page - Advanced Micro Devices |
|
|
|||||||||||||||||||||||||||||
AM8530 Datasheet(HTML) 190 Page - Advanced Micro Devices |
|
190 / 194 page ![]() SCC Application Notes AMD 7–41 var_nam = scanf(“%s”, string1); result = strcmp(string1,”N”); res = strcmp(string1,”n”); } while(result!=0 && res!=0); } /*THIS ROUTINE SETS A VALUE FOR THE STARTING ADDRESS AND ALLO- CATES SPACE IN MEMORY TO ACCOMMODATE ENTIRE LENGTH OF FILE*/ opnfile() { extern char *alloc( ); unsigned int i; ptr = alloc(num); for(i=0; i<num; i++) *(ptr+i)=’\0’; ptr—; num = num + 1; adrr = 01; segread(&rv); data_segment = rv.sds; data_seg = data_segment << 4; adrr = data_seg + (long int) ptr; } /*THIS ROUTINE INITIALIZES THE 8530 FOR RECEIVE*/ sccinit() { unsigned char array[arraysize]; /*array to initialize SCC reg- isters*/ unsigned int i=0; unsigned char temp; /*temporary storage for transmit/receive characters*/ array[0]=0x9; array[1]=0xC0; /*hardware reset the 8530*/ array[2]=0x4; array[3]=0x20; /*x1 clock, SDLC mode, parity disable*/ array[4]=0x1; array[5]=0x40; /*choose DMA request on receive*/ array[6]=0x3; array[7]=0xFC; /*Rx 8 bits/char, autoenabled, hunt mode, receive crc enable*/ array[8]=0x5; array[9]=0x63; /*Tx 8 bits/char, RTS enabled, TxCRC enabled*/ array[10]=0x6; array[11]=0x02; /*address for this device is 01*/ array[12]=0x7; array[13]=0x7E; /*SDLC flag pattern 01111110*/ array[14]=0x9; array[15]=0x02; /*No vector is returned*/ array[16]=0xA; array[17]=0x00; /*Send CRC and Flag on underrun, do not abort*/ array[18]=0xB; array[19]=0x08; /*rec. clock=RTxC pin, Transmit clk=TRxC pin*/ array[20]=0xE; array[21]=0x00; array[22]=0x3; |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |