personal copy to test forking on mbed.org

Dependencies:   mbed

Fork of k64f_uuid by Sam Grove

main.cpp

Committer:
sam_grove
Date:
2014-07-08
Revision:
0:496297783a79
Child:
1:3166c3c53a37

File content as of revision 0:496297783a79:

#include "mbed.h"

uint32_t result[4];

int main() {
    unsigned int UUID_LOC = 0x40048054;
    int i = 3;
        
    for (; i>=0; --i) {
        result[i] = *(uint32_t *)UUID_LOC;
        printf("REG:%08x\tVAL:%08x\r\n", UUID_LOC, result[i]);
        UUID_LOC += 4;
    }
    
    error("exit\r\n");
    return *result;
}