cancel
Showing results for 
Search instead for 
Did you mean: 

Writing a value to EXTI->PR

stenasc
Senior
Posted on March 26, 2014 at 09:06

Hi,

Fundamental question here, so please pardon my ignorance.

In my interrupt routine I need to modify the EXTI->PR register, however when I set it using the following,

EXTI->PR = 0x00000400

After printing out the value, I see it has been changed to 0x00000200 or it may be cleared

giving 0x00000000.

The interrrupt routine is only entered once as the print statment is only displayed once. Is this the proper syntax to write to EXTI_>PR EXTI-PR?

Is this register even read/writeable?

Many Thanks

Bob
1 REPLY 1
stenasc
Senior
Posted on March 26, 2014 at 13:59

sorted...writing a 0 to a bit doesn't do anything !!!