AN2573 Freescale Semiconductor / Motorola, AN2573 Datasheet - Page 14

no-image

AN2573

Manufacturer Part Number
AN2573
Description
LINkits LIN Evaluation Boards
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2573/D
/*****************************************************************************
void InitDelay(unsigned int busfreq)
{
}
/*****************************************************************************
#pragma TRAP_PROC
void RTI_ISR( void )
{
14
* Function:
*
* Description:
*
*
* Returns:
*
* Notes:
*
*
*****************************************************************************/
* Function:
*
* Description:
*
*
* Returns:
*
* Notes:
*
*
*****************************************************************************/
switch (busfreq)
{
}
/* Initialise RTI interrupt */
CRGINT = 0x80;
Time++;
case 40000: RTICTL = 0x44;
case 32000: RTICTL = 0x60;
case 16000: RTICTL = 0x50;
case 12000: RTICTL = 0x32;
case 8000:
case 4915:
case 4000:
default: break;
Delay
Initialise RTI for use in Delay() function
none
RTI_ISR
Handle RTI ISR
none
Freescale Semiconductor, Inc.
RTICTL = 0x40;
RTICTL = 0x14;
RTICTL = 0x30;
For More Information On This Product,
busfreq indicates the bus operating frequency in KHz
LINkits LIN Evaluation Boards
Go to: www.freescale.com
break;
break;
break;
break;
break;
break;
break;
Add one tick to time
MOTOROLA

Related parts for AN2573