+INT0_IR_CONF_R:
+
+ ; trigger interrupt on rising edge
+ in tmp1,MCUCR
+ sbr tmp1,(1<<ISC01)
+ sbr tmp1,(1<<ISC00)
+ out MCUCR,tmp1
+
+ ret
+
+INT0_IR_CONF_F:
+
+ ; trigger interrupt on rising edge
+ in tmp1,MCUCR
+ sbr tmp1,(1<<ISC01)
+ cbr tmp1,(1<<ISC00)
+ out MCUCR,tmp1
+
+ ret