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

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
SCC Application Notes
/*********************************************************************
/*
/*
/**************************************************************************
#include
#define
#define
#define
#define
#define
main ()
{
unsigned char table[tablesize];
unsigned long *ptspa, *ptdpa;
unsigned char value;
int i;
/* data table for initialization */
table[0]=0x9;
table[l]=0xC0;
table[2]=0x3;
table[3]=0x41;
table[4]=0x4;
table[5]=0x4C;
table[6]=0x5;
table[7]=0x28;
table[8]=0xB.
table[9]=0x56;
table[l0]=0xC;
table[ll]=0xC;
table[l2]=0xD;
table[13]=0;
table[l4]=0xE;
table[l5]=0x7;
/* output data from table to perfore initialization */
ptspa=spaddress;
ptdpa=dpaddress;
value=*ptspa;
for (i--0; i<tablesize; i++)
/* receive and echo character routine */
for (
{
;;)
"stdio.h"
spaddress
dpaddress
rxbit
txbit
tablesize
*ptspa=table[i];
while (((*ptspa) & rxbit) == 0); /* wait for receive ready bit */
value=*ptdpa;
while (((*ptspa) & txbit) == 0); /* wait for transmit ready bit */
*ptdpa--value'
(using pointer referring to memory map I/O device)
/* read status to set the set state machine */
Figure 7-10. SCC Initialization - Memory Mapped
Initializing the Z8530 asynchronuously
/* address WR9 */
/* hardware reset SCC */
/* address WR3 */
/* set # of bits etc. */
/* address WR4 */
/* misc mode */
/* address WR5 */
/* bits/char and TXEN */
/* address WRIi */
/* select baud generator */
/* address WR12 */
/* upper TC */
/* address WR13 */
/* lower TC */
/* address WR14 */
/* set DTR/REQ enable baud generator */
/* pointer to status port address */
/* pointer to data port address */
0x22FS5
0x22F87
2
1
16
/* perform initialization */
/* status port address */
/* dataport address */
/* receive ready bit */
/* transmit ready bit */
/* receive character */
/* transmit character */
AMD
7-19

Related parts for AM8530H