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

run-length

  • linux内核编程指南

    因此,您想编写一个内核模块。您知道C,您已经编写了一些可以作为进程运行的常规程序,现在您想知道真正的动作在哪里,一个通配指针可以擦掉文件系统,核心转储意味着重新启动。内核模块到底是什么?模块是可以根据需要加载和卸载的代码段。它们扩展了内核的功能,而无需重新引导系统。例如。模块驱动程序的一种类型是设备驱动程序,它允许内核访问没有模块的系统硬件,我们将不得不构建单片内核并将新功能直接添加到内核映像中,除了具有更大的内核之外,这还具有缺点每次我们想要新功能时都要求我们重建并重新启动内核的过程So, you want to write a kernel module. You know C, you, ve written a few normal programs to run as processes, and now you want to get to where the real action is, to where a single wild pointer can wipe out your file system and a core dump means a reboot.What exactly is a kernel module? Modules are pieces of code that can be loaded and unloaded into th upon demand. They extend the functionality of the kernel without the need to reboot the system. For example.one type of module is the device driver, which allows the kernel to access hardware connected to the syste without modules, we would have to build monolithic kernels and add new functionality directly into the em ernel image, Besides having larger kernels

    标签: linux

    上传时间: 2022-03-30

    上传用户:

  • 电流检测电路中运算放大器与ADC的设计

    电学中的测量技术涉及范围非常广,电流测量在电学计量中占有非常重要的位置。如何精确地进行电流测量是精密测量的一大难题。传统的电流检测电路多采用运算放大芯片与片外电流检测电路相结合的方式,电路集成度很低,需要较多的接口和资源才能完成对电路的检测。本文把所有电路部分都集成在一块芯片上,包括检测电阻,运算放大器电路及模拟转数字转换电路,从而在电路内部可以进行电流检测,使电路更好的集成化。前置电路使用二级共源共栅结构的运算放大器,减小沟道长度调制效应造成的电流误差。10位SAR ADC中采用电容驱动能力强的传输门保证了模数转化器的有效精度。比较器模块采用再生锁存器与迟滞比较器作为基础单元组合解决精密测量的问题。本设计可以作为嵌入芯片内的一小部分而检测芯片中的微小电流1mA~100mA,工作电压在1.8v左右,电流检测精度预期达到10uA的需求。The measurement technology in electricity involves a wide range,and current measurement plays a very important position in electrical measurement.How to accurately measure current is a big problem in precision measurement. The traditional current detecting circuit adopts the combination of the operational amplifier chip and theoff-chip current detecting circuit, The circuit integration is very low, and more interfaces and resources are needed tocomplete the circuit detection.This topic integrates all the circuit parts into one chip, including detection resistance, operational amplifier circuit andanalog to digital conversion circuit. Highly integrated circuit makes the external resources on the chip more intensive,so that current detection can be carried out inside the circuit, so that the circuit can be better integrated. Thefront-end circuit of this project uses two-stage cascade operational amplifier and cascade tube to reduce the currenterror caused by channel length modulation effect. In 10-bit SAR ADC, the transmission gate with strong capacitivedriving ability ensures the effective accuracy of the analog-to-digital converter. Comparator module uses regenerativelatch and hysteresis comparator as basic unit to solve the difficult problem of precision measurement. This topic can beused as a small part of the embedded chip to detect the micro-current in the chip 1 mA~100 mA, the working voltageis about 1.8v, and the current detection accuracy is expected to reach the requirement of 10 uA.

    标签: 电流检测 电路 运算放大器 adc

    上传时间: 2022-04-03

    上传用户:

  • GD32F1x0 KEIL中文应用笔记

    基于GD32F1x0 芯片的KEIL5开发中文应用笔记 .简介GigaDevice.GD32F1x0_DFP.pack符合Keil5 Pack最新标准, 用于支持GD32F1x0系列芯片。该 Pack 具有以下特征: 在线安装方式(强烈推荐); 本地安装方式; 自动生成 GD32F1x0 系列 MCU 列表及对应的特性信息; 自动匹配所选芯片对应的Flash算法; 在Manage Run-Time Environment(RTE)中提供了GD32F1x0 配套的库与所需组件,用户可以使用图形化界面自选所需的库文件; 支持用户在Debug模式下查看寄存器状态; 利用Books选项卡获取文档资料。 Keil 版本要求本 Pack 适用于 Keil v5.15 及以上版本。 本文档以 Keil v5.18a 为例。注意: 对于 Keil v5.13, Keil v5.14 版本, 有以下问题:1. 不支持 Books 选项卡中文档资料获取;2. Debug 模式下无法调用 SVD 文件查看寄存器状态。为解决这一问题, 每一个工程中, 用户需要手动配置路径。 如图 1-1 所示,勾选Use Custom File, 按图中路径选择 GD32Fxxx.sfr 替换默认的 GD32Fxxx.svd 文件。

    标签: gd32f1x0 keil

    上传时间: 2022-04-16

    上传用户:

  • 天龙功放AVR1506的用户手册(英文版)

    如果在调谐器或电视机附近使用本机或任何其他使用微处理器的电子设备,则可能会产生图像的噪声或干扰。如果发生这种情况,请采取以下步骤将本机安装在尽可能远离调谐器或T的地方。远离调谐器或T,远离本机的电源线和输入/输出连接电缆。尤其在使用室内天线或300欧姆馈线。我们建议使用室外天线和75 Q / ohm同轴电缆Noise or disturbance of the picture may be generated if this unit or any other electronic equipment using microprocessors is used near a tuner or TV If this happens, take the following stepsInstall this unit as far away as possible from the tuner or T Run the antenna wires from the tuner or T away from this unit ' s power supply cord and input/output connection cables. Noise or disturbance tends to occur particularly when using indoor antennas or300 ohm feeder wires. We recommend using outdoor antennas and 75 Q/ohm coaxial cables

    标签: 功放

    上传时间: 2022-04-22

    上传用户:

  • COMSOL声学模块介绍

    Mathematical modeling has become an important part of the research and devclopment work in engineering and scicnce. Retaining a competitive edge requiresa fast path between ideas and prototypes, and in this regard mathematical modeling and simulation provide a valuable shortcut for understanding both qualitative and quantitative aspects of scientific and engineering design. To assist you in gaining this edge, COMSOL Multiphysics offers state-of-the art performance, being built from the ground up with a Java3D interface and C/C++ solvers.The Acoustics Module is an optional package that extends the COMSOL Multiphysicsmodcling cnvironment with customized user interfaces and functionality optimizcd for the analysis of acoustics. Like all modules in the COMSOL family, it provides a brary of prewritten ready-to-run models that make it quicker and casier to analyze disciplinc-specific problcms.

    标签: comsol 声学模块

    上传时间: 2022-06-19

    上传用户:

  • IGBT图解

    le flows through MOS channel while Ih flows across PNP transistor Ih= a/(1-a) le, IE-le+lh=1/(1-a)' le Since IGBT has a long base PNP, a is mainly determined by ar si0 2ar= 1/cosh(1/La), La: ambipolar diff length a-0.5 (typical value)p MOSFET channel current (saturation), le=U"Cox"W(2"Lch)"(Vc-Vth)le Thus, saturated collector current Ic, sat=1/(1-a)"le=-1/(1-a)"UCox"W/(2Lch)"(Vo-Vth)2Also, transconductance gm, gm= 1/(1-a)"u' Cox W/Lch*(Vo-Vth)Turn-On1. Inversion layer is formed when Vge>Vth2. Apply positive collector bias, +Vce3. Electrons flow from N+ emitter to N-drift layer providing the base current for the PNP transistor4. Since J1 is forward blased, hole carriers are injected from the collector (acts as an emitter).5. Injected hole carriers exceed the doping level of N-drift region (conductivity modulation). Turn-Off1. Remove gate bias (discharge gate)2. Cut off electron current (base current, le, of pnp transistor)

    标签: igbt

    上传时间: 2022-06-20

    上传用户:wangshoupeng199

  • wireshark抓包分析TCP和UDP

    1,使用wireshark获取完整的UDP报文打开wireshark,设置监听网卡后,使用google chrome浏览器访问我腾讯微博的i http://p.t.qq.com/welcomeback.php?lv=1#!/ist/qqfriends/5/?pgv_ref-im.perinfo.pe rinfo.icon?ptlang-2052&pgv-ref-im.perinfo.perinfo.icon,抓得的UDP报文如图1所示。分析以上的报文内容,UDP作为一种面向无连接服务的运输协议,其报文格式相当简单。第一行中,Source port:64318是源端口号。第二行中,Destination port:53是目的端口号。第三行中,Length:34表示UDP报文段的长度为34字节。第四行中,Checksum之后的数表示检验和。这里0x表示计算机中16进制数的开始符,其后的4f0e表示16进制表示的检验和,把它们换成二进制表示为:0100 1111 0000 1110.从wireshark的抓包数据看出,我抓到的UDP协议多数被应用层的DNS协议应用。当一台主机中的DNS应用程序想要进行一次查询时,它构成了一个DNS查询报文并将其交给UDP,UDP无须执行任何实体握手过程,主机端的UDP为此报文添加首部字段,并将其发出。

    标签: wireshark tcp udp

    上传时间: 2022-06-20

    上传用户:

  • 如何在matlab中使用NXPMCU的工具箱和数学函数库以及其他调试工具

    ·Overview:20 minutes-Introduction and Objectives-Motor Control Development Toolbox:Library blocks,FreeMASTER, and Bootloader·Hands-On Demo:50 minutes-Motor Kit(Describe Freescale 3-Phase Motor Kit)-Convert simple model to run on Motor Kit with MCD Toolbox and use FreeMASTER·Model Based Design:10 minutes-Model Based Design Steps:Simulation,SIL,PIL and ISO 26262-SIL/PIL Hands-On Demo Step 2& 3 of MBD·Motor Control:20 minutes-FOC Sensor-less control and how to use it to turn a motor·Motor Control Hands-On Demo:80 minutes-Implement FOC Sensor-less Motor Control on Motor Kit-Run software from the model and use FreeMASTER to monitor·Summary and Q&A:10 minutes

    标签: matlab 数学函数库

    上传时间: 2022-06-24

    上传用户:

  • 学习用PSPICE设计模电实验

    1.创建一个新项目:激活Design Manager,在菜单File中选择New Workspace,然后填入项目名称expl。2.输入网单文件:在Tools菜单中选择TextEdit,输入如下所示的网单文件。3.保存文件:将文件命名为expl.cir。4.对电路进行模拟:在Tools菜单中选择PspiceA/D,再在PspiceA/D的File菜单中选择Open,打开已保存过的输入文件expl.cir。5.检查出错:如果文件中出现了语法错误,PspiceA/D就会弹出错误提示框,并运行Message Viewer,告诉用户错误信息。如果输入文件没有语法错误,PspiceA/D就显示正确模拟的对话框,如图3-3类似,从图中可读出电路标题、元器件个数以及计算中所耗内存信息。6.查看输出文件:在File菜单中选择Examine 0utput,就可以通过Text Editor来浏览输出文件。输出文件中的各节点电压如下所示。由此可得出如下所示的静态工作点参数:Vw=2.9646V,Vow=7.1878-2.1919=4.9959V,Tg=Va/R.=2.1919/2.3=0.953mA。7.观察输出波形:在PspiceA/D的File菜单中选择Run Probe,或者在Design Manager 中选择Tools下的Probe,都可以调出Probe。Probe自动设置横坐标,纵坐标必须通过手动添加。在菜单Trace中选择Add,在Add Traces对话框的Trace Expression中输入V(6)/V(1),测量放大倍数。8.在Probe中,单击Plot菜单下的Add YAxis,增加一个新纵轴。9.单击Trace菜单下的Add,在Trace Expression中输入V(1)/I(V1),测量输入电阻,输出曲线如图2-2所示。

    标签: pspice

    上传时间: 2022-07-02

    上传用户:

  • 激光测距芯片基于STM32的开发工具介绍与演示

    • VL53L1X OverView• VL53L1X Software Package• Default and FAST mode• Ultra light driver.• VL53L1X GUI• VL53L1X Multi sensor design• STM32 FW: Import, Compile, Run, Debug…• What is Xtalk?• Cover Window and ID design• How about Human and object reflectance at 940 nm ?

    标签: 激光测距芯片 stm32

    上传时间: 2022-07-17

    上传用户:bluedrops