This example program shows how to configure and use the A/D Converter of the following microcontroller:
STMicroelectronics ST10F166
After configuring the A/D, the program reads the A/D result and outputs the converted value using the serial port.
To run this program...
Build the project (Project Menu, Build Target)
Start the debugger (Debug Menu, Start/Stop Debug Session)
View the Serial Window (View Menu, Serial Window #1)
View the A/D converter peripheral (Peripheral Menu, A/D Converter)
Run the program (Debug Menu, Go)
A debug script (debug.ini) creates buttons that set different analog values in A/D channels. As the program runs, you will see the A/D input and output change.
Other buttons create signals that generate sine wave or sawtooth patterns as analog inputs. µ Vision3 users may enable the built-in Logic Analyzer to view, measure and compare these input signals graphically.
graspForth is my humble attempt at a Forth-in-C that has the following goals:
GCC ......... to support all 32-bit micros that GCC cross-compiles to.
Relocatable . to be able to run in-place in either Flash or Ram.
Fast ........ to be "not much" slower than an assembly based native Forth.
Small ....... to fit-in approx 300 words in less than 25Kbytes on a 32-bit machine.
Portable .... to achieve a 5 minute port to a new 32bit micro-processor, or micro-controller.
This package contains example software and associated documentation for the
ColdFire MCF5249 microprocessor. The software includes sample processor
initialization routines for the MCF5249 running a M5249C3 evaluation board as
well as the following sample applications:
simple - empty application template
fat - factory acceptance test for the M5249C3
The software has currently been built and tested under Metrowerks CodeWarrior
This lab exercise will introduce you to the AccelWare IP generators. AccelWare is a library of over fifty IP generators, available in the form of three toolkits that produce synthesizable MATLAB for common MATLAB built in and toolbox functions. Each generator offers macro and micro-architecture selections that allow full customization of the generated model to the target application requirements.
陳向群老師主講的嵌入式操作系統(tǒng)實驗作業(yè)之經(jīng)典生產(chǎn)者消費者程序,在Windows平臺下的uC/OS實驗環(huán)境開發(fā)。需要下載任何一個µ C/OS-II version 2.51以后的版本,比如uCOSV262.exe;下載borlandc3.1或者4.5版本的編譯器編譯運行
Verilog HDL: Magnitude
For a vector (a,b), the magnitude representation is the following:
A common approach to implementing these arithmetic functions is to use the Coordinate Rotation Digital Computer (CORDIC) algorithm. The CORDIC algorithm calculates the trigonometric functions of sine, cosine, magnitude, and phase using an iterative process. It is made up of a series of micro-rotations of the vector by a set of predetermined constants, which are powers of two. Using binary arithmetic, this algorithm essentially replaces multipliers with shift and add operations. In a Stratix™ device, it is possible to calculate some of these arithmetic functions directly, without having to implement the CORDIC algorithm.
我們做微機硬件綜合實驗做的一個交通信號燈實時控制系統(tǒng)設計,很好哦!還附有實驗報告.-A traffic lights real-time control system design of the micro computer hardware experiment.PS:contain the experiment report
The Original USB 2.0 specification released on April 27, 2000
Errata to the USB 2.0 specification as of December 7, 2000
Mini-B connector Engineering Change Notice to the USB 2.0 specification.
Pull-up/pull-down Resistors Engineering Change Notice to the USB 2.0 specification.
Errata to the USB 2.0 specification as of May 28, 2002
Interface Association Descriptor Engineering Change Notice to the USB 2.0 specification.
Rounded Chamfer Engineering Change Notice to the USB 2.0 specification as of October 8, 2003
Unicode Engineering Change Notice to the USB 2.0 specification as of February 21, 2005
Inter-Chip USB Supplement Revision 1.0 as of March 13, 2006
Revision 1.3 of the USB On-The-Go Supplement as of December 5, 2006
Revision 1.01 of the Micro-USB Cables and Connectors Specification as of April 4, 2007
USB 2.0 Link Power Management Addendum Engineering Change Notice to the USB 2.0 specification as of July 16, 2007.
The purpose of this example is to demonstrate that the
functioning of External interrupts (INT0, INT1, INT4, INT5 and INT6) and
how toset them up.
This directory contains the frameworks fw.c, the test program extr_intr.c
and the external interrupt service routines isr.c. This was compiled
using micro vision2.