Motorola MC68328 Información técnica Pagina 31

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 44
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 30
Software Development
Porting FLEX One-Way Stack to the MC68328 MPU
FLEX Alphanumeric Chip MC68175 Interface 3-13
/*
* This is when FLEXstack sends packets to configure FLEXchip IC.
* gInitCount keeps track of the number of configuration packets.
* Data received from FLEXchip during the configuration process
* is ignored
*/
if (gFlag1 & INITCHIP) {
gInitCount--;
if (gInitCount == 0) {
gFlag1 &= CLEAR_INITCHIP;
gPackWrite = gPackRead;
}
}
/*
* If this is the part ID packet, call FLEXstack function to process
* the part ID packet to come up with the correct Checksum packet.
*/
if (!(BTST(gFlag1,DISPART_FIRST_f1)))
FLEXstack();
gFlag1 &= CLEAR_CMDOUT;
gFlag1 |= XFERDONE;
/* At the end of the interrupt service routine, we deselect
the FLEXchip IC */
portj_dat = (UVAR8 *) PJDATA;
*portj_dat |= DESELECT_SS;
}
Example 3-2 Function FLEX IC Handler (Continued)
Frees
cale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Vista de pagina 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 43 44

Comentarios a estos manuales

Sin comentarios