Welcome![Sign In][Sign Up]
Location:
Search - simulator d

Search list

[Other resourceaduc7000_pwm

Description: This project is created using the Keil ARM CA Compiler. The Logic Analyzer built into the simulator may be used to monitor and display any variable or peripheral I/O register. It is already configured to show the PWM output signal on PORT3.0 and PORT3.1 This ARM Example may be debugged using only the uVision Simulator and your PC--no additional hardware or evaluation boards are required. The Simulator provides cycle-accurate simulation of all on-chip peripherals of the ADuC7000 device series. You may create various input signals like digital pulses, sine waves, sawtooth waves, and square waves using signal functions which you write in C. Signal functions run in the background in the simulator within timing constraints you configure. In this example, several signal functions are defined in the included Startup_SIM.INI file. -This project is created using the Keil ARM C A Compiler. The Logic Analyzer built into the si mulator may be used to monitor and display any va riable or peripheral I / O register. It is alread y configured to show the PWM output signal on POR T3.0 and ARM Example PORT3.1 This may be debugge d using only the kernels Simulator and your PC -- no additional hardware or evaluation boards ar e required. The Simulator provides cycle-accu rate simulation of all on-chip peripherals of t he ADuC7000 device series. You may create VARIO input signals us like digital pulses, sine waves, and sawtooth waves. square waves and using signal functions which y ou write in C. Signal functions run in the backgr in the simulator is within timing constraint s you configure. In this example, several signal functi
Platform: | Size: 8599 | Author: 郭文彬 | Hits:

[JSP/Javamm1systemmodel

Description: One-channel queuing system simulator (M/M/1) * Arrival and service times are random and distributed exponetially. * * The simulator is time-slice-driven, i.e. the system model is being * run at discrete time points, with constant increments deltaT. * At each such time moment, program checks if a new item arrival or * release has occurred during previus deltaT.-One-channel queuing system simulator (M / 1) * Arrival and service times are random and d istributed exponetially. * The simulator is not ime-slice-driven. i.e. the system model is being run at discrete * t ime points, with constant increments deltaT. * At each such time moment, program checks if a new item arrival or release * has occurred during previus deltaT.
Platform: | Size: 4493 | Author: feiteng | Hits:

[Other resourceRTOSICCAVR

Description: UCOS/II for ICCAVR - The version of UCOS/II is 2.04 - the original port was done by Ole Saether for the IAR compiler. Jens E. Holtegaard ported one version using ICCAVR. Joerg Meyer did another port (using Jens port as a start?). This is basically Joerg s port plus a little bit of changes and documentation by me. - YOU MUST DOWNLOAD THE MAIN PART OF THE UCOS/II FROM THE UCOS/II WEBSITE http://www.ucos-ii.com . The supplied project file assumes the portable source is in the ..\\source directory. - Joerg has written couple document showing the stack frames etc. but it is in German :-) They are included in this directory. - The Timer2 overflow interrupt is used for Timer Tick. If you want to change that, modify os_cpu_c.c and os_cpu_a.s - I have tested this using ATMega103 with and without external RAM using AVR Studio simulator. See test1.c test program. Both Code Compressed (PRO) and STD versions have been tested. -UCOS / II for ICCAVR - The version of UCOS / II is 2.04-the original port was done by Ole Saethe r for the IAR compiler. Jens E. Holtegaard porte d one version using ICCAVR. Joerg Meyer did anot her port (using Jens port as a start). This is bas ically Joerg's port plus a little bit of changes a nd documentation by me. - YOU MUST DOWNLOAD THE M AIN PART OF THE UCOS / FROM THE UCOS II / II WEBSITE http : / / www.ucos - ii.com. The supplied project file assumes the portable source is in the .. \\ source directory. - Joerg couple has written document showing the stack frames etc.. but it is in German :-) They are included in this directory. - The Ti mer2 overflow interrupt is used for Timer tick. If you want to change that. modify os_cpu_c.c and os_cpu_a.s - I have teste d this using ATMeg
Platform: | Size: 200913 | Author: zhjol | Hits:

[GUI Developbrew window manager

Description:

 

Objective
This topic describes how to create a windowed application that will share the display with other applications.
Brew® MP windowed applications need to be written differently than traditional Brew MP applications. Traditional Brew MP applications, when running in the foreground, occupy full screen space and can modify the display at any time. In the windowing framework, multiple applications share the display at the same time and are not allowed to modify the display arbitrarily. A windowed application also needs to create one or more widgets to be used to create the windows.
A windowed application needs to:
·                  Create and initialize one or more widgets to be passed to IWindowMgr_CreateWindow().
The application can implement its own IWidget, or it can make use of an existing IWidget.
·                  Handle the EVT_APP_START_WINDOW event (and create a window).
·                  Implement handlers for visibility changes, focus changes, and extent changes. The implementation of these handlers is dependent on the details of the application.
·                  Draw in two stages:
·                                  Tell the container that drawing is necessary (ICONTAINER_Invalidate()).
·                                  Draw only when told to draw by the container (IWIDGET_Draw()).
Note: A windowed application should not call any functions that modify IDisplay directly. This includes explicit IDisplay function calls or implicit updates, such as calls to IIMAGE_Draw() or ICONTROL_Redraw(). Drawing should happen only on demand, for example, when IWIDGET_Draw() is called for the widget used to create the window. Existing Widget based applications follow these guidelines and, with minor modifications, can be ported to the windowing framework.
Event handling
A windowed application must respond to these events:
EVT_APP_START_WINDOW and EVT_APP_START
A window-based application receives EVT_APP_START_WINDOW first. If the application returns TRUE for this event, the application does not receive EVT_APP_START. If an application needs to support both the environments (window based and non-window based), it should handle both events.
When the application receives EVT_APP_START_WINDOW, it should create one or more windows.
If creation of IWindowMgr0 fails while handling EVT_APP_START_WINDOW, the application should assume that the platform does not support window-based applications. In this case, the application should return FALSE and continue the application logic in the code for EVT_APP_START.
EVT_APP_SUSPEND and EVT_APP_RESUME
After an application returns TRUE for EVT_APP_START_WINDOW, it will not receive EVT_APP_SUSPEND and EVT_APP_RESUME as non-windowed Brew MP applications do. Instead, the application must check for window status events that are sent to the widget through EVT_WDG_SETPROPERTY events. For EVT_WDG_SETPROPERTY events, wParam indicates which property was set, and dwParam specifies the value of the property. When the AEEWindowMgrExt_PROPEX_STATE property has a value of AEEWindowMgrExt_STATE_VISIBLE, the window is visible.
EVT_WDG_WINDOWSTATUS
The EVT_WDG_WINDOWSTATUS event is sent to a widget to notify it about various window related status messages. AEEWindowStatus.h contains information on the meaning of various status messages.
Sample code location

ZIP filename
Location
Run app
hellowindowapp
Brew MP Library
·                       Download and extract the ZIP file.
·                       Compile the app.
·                       Run it on the Brew MP Simulator.

Example of a windowed application
In the hellowindowapp sample, HelloWindowApp_HandleEvent handles the EVT_APP_START_WINDOW event and creates soft key and pop-up windows:
   case EVT_APP_START_WINDOW:   
      DBGPRINTF("EVT_APP_START_WINDOW");
 
      // Create the softkey and popup windows
      HelloWindowApp_CreateSoftkey(pMe);
      HelloWindowApp_CreateOrActivatePopup(pMe);
 
      // Handling this event tells Brew that we are a windowing
      // application.
      return TRUE;  
HelloWindowApp_CreateSoftkey() creates the soft key widget, sets the color text of the widget, then calls HelloWindowApp_CreateWindow() to create the window.
   WidgetWindow *pWindow = &pMe->softkeyWindow;
  
   if (pWindow->piWindowWidget != NULL) return;
   pWindow->pszDbgName = "Softkey";
   pWindow->pMe = pMe;
  
   (void) ISHELL_CreateInstance(pMe->applet.m_pIShell, AEECLSID_SoftkeyWidget,
            (void **) &pWindow->piWindowWidget);
   if (pWindow->piWindowWidget == NULL) return;
 
   {
      WidgetExtent extent = {0, HWA_SOFTKEY_HEIGHT};
      IWidget_SetExtent(pWindow->piWindowWidget, &extent);
   }
  
   (void) IWidget_SetBGColor(pWindow->piWindowWidget, MAKE_RGBA(200,200,200,255));
  
   // Now set the softkeys text
   {
      IWidget *piTextWidget = NULL;
      (void) IWidget_GetSoftkey(pWindow->piWindowWidget, PROP_SOFTKEY1, &piTextWidget);
     
      if (piTextWidget != NULL) {
         (void) IWidget_SetText(piTextWidget, L"Hover", TRUE);
      }
      RELEASEIF(piTextWidget);
 
      (void) IWidget_GetSoftkey(pWindow->piWindowWidget, PROP_SOFTKEY2, &piTextWidget);
      if (piTextWidget != NULL) {
         (void) IWidget_SetText(piTextWidget, L"Close", TRUE);
      }
      RELEASEIF(piTextWidget);
   }
 
   HelloWindowApp_CreateWindow(pMe, pWindow, AEEWindowMgrExt_CLASS_Softkey);  
HelloWindowApp_CreateWindow() creates the soft key window, as follows:
   int result;
   uint32 winId;
   AEEWindowProp propList[1];
  
   // Set custom window handler
   HANDLERDESC_Init(&pWindow->hdHandler, HelloWindowApp_WindowHandler, pWindow, NULL);
   IWIDGET_SetHandler(pWindow->piWindowWidget, &pWindow->hdHandler);
        
   propList[0].id = AEEWindowMgrExtProp_CLASS;
   propList[0].pbyLen = sizeof(winClass);
   propList[0].pby = (void *) &winClass;
     
   result = IWindowMgr_CreateWindow(pMe->piWindowMgr, (IQI*) (void *) pWindow->piWindowWidget,
      propList, ARR_SIZE(propList), &winId);
 
   if (result != SUCCESS) {
      DBGPRINTF("Window creation failed for %s: %d", pWindow->pszDbgName, result);
      HelloWindowApp_DestroyWindow(pWindow);
   } else {
      DBGPRINTF("Window %s created: id=%d", pWindow->pszDbgName, winId);
   }
HelloWindowApp_CreateOrActivatePopup() creates the widget for the pop-up window, then calls HelloWindowApp_CreateWindow() to create the pop-up window.
   pWindow->piWindowWidget = HelloWindowApp_CreateAndInitImageWidget(
                                pMe,
                                "popups.main" // Image as defined in appinfo.ini
                             );
 
   if (pWindow->piWindowWidget == NULL) return;
 
   {
      WExtent extent = {HWA_POPUP_WIDTH, HWA_POPUP_HEIGHT};
      IWIDGET_SetExtent(pWindow->piWindowWidget, &extent);
   }
 
   HelloWindowApp_CreateWindow(pMe, pWindow, AEEWindowMgrExt_CLASS_Popup);
Related information
·                  See Brew MP Widgets Technology Guide: Creating a Widgets application
·                  See Brew MP API Reference

Base version:
Brew MP 1.0
Tested version:
Brew MP 1.0
Phone tested:
No

 

Platform: | Size: 439828 | Author: bluecrest | Hits:

[DSP programc55x_simulator

Description: TI的DSP C55X的应用程序-TI C55X DSP applications
Platform: | Size: 1024 | Author: 王坚 | Hits:

[SCMMCS-51单片机软件仿真器 for DOS v4.6

Description: MCS-51单片机软件仿真器-MCS-51 Software Simulator
Platform: | Size: 116736 | Author: 孙楠 | Hits:

[Other Embeded program自制AvrJTAG仿真器资料

Description: 自制AvrJTAG仿真器资料,功能一点也不比ATMEL的差呀。-homemade AvrJTAG simulator information, function is not worse than ATMEL ah.
Platform: | Size: 35840 | Author: 褚振刚 | Hits:

[SCMaduc7000_pwm

Description: This project is created using the Keil ARM CA Compiler. The Logic Analyzer built into the simulator may be used to monitor and display any variable or peripheral I/O register. It is already configured to show the PWM output signal on PORT3.0 and PORT3.1 This ARM Example may be debugged using only the uVision Simulator and your PC--no additional hardware or evaluation boards are required. The Simulator provides cycle-accurate simulation of all on-chip peripherals of the ADuC7000 device series. You may create various input signals like digital pulses, sine waves, sawtooth waves, and square waves using signal functions which you write in C. Signal functions run in the background in the simulator within timing constraints you configure. In this example, several signal functions are defined in the included Startup_SIM.INI file. -This project is created using the Keil ARM C A Compiler. The Logic Analyzer built into the si mulator may be used to monitor and display any va riable or peripheral I/O register. It is alread y configured to show the PWM output signal on POR T3.0 and ARM Example PORT3.1 This may be debugge d using only the kernels Simulator and your PC-- no additional hardware or evaluation boards ar e required. The Simulator provides cycle-accu rate simulation of all on-chip peripherals of t he ADuC7000 device series. You may create VARIO input signals us like digital pulses, sine waves, and sawtooth waves. square waves and using signal functions which y ou write in C. Signal functions run in the backgr in the simulator is within timing constraint s you configure. In this example, several signal functi
Platform: | Size: 8192 | Author: 郭文彬 | Hits:

[JSP/Javamm1systemmodel

Description: One-channel queuing system simulator (M/M/1) * Arrival and service times are random and distributed exponetially. * * The simulator is time-slice-driven, i.e. the system model is being * run at discrete time points, with constant increments deltaT. * At each such time moment, program checks if a new item arrival or * release has occurred during previus deltaT.-One-channel queuing system simulator (M/1)* Arrival and service times are random and d istributed exponetially.* The simulator is not ime-slice-driven. i.e. the system model is being run at discrete* t ime points, with constant increments deltaT.* At each such time moment, program checks if a new item arrival or release* has occurred during previus deltaT.
Platform: | Size: 4096 | Author: feiteng | Hits:

[uCOSRTOSICCAVR

Description: UCOS/II for ICCAVR - The version of UCOS/II is 2.04 - the original port was done by Ole Saether for the IAR compiler. Jens E. Holtegaard ported one version using ICCAVR. Joerg Meyer did another port (using Jens port as a start?). This is basically Joerg s port plus a little bit of changes and documentation by me. - YOU MUST DOWNLOAD THE MAIN PART OF THE UCOS/II FROM THE UCOS/II WEBSITE http://www.ucos-ii.com . The supplied project file assumes the portable source is in the ..\source directory. - Joerg has written couple document showing the stack frames etc. but it is in German :-) They are included in this directory. - The Timer2 overflow interrupt is used for Timer Tick. If you want to change that, modify os_cpu_c.c and os_cpu_a.s - I have tested this using ATMega103 with and without external RAM using AVR Studio simulator. See test1.c test program. Both Code Compressed (PRO) and STD versions have been tested. -UCOS/II for ICCAVR- The version of UCOS/II is 2.04-the original port was done by Ole Saethe r for the IAR compiler. Jens E. Holtegaard porte d one version using ICCAVR. Joerg Meyer did anot her port (using Jens port as a start). This is bas ically Joerg's port plus a little bit of changes a nd documentation by me.- YOU MUST DOWNLOAD THE M AIN PART OF THE UCOS/FROM THE UCOS II/II WEBSITE http :// www.ucos- ii.com. The supplied project file assumes the portable source is in the .. \ source directory.- Joerg couple has written document showing the stack frames etc.. but it is in German :-) They are included in this directory.- The Ti mer2 overflow interrupt is used for Timer tick. If you want to change that. modify os_cpu_c.c and os_cpu_a.s- I have teste d this using ATMeg
Platform: | Size: 200704 | Author: zhjol | Hits:

[Com PortYunJing_Delphi_Dll

Description: delphi 编写的云镜控制支持PELCO P/D协议的DLL。 支持对云台镜头及辅助开关的操作。直接封装了SPCOM类,调用只需输入COM口号及对应的命令字符及可。-delphi prepared by the Mirror-control support PELCO P/D agreement DLL. Yuntai support for the camera and auxiliary switch operation. Packaging a direct SPCOM category, called keys COM slogan and the corresponding characters can be ordered.
Platform: | Size: 590848 | Author: wuyun | Hits:

[Other Gamesz_Hunter

Description: 手机3d游戏源码,是我自己亲自写的哦。绝对原创!请在java1.2以上环境,使用wtk2.5的模拟器运行.-3d mobile game source code is written in my own personal Oh. Absolutely original! Please java1.2 over the environment, the use of the simulator is running wtk2.5.
Platform: | Size: 815104 | Author: shitao | Hits:

[GPS developgps_signal

Description: gps信号模拟器中用产生的ca码扩频已有的d码-gps signal simulator using code generated by spread spectrum ca existing d code
Platform: | Size: 6144 | Author: jiangwei | Hits:

[Otherandroid_Developer_SDK_reference

Description: android开发环境资料汇总 在Ubuntu上编译android.doc Android模拟器参数大全.doc 在ubuntu8.04桌面上安装android-sdk1.0(1).doc 在ubuntu8.04桌面上安装android-sdk1.0(2).doc 在ubuntu8.04桌面上安装android-sdk1.0(3).doc-android development environment in Ubuntu on aggregate data compiled android.docAndroid Guinness simulator parameters. doc in ubuntu8.04 Desktop installed on android-sdk1.0 (1). doc in ubuntu8.04 Desktop installed on android-sdk1.0 (2) . doc in ubuntu8.04 Desktop installed on android-sdk1.0 (3). doc
Platform: | Size: 228352 | Author: skyge | Hits:

[Other Embeded programE6K_Keil

Description: 在keil uVision 2/uVision 3下使用伟福系列仿真器的方法(利用E6000.dll)-Keil uVision 2/uVision 3 in the use of simulator-wei fu series method (using E6000.dll)
Platform: | Size: 196608 | Author: 林建斌 | Hits:

[Software EngineeringD

Description: 2009电子设计大赛D题--无线环境监测模拟装置-2009 Electronic Design Contest D title- Wireless Environmental Monitoring simulator
Platform: | Size: 86016 | Author: 荣超群 | Hits:

[ARM-PowerPC-ColdFire-MIPSsimulator

Description: 开源的基于SystemC的模拟器,可以模拟ARM CPU, Cache, DDR,NOR, NAND, 时序和功耗均可以正确模拟。-This simulator is a cycle-accurate system-level energy and timing simulator. Developed by Embedded Low-Power Laboratory, Seoul National University. The simulator’s underlying kernel is OSCI SystemC 2.2.0. All of the hardware modules satisfies the OSCI standards. The simulator is composed of a CPU, cache, and memory components including DDR SDRAM, MLC NOR Flash, MLC NAND Flash, SRAM. Each memory components have it’s own memory model, which enables cycle-accurate power consumption estimation of the devices. Master and slave SystemC IPs are connected through AMBA AHB CLI (Cycle-Level Interface). You will get energy trace files for each memory devices. You will get cycle-accurate performance evaluation results CPU cycle counts information, and cache hit/miss ratio on console. Also, you can get trace files for memory devices. The simulator exhibits performance over 500 K instructions/sec, which is fairly high for a cycle-accurate system-level simulator. The simulator’s source co
Platform: | Size: 4886528 | Author: Archie | Hits:

[matlab2-D-EM-field-simulator

Description: 两维FDTD电磁场数值模拟程序,包含程序应用手册,可用于二位微波器件仿真、探地雷达数值模拟-REALTIME: A TWO-DIMENSIONAL ELECTROMAGNETIC FIELD SIMULATOR
Platform: | Size: 9594880 | Author: anxue zhang | Hits:

[SCMTI-TECHNOLOGY-Cup-over-the-years-of-outstanding-na

Description: 历年TI杯优秀论文集之09年NEC杯国赛优秀论文(宽带直流放大器、光伏并网发电模拟装置、 D无线环境监测模拟装置等)-TI TECHNOLOGY Cup over the years of outstanding State Cup tournament in 2009 NEC Outstanding Paper (broadband dc amplifier, photovoltaic power generation simulator, D simulation of wireless environmental monitoring devices, etc.)
Platform: | Size: 4655104 | Author: yangbolan | Hits:

[JSP/Java3D-simulator-for-complex-networks

Description: 复杂网络三维仿真器,该软件可用于高等学校计算机专业的三维网络仿真、尤其是复杂网络三维仿真相关的科研及教学实验,它提供了构造规则网络、随机网络、小世界网络与无尺度网络等三维基础环境,并提供了设置网络类型、规模属性的接口工具。-A 3-D simulator of complex networks, functions as a platform for simulating scalefree networks, random networks and so on.
Platform: | Size: 95232 | Author: xu | Hits:
« 12 »

CodeBus www.codebus.net