1/1
Hardware interrupt not working
by scorpion on Oct 28, 2020 |
scorpion
Posts: 5 Joined: Jan 19, 2012 Last seen: Mar 30, 2021 |
||
I'm running OpenMSP430 in Vivado. I am simply trying to implement a button.
P1DIR = 0x00; P1IE = 0x01; P1IES = 0x00; P1IFG = 0x00; interrupt(PORT1_VECTOR) port1_isr(void) { P3OUT=40; P1IFG &= ~0x01; } Setting a constant value on p1_din does not change the value of P3OUT though. What could be causing this. Maybe my PMEM and DMEM configurations? |
1/1