虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

gpio-OUT

  • String int 字符串常量池 包装类型 函数参数 值传递引用传递 的 内存分配例子——源码 代码段: public static void fun_ref (Ref_test ref_

    String int 字符串常量池 包装类型 函数参数 值传递引用传递 的 内存分配例子——源码 代码段: public static void fun_ref (Ref_test ref_out){ Ref_test ref_in=new Ref_test() ref_in.s1="in" //ref_out.s1="out" ref_out=ref_in //漏洞!!ref_out 指向ref_in , //那么当函数退出后,ref_out就会自动指向原来的堆!!! System.out.println("fun_ref() ref_out.s1="+ref_out.s1) }

    标签: Ref_test fun_ref String public

    上传时间: 2013-12-27

    上传用户:ls530720646

  • java 线程 静态锁

    java 线程 静态锁,对象锁, synchronized 是锁方法还是锁对象?还是锁类?如何实现?? 部分代码如下, public static Object lock=new Object() //静态锁,锁类,不是锁对象了!!所以两个线程同时 运行两个 TestThread 的execute( ),也可以同步!!! public void execute(){ // synchronized(lock){ for(int i=0 i<20 i++){ try { Thread.sleep(30) } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace() } System.out.println(Thread.currentThread().getName()+Thread.currentThread ().getName()+" "+i) } } }

    标签: java 线程

    上传时间: 2017-07-15

    上传用户:lijianyu172

  • fantastic j2me user interface designer for midp2.0 cldcd 1.1. Works on many phones as a generic appl

    fantastic j2me user interface designer for midp2.0 cldcd 1.1. Works on many phones as a generic application. This is not my own software but for those who don t know it already: check it out. There s a super cool sample application that shows you all of the amazing possibilities for your phone.

    标签: fantastic interface designer generic

    上传时间: 2014-01-17

    上传用户:ecooo

  • 基于UCOS-II操作系统

    基于UCOS-II操作系统,在ARM7上实现GPIO和SPI的设计。所上传的为完整的工程。

    标签: UCOS-II 操作系统

    上传时间: 2013-12-15

    上传用户:qweqweqwe

  • ARM9系列单片机

    ARM9系列单片机,GPIO输出控制实验

    标签: ARM9 单片机

    上传时间: 2017-07-22

    上传用户:宋桃子

  • Two scripts are included here. 1. convsys.m - combines the state space representation of two syst

    Two scripts are included here. 1. convsys.m - combines the state space representation of two systems connected in series. [Ao,Bo,Co,Do]=convsys(A1,B1,C1,D1,A2,B2,C2,D2) This algorithm gives the convolution of two state space representations | A1 B1 | | A2 B2 | u ==> | | ==> | | ==> y | C1 D1 | | C2 D2 | The algorithm also accepts state space objects as inputs and gives out a state space object as output. 2. sysfeedbk.m [Ao,Bo,Co,Do]=convsys(A1,B1,C1,D1,A2,B2,C2,D2) Gives the closed loop state space representation for two systems connected with negative feedback in the following manner. | A1 B1 | u ==> | | ==> y + o | C1 D1 | | - | | | | A2 B2 | | |= | |= | | C2 D2 | The zip file also contains checkcompatibility.m , which checks the compatibility of matrix dimensions in the system and cleanss.m which can be used to clean a state space representation.

    标签: representation included combines scripts

    上传时间: 2017-07-25

    上传用户:semi1981

  • After decades of war one company, who had gained powerful supplying both sides with weaponary, steps

    After decades of war one company, who had gained powerful supplying both sides with weaponary, steps forwards and crushes both warring factions in one swift movement. Using far superior weaponary and AI craft, the company was completely unstoppable and now no one can stand in their way. Thousands began to perish under the iron fist of the company. The people cried out for a saviour, for someone to light this dark hour... and someone did.

    标签: supplying weaponary powerful decades

    上传时间: 2013-12-02

    上传用户:cx111111

  • Enlarge java script is used to enlarge a picture in to the original size, and gives the flexibility

    Enlarge java script is used to enlarge a picture in to the original size, and gives the flexibility on mouse over and mouse out.

    标签: flexibility the original Enlarge

    上传时间: 2014-01-16

    上传用户:ljmwh2000

  • 基于《Stellaris外设驱动库》的例程:定时器32位周期定时示例 请掌握以下库函数的用法: TimerConfigure() TimerLoadSet() TimerEnable

    基于《Stellaris外设驱动库》的例程:定时器32位周期定时示例 请掌握以下库函数的用法: TimerConfigure() TimerLoadSet() TimerEnable()/TimerDisable() TimerIntEnable() TimerIntStatus() TimerIntClear() 本实验实现了如何定时器产生周期性中断。定时器被设置为每秒产生2次中断,在每次进入中断处理程序中时都翻转一侧对应的GPIO端口。LED1指示灯指示了每次中断及中断的速率。

    标签: TimerConfigure TimerLoadSet TimerEnable Stellaris

    上传时间: 2013-12-29

    上传用户:waitingfy

  • 1、将makefile中的 CROSS =/usr/local/arm/2.95.3/bin/arm-linux- CFLAGS+=-I/usr/local/src/2.4.18-rmk7/inc

    1、将makefile中的 CROSS =/usr/local/arm/2.95.3/bin/arm-linux- CFLAGS+=-I/usr/local/src/2.4.18-rmk7/include CFLAGS+=-I/usr/local/src/2.4.18-rmk7/include/linux CFLAGS+=-I/usr/local/arm/2.95.3/arm-linux/include 路径改为你宿主机上的。 2、#make,来编译驱动模块。 3、#export PATH=$PATH:/usr/local/arm/2.95.3/bin //取决于你宿主机上的交叉编译工具路径 #arm-linux-gcc -o gpio_test gpio_test.c //编译应用程序 最终在你的当前文件夹下会生成gpiodrv.o与gpio_test两个文件。 4、#mkdir /tmp/1 5、通过ftp的方法,把gpio_test与gpiodrv.o文件下载到你的开发板上的/tmp/1目录中。 6、#mknod /dev/gpio c 220 0 //创建文件节点 #insmod gpiodrv.o #chmod +x gpio_test #./gpio_test 然后,就可以看到四个LED灯在闪烁了。:)

    标签: local arm-linux usr makefile

    上传时间: 2017-08-03

    上传用户:zhouchang199