码迷,mamicode.com
首页 >  
搜索关键字:register    ( 3875个结果
PPZ之串口获取IMU
?? 1,rotocraft/main函数  main_init()   (1)各设备初始化   (2)register timers for the periodic functions    其中有telemetry_tid  while(1){   handle_periodic_tasks()    其中,该函数的实现里有:     if (sys_time_check_...
分类:其他好文   时间:2014-11-21 23:19:54    阅读次数:347
详解spl_autoload_register()函数
在了解这个函数之前先来看另一个函数:__autoload。 一、__autoload 这是一个自动加载函数,在PHP5中,当我们实例化一个未定义的类时,就会触发此函数。看下面例子: printit.class.php index.php doPrint();?> 运行index.ph...
分类:其他好文   时间:2014-11-20 20:03:48    阅读次数:190
AVR第5课:蜂鸣器
以下是蜂鸣器的电路图。 代码:蜂鸣器代码。 /* *info:buzzer *author:chenlu *date:2014.11.20 */ //input the head file so that the program can work normally //iom16v---know the register //macros---know the BIT(x) #i...
分类:其他好文   时间:2014-11-20 12:04:44    阅读次数:193
驱动笔记 - 字符设备常用函数
字符设备:静态申请设备号int register_chrdev_region(dev_t from, unsigned count,const char *name)申请使用从from开始的count个设备号(主设备号不变,次设备号增加)from:希望申请使用的设备号count:希望申请使用的设备号...
分类:其他好文   时间:2014-11-19 23:52:46    阅读次数:177
[com.alibaba.druid.stat.DruidDataSourceStatManager.addDataSource(DruidDataSourceStatManager.java:154
阿里巴巴数据库连接池Druid的register mbean error异常说明和解决方法...
分类:编程语言   时间:2014-11-19 01:54:50    阅读次数:580
php 设计模式-观察者模式
刚刚研究完观察者设计模式,yii2随处用到的东西,记录竟总结一下,可能印象会更深一些/** * 观察者模式 */ class Father{ private $_observers = array(); public function register($sub){ /* 注册观察者...
分类:Web程序   时间:2014-11-18 23:03:50    阅读次数:230
记录entityframework生成的sql语句
Interceptors (EF6.1 Onwards)Starting with EF6.1 you can register interceptors in the config file. Interceptors allow you to run additional logic when ...
分类:数据库   时间:2014-11-18 17:26:31    阅读次数:347
uio驱动中multi-instance的问题分析
首先我们来看问题的背景,上层的encoder/decoder的工作流程是这样的:Work procedure1. Open the uio0 device to get the fd2. Get the VPU register base address, work buffer and SRAM ...
分类:其他好文   时间:2014-11-18 14:45:13    阅读次数:314
C/C++ auto, static , register , extern 区别
先说几个概念: 1.从变量的生存期来分,可以分为 静态存储方式 和 动态存储方式 静态存储方式:程序运行期间由系统分配固定的存储空间的方式(全局变量) 动态存储方式:程序运行期间根据需要动态的分配存储空间的方式(1.函数形参,2自动变量,3函数调用时的现场保护盒返回地址) 2.数据存储类别包含四种:auto(自动), static (静态), register (寄存器), extern (外部)...
分类:编程语言   时间:2014-11-16 13:27:29    阅读次数:282
为OpenEdx中lms注册模块扩展字段
最近遇到需求,需要扩展注册的字段,例如新增手机mobile字段1、打开register.html文件 路径为\edxapp\edx-platform\lms\templates\register.html 如下图位置添加手机部分 2、找到\edxapp\edx-platform\common\dja...
分类:其他好文   时间:2014-11-14 12:12:23    阅读次数:240
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!