EMI_INIT LDR r0, =GPIO2_Base_addr LDR r2, [r0, #PC0_off_addr] ORR r2, r2,#0x000000FF STR r2, [r0, #PC0_off_addr] LDR r2, [r0, #PC1_off_addr] ORR r2, r2,#0x000000FF STR r2, [r0, #PC1_off_addr] LDR r2, [r0, #PC2_off_addr] ORR r2, r2,#0x000000FF STR r2, [r0, #PC2_off_addr] LDR r0, =EMI_Base_addr LDR r1, =0x3C:OR:EMI_ENABLE:OR:EMI_SIZE_16 ///0x3C 0x38 0x34 ...(-4)... 0x04 STR r1, [r0, #BCON0_off_addr] ; LDR r1, =0x3C:OR:EMI_ENABLE:OR:EMI_SIZE_16 ///0x3C 0x38 0x34 ...(-4)... 0x04 STR r1, [r0, #BCON1_off_addr] LDR r1, =0x3C:OR:EMI_ENABLE:OR:EMI_SIZE_16 ///0x3C 0x38 0x34 ...(-4)... 0x04 STR r1, [r0, #BCON2_off_addr] ; LDR r1, =0x3C:OR:EMI_ENABLE:OR:EMI_SIZE_16 ///0x3C 0x38 0x34 ...(-4)... 0x04 STR r1, [r0, #BCON3_off_addr] |