How enable falling or rising externall interrupt in xmega ?
in microC is below
Code: Select all
PORTB_PIN0CTRL |= 1; // Set External Interrupt on rising edge
Thanks
Boguslaw
#1 Post by mototest » 07 Sep 2013 19:56
Code: Select all
PORTB_PIN0CTRL |= 1; // Set External Interrupt on rising edge
#2 Post by aCkO » 07 Sep 2013 20:04
Code: Select all
PORTB_PIN0CTRL = PORTB_PIN0CTRL or 1
Return to “mikroBasic PRO for AVR General”