MC68MH360RC25L Freescale Semiconductor, MC68MH360RC25L Datasheet - Page 105

no-image

MC68MH360RC25L

Manufacturer Part Number
MC68MH360RC25L
Description
IC MPU QUICC 25MHZ 241-PGA
Manufacturer
Freescale Semiconductor
Datasheets

Specifications of MC68MH360RC25L

Processor Type
M683xx 32-Bit
Speed
25MHz
Voltage
5V
Mounting Type
Surface Mount
Package / Case
241-PGA
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Features
-
}
#pragma interrupt()
void SCC1esr()
{
/* SCCE1 is cleared from reset */
poem[3] = "Couldn't put Humpty together again\n\r";
poem[4] = "";
poem[5] = "";
linecntr = 0;
for (linecntr = 0; linecntr < 4; linecntr++)
{
pointer */
init xmit cnt */
}
for (v1 = 0; v1 < 3; v1++)
{
}
pdpr->SCCM1 = 0xF;
pdpr->CIMR.SCC1 = 1;
pdpr->GSMR_L1.ENR = 1;
pdpr->GSMR_L1.ENT = 1;
while (pdpr->GSMR_L1.ENR == 1 | pdpr->GSMR_L1.ENT == 1)
asm (" stop #$2000");
short er;
asm(" move.w #$2300,sr");
er = pdpr->SCCE1;
pdpr->SCCE1 = er;
if ((er & 8) == 8)
chbd[linecntr].xmitbd0.txbdptr = poem[linecntr];/*
chbd[linecntr].xmitbd0.txbdcnt = strlen(poem[linecntr]) + 1;/*
chbd[linecntr].xmitbd0.txbdsac.R = 1;/* set xmit in BD */
pdpr->ch[v1].CHAMR.MODE = 1;
pdpr->ch[v1].CHAMR.IDLM = 0;
pdpr->ch[v1].CHAMR.ENT = 1;
pdpr->ch[v1].CHAMR.CRC = 1;
pdpr->ch[v1].CHAMR.NOF = 7;
pdpr->ch[v1].CHAMR.POL = 1;
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
Chapter 6. QMC Initialization
/* init line counter */
/* enable all intrpts */
/* SCC1 interrupts enabled */
/* enable receiver */
/* enable transmit */
/* stop for next interrupt */
/* make function an exception sr */
/* SCC1 exception service rtn */
/* event register scratchpad loc */
/* decrement interrupt mask level */
/* init event register scratchpad */
/* clear event register */
/* if interrupt table overflow */
/* select HDLC */
/* no idles between frames */
/* enable channel xmit */
/* select 32-bit CRC */
/* 7 flags between frames */
/* enable polling by RISC */
init
xmit

Related parts for MC68MH360RC25L