@ ------------------------------------------------------------------------------------ LDR R3,=LPC_ADC_BASE @ set up A/D for repeated conversions LDR R2,=0x137CF @ divide by 56, Channels 0,1,2,3,6,7 STR R2,[R3,CR] MOVS R2,#0b10000000 @ interrupt when AD7 has finished STR R2,[R3,INTEN] LDR R3,=LPC_GPIO0_BASE @ send short pulse to PIO0_2 MOVS R2,#0 STR R2,[R3,#0b10000] MOVS R2,#0b100 STR R2,[R3,#0b10000] LDR R3,=ISER LDR R2,=1<24 STR R2,[R3] |