#include "stm32fxx_STUaddressing.h" volatile uint32_t testCell_1 __attribute__((at(0x20000600))); //¡À?D??¨²Zero??,¡¤??¨°¡À¨¤¨°??¨¢¨¬¨¢¨º??¨²¡ä?3?¨ª? volatile uint32_t testCell_2 __attribute__((at(0x20000610))); uint8_t STU_AddressingTest(void) { uint32_t tmpData; testCell_1 = 0x55555555; testCell_2 = 0xAAAAAAAA; tmpData = testCell_1; if( tmpData != 0x55555555 ) { /*err*/ return(ERROR); } tmpData = testCell_2; if( tmpData != 0xAAAAAAAA ) { /*err*/ return(ERROR); } testCell_1 = 0xAAAAAAAA; testCell_2 = 0x55555555; tmpData = testCell_1; if( tmpData != 0xAAAAAAAA ) { /*err*/ return(ERROR); } tmpData = testCell_2; if( tmpData != 0x55555555 ) { /*err*/ return(ERROR); } testCell_1 = 0x55555555; testCell_2 = 0xAAAAAAAA; tmpData = testCell_1; if( tmpData != 0x55555555 ) { /*err*/ return(ERROR); } tmpData = testCell_2; if( tmpData != 0xAAAAAAAA ) { /*err*/ return(ERROR); } return(SUCCESS); }