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

subroutine

  • Emulating a synchronous serial

    The C500 microcontroller family usually provides only one on-chip synchronous serialchannel (SSC). If a second SSC is required, an emulation of the missing interface mayhelp to avoid an external hardware solution with additional electronic components.The solution presented in this paper and in the attached source files emulates the mostimportant SSC functions by using optimized SW routines with a performance up to 25KBaud in Slave Mode with half duplex transmission and an overhead less than 60% atSAB C513 with 12 MHz. Due to the implementation in C this performance is not the limitof the chip. A pure implementation in assembler will result in a strong reduction of theCPU load and therefore increase the maximum speed of the interface. In addition,microcontrollers like the SAB C505 will speed up the interface by a factor of two becauseof an optimized architecture compared with the SAB C513.Moreover, this solution lays stress on using as few on-chip hardware resources aspossible. A more excessive consumption of those resources will result in a highermaximum speed of the emulated interface.Due to the restricted performance of an 8 bit microcontroller a pin compatible solution isprovided only; the internal register based programming interface is replaced by a set ofsubroutine calls.The attached source files also contain a test shell, which demonstrates how to exchangeinformation between an on-chip HW-SSC and the emulated SW-SSC via 5 external wiresin different operation modes. It is based on the SAB C513 (Siemens 8 bit microcontroller).A table with load measurements is presented to give an indication for the fraction of CPUperformance required by software for emulating the SSC.

    标签: synchronous Emulating serial

    上传时间: 2014-01-31

    上传用户:z1191176801

  • labview教程ppt

    一篇长90页的PPT和10个左右的示例源程序,对于自学能力强且有一定计算机编程基础的人来说上手还是很快的。   •Understand the components of a Virtual Instrument •Introduce labview and common labview functions •Build a simple data acquisition application •Create a subroutine in labview

    标签: labview 教程

    上传时间: 2013-11-21

    上传用户:yeling1919

  • 实用的单片机开发与应用程序

    实用的单片机开发与应用程序,包括:中值滤波子程序,AD转换类程序,16、32位整型数开方,单片机音乐程序--祝你平安。对初学者很有帮助的。MCU development and practical applications, including: median filter subroutine, AD converter type of proceeding, 16,32-bit integer number prescribing, SCM music program - I wish you peace. Helpful for beginners.

    标签: 单片机开发 应用程序

    上传时间: 2016-01-27

    上传用户:sunjet

  • Watchdog software code, development environment KEIL, including the main program and "Weigou" subrou

    Watchdog software code, development environment KEIL, including the main program and "Weigou" subroutine

    标签: development environment including Watchdog

    上传时间: 2013-12-16

    上传用户:lijianyu172

  • Number of Namespaces in the project: 1 Number of Classes in the project: 6 Number of C# function

    Number of Namespaces in the project: 1 Number of Classes in the project: 6 Number of C# function(s) in the project: 2 Number of C# subroutine(s) in the project: 15 Number of VB.NET function(s) in the project: 1 Number of VB.NET subroutine(s) in the project: 10 Number of Application variable(s) used in the project: 3 Number of Session variable(s) used in the project: 1 Number of Distinct Email Addresses(s) found in the project: 4 Generation of documentation took 0 minute 18 seconds

    标签: Number project Namespaces the

    上传时间: 2013-12-09

    上传用户:许小华

  • Main program running when workpiece is ready on deferent belt(deferent_ready=ture). * Call Squ

    Main program running when workpiece is ready on deferent belt(deferent_ready=ture). * Call Square_Wave subroutine to generate 0.5ms square wave on P1.2 to drive * electromotor,then drive deferent belt step forward. When it steps to the measure * zone, it stops to be measured. Then call A_D subroutine to transform analog * signals to digital signals , after then call serial subroutine to transfer * digital signals to PC. Call square wave subroutine to drive deferent belt step to * original position waitting for defere ready flag to run the next circle.

    标签: deferent_ready workpiece deferent program

    上传时间: 2017-08-31

    上传用户:baiom

  • fortan程序数值分析之Newton法求解非线性方程组

    module M_GAUSS !高斯列主元消去法模块 contains subroutine LINEQ(A,B,X,N) !高斯列主元消去法    implicit real*8(A-Z)    integer::I,K,N    integer::ID_MAX  !主元素标号    real*8::A(N,N),B(N),X(N)    real*8::AUP(N,N),BUP(N)    !A,B为增广矩阵    real*8::AB(N,N+1)    real*8::VTEMP1(N+1),VTEMP2(N+1)    AB(1:N,1:N)=A    AB(:,N+1)=B

    标签: fortan Newton 程序 数值分析 方程 非线性

    上传时间: 2018-06-15

    上传用户:answer123