AM8530H AMD [Advanced Micro Devices], AM8530H Datasheet - Page 183

no-image

AM8530H

Manufacturer Part Number
AM8530H
Description
Serial Communications Controller
Manufacturer
AMD [Advanced Micro Devices]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AM8530H--8PC
Manufacturer:
AMD
Quantity:
20 000
Part Number:
AM8530H-4DC
Manufacturer:
FC
Quantity:
13
Part Number:
AM8530H-4DC
Manufacturer:
AMD
Quantity:
802
Part Number:
AM8530H-4DCB
Manufacturer:
AMD
Quantity:
802
Part Number:
AM8530H-4JC
Manufacturer:
AMD
Quantity:
5 510
Part Number:
AM8530H-4JC
Manufacturer:
MOT
Quantity:
5 510
Part Number:
AM8530H-4JC
Manufacturer:
AMD
Quantity:
2 606
Part Number:
AM8530H-4JI
Manufacturer:
AMD
Quantity:
3 711
Part Number:
AM8530H-4PC
Manufacturer:
AMD
Quantity:
913
Part Number:
AM8530H-4PC
Manufacturer:
AMD
Quantity:
20 000
Part Number:
AM8530H-6JC
Manufacturer:
AMD
Quantity:
5 510
Part Number:
AM8530H-6JC
Manufacturer:
SIEMENS
Quantity:
5 510
Part Number:
AM8530H-6JC
Manufacturer:
AMD
Quantity:
20 000
Part Number:
AM8530H-6PC
Manufacturer:
AMD
Quantity:
20 000
AMD
SOFTWARE ROUTINES
Software to Transmit Data at 1 Mb/s Using DMA
#include “stdio.h”
#define arraysize 40
#define port 0x0382
#define aport 0x0380
#define aportd 0x0381
#define arraysiz 18
unsigned char *ptr;
unsigned int segread();
struct(int scs, sss, sds, ses; ) rv;
unsigned long int data_segment;
unsigned long int data_seg;
unsigned int num;
unsigned long int adrr;
main()
do
if(result != 0 && res != 0)
mit*/
else
7–34
/*TRANSMIT ROUTINE*/
{
unsigned char var_nam, string1[8], N, n;
unsigned int result, res;
{
/*This routine chooses between synchronous
printf(“Do you want to print a file(Y/N)? “);
var_nam = scanf(“%s”, string1);
result + strcmp(string1,”N”);
res = strcmp(string1,”n”);
while(result != 0 && != 0);
}
and asynchronous data transfers*/
{
/*Main routine for asynchronous data transfer*/
printf(“Asynch transmit\n”);
opnfile();
asccinit();
trnum();
cont();
atrans();
{
/*Main routine for synchronous data transfer*/
printf(“Synchronous transmit\n” );
opnfile();
sccinit();
dmainit();
cont();
dminit();
}
/*This allows the user to continue transmission of next
file*/
printf(“Do you want to transmit another file(Y/N)? “);
var_nam = scanf(“%s”, string1);
result = strcmp(string1,”N”);
res = strcmp(string1,”n”);
}
/*Read file from disk into system memory*/
/*Initialize the 8530 for asynchronous trans-
/*Transmit length of file*/
/*Transmit the entire file*/
/*size of array for the 8530 sync. init*/
/*I/O port address for the SCC channel A*/
/*I/O port address for 8530 channel B*/
/*I/O data address for 8530 channel B*/
/*size of array for the 8530 async. init*/
SCC Application Notes

Related parts for AM8530H