转自:http://blog.csdn.net/xyyangkun/article/details/7830149 版权声明:本文为博主原创文章,未经博主允许不得转载. 这是在mini6410上测试成功的,在没有驱动的情况下用程序直接控制了led灯test_mmap.c: /* Example how to access the value of the on-board DIP switches on * HiCO.SH7760. You can compile the program wit