MCB517AC Evaluation Board User’s Guide
47
/*-----------------------------------------------------------------------
BANK3.C
Copyright 1997 KEIL Software, Inc.
------------------------------------------------------------------------*/
#include <reg517.h>
extern void func4(void);
void func3(void) {
P4 |= 0x08; /* switch LED on */
func4(); /* FUNCTION IN BANK 3 CALLS A FUNCTION IN BANK 4 */
P4 &= ~0x08; /* switch LED off */
}
/*-----------------------------------------------------------------------
BANK4.C
Copyright 1997 KEIL Software, Inc.
------------------------------------------------------------------------*/
#include <reg517.h>
extern void func5(void);
void func4(void) {
P4 |= 0x10; /* switch LED on */
func5(); /* FUNCTION IN BANK 4 CALLS A FUNCTION IN BANK 5 */
P4 &= ~0x10; /* switch LED off */
}
/*-----------------------------------------------------------------------
BANK5.C
Copyright 1997 KEIL Software, Inc.
------------------------------------------------------------------------*/
#include <reg517.h>
void func5(void) {
P4 |= 0x20; /* switch LED on */
P4 &= ~0x20; /* switch LED off */
}
Содержание MCB517AC
Страница 6: ...vi Contents...
Страница 23: ...MCB517AC Evaluation Board User s Guide 17 Schematics...
Страница 24: ...18 Chapter 3 Hardware...
Страница 25: ...MCB517AC Evaluation Board User s Guide 19...
Страница 26: ...20 Chapter 3 Hardware...
Страница 27: ...MCB517AC Evaluation Board User s Guide 21 Printed Board Assembly...
Страница 32: ...26 Chapter 3 Hardware...
Страница 34: ......