This is out of a program I use - 
Enter code here...    
uint32_t *clock_gpio3;
clock_gpio3 = (uint32_t *) mmap(NULL, 0x1000, PROT_READ | PROT_WRITE, 
MAP_SHARED, fd, 0x44E00000);
clock_gpio3[0x2d] |= 0x40002; // 2d is b4 divide by 4 because it is a byte 
offset





   

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to