[an error occurred while processing this directive]
|
// #############################################################################
typedef void( *FUNCTION )( void );void Lab_1( void ){....}
void Lab_2( void ){....}
void Lab_3( void ){....}
void Lab_4( void ){....}
void Lab_5( void ){....}
void Lab_6( void ){....}
void Lab_7( void ){....}
void Lab_8( void ){....}const FUNCTION func[] = { Lab_1, Lab_2, Lab_3, Lab_4, Lab_5, Lab_6, Lab_7, Lab_8 };
void InterruptRoutine( void ){
static int a;
func[a++ & 0x07]();
}
#############################################################################
E-mail: info@telesys.ru