Beispiel #1
0
void initIRQ(void){
  SET_IRQ_VECTOR(ML13_interrupt, 0x3FF2);
  __asm(" CLI");
  REG8(ML13_IRQ_Control)= 0x01;
  timerSetup();
  puts("IRQ has been initiated");
}
Beispiel #2
0
void setup(void) {

	SET_IRQ_VECTOR(ML13_interrupt, VECTOR_ADDRESS);
	__asm("CLI");
	REG8(IRQ)= 0x00;
}