AN2432 Freescale Semiconductor / Motorola, AN2432 Datasheet - Page 19

no-image

AN2432

Manufacturer Part Number
AN2432
Description
LIN Sample Application for the MC68HC908EY16 Evaluation Board
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Appendix IIb – vector.c
#define VECTOR_C
/******************************************************************************
*
*
*
* Functions:
*
* Description:
*
*
*
* Notes:
*
******************************************************************************/
#if defined(HC08)
#if defined(HC08EY16)
extern void LIN_ISR_SCI_Receive();
extern void LIN_ISR_SCI_Error();
extern void TimerB();
// extern void TimerB0();
// extern void BREAK_Command();
#endif /* defined(HC08EY16) */
/******************************************************************************
******************************************************************************/
#if defined(HICROSS08)
#define Node_Startup
extern void _Startup();
#endif
/******************************************************************************
******************************************************************************/
#if !defined(NULL)
#define NULL
#endif /* !defined(NULL) */
#undef
#if defined(HICROSS08)
#define LIN_VECTF ( void ( *const ) ( ) )
#pragma CONST_SEG VECTORS_DATA
void (* const _vectab[])( ) =
#endif
#if defined(HC08EY16)
MOTOROLA
NODE STARTUP
By default compiler startup routine is called.
User is able to replace this by any other routine.
INTERRUPT VECTORS TABLE
User is able to add another ISR into this table instead NULL pointer.
Copyright (C) 2001 Motorola, Inc.
/* defined(HICROSS08) */
LIN_VECTF
/* defined(HICROSS08) */
Vectors table for LIN08 Drivers with Motorola API
Vector table and node's startup for HC08.
The users can add their own vectors into the table,
but they should not replace LIN Drivers vectors.
(0)
LIN Sample Application for the MC68HC908EY16 Evaluation Board
_Startup
Freescale Semiconductor, Inc.
For More Information On This Product,
/* for HC08 */
/* ESCI receive ISR
/* ESCI error ISR
/* Timer Module B Overflow ISR - */
/* Timer Module B Channel 0 ISR */
/* SWI ISR
/* HiCross compiler startup routine declaration */
Go to: www.freescale.com
/* vectors segment declaration */
*/
*/
*/
Appendix IIb – vector.c
AN2432/D
19

Related parts for AN2432