Posted on May 17, 2011 at 10:00Hi,nle! I'm not goog at english, but i'll try my best to explain how to calculate it. 'DAISY_VIC()' it self has 5 instructions as follow: #define DAISY_VIC() __asm(''MOV r11, #0xFC000000''); \ __asm(''ADD r11, r11, #0x...
Posted on May 17, 2011 at 10:00Maybe like this: void EXTIT1_IRQHandler(void) { DAISY_VIC (); IENABLE; // your code IDISABLE; VIC1->VAR = 0xFF; } DAISY_VIC () is defined somewhere else: #define DAISY_VIC() __asm(''MOV r11, #0xFC000000''); __asm...
Posted on May 17, 2011 at 10:00Hello, everyone! Section 3.4 (page 11/15) wrote: ''Please note that the value 0x18 used in instruction ''ADD r11, r11, #0x18'' is only specific to the example code given here. The offset #0x18 will be dependent on the ...