This firmware translates a PS/2 mouse to a USB mouse. The translator firmware is entirely interrupt driven (with the exception of sending the data via USB to the host.) An interrupt is generated when the PS/2 start bit is received, at which time the firmware will begin its receive routine. In addition to this interrupt, every 168ms a timer overflow interrupts the main program and implements one state of the mouse state machine. This state machine handles sending bytes to and translating bytes received from the PS/2 mouse automatically. All of this is done in the background while the main program runs in the foreground. The only operation that the main program implements is sending mouse data to the PC via USB.
标签: firmware mouse translates translator
上传时间: 2015-04-26
上传用户:cuiyashuo
The goal of this lab is (1) to under the defects of software timers, (2) to write a periodic program without timers, (3) to write a periodic program using timer Hardware:Host computer PC Software: GNU GCC
标签: software periodic defects timers
上传时间: 2014-08-13
上传用户:古谷仁美
TIMER.ASM ********* [ milindhp@tifrvax.tifr.res.in ] Set Processor configuration word as = 0000 0000 1010 b. a] -MCLR tied to VDD (internally). b] Code protection off. c] WDT disabled. d] Internal RC oscillator [4 MHZ].
标签: configuration Processor milindhp tifrvax
上传时间: 2015-05-24
上传用户:wqxstar
This class implements the same API as the Java 1.3 java.util.TimerTask. * Note that a TimerTask can only be scheduled on one Timer at a time, but * that this implementation does not enforce that constraint.
标签: TimerTask implements the class
上传时间: 2015-06-10
上传用户:无聊来刷下
This program shows how to configure the watchdog timer for the following chips: Atmel 80C51RA2 Atmel 80C51RD2 Atmel 80C54X2 Atmel 80C58X2 Atmel 83/87C51RB2 Atmel 83/87C51RC2 Atmel 83/87C51RD2 Atmel T87C5111 Atmel T87C5112 Atmel T89C51AC2 Atmel T89C51CC01 Atmel T89C51CC02 Atmel T89C51IB2 Atmel T89C51IC2 Atmel T89C51RB2 Atmel T89C51RC2 Atmel T89C51RD2
标签: configure following the watchdog
上传时间: 2015-09-26
上传用户:yy541071797
// This program measures the voltage on an external ADC input and prints the // result to a terminal window via the UART. // // The system is clocked using the internal 24.5MHz oscillator. // Results are printed to the UART from a loop with the rate set by a delay // based on Timer 2. This loop periodically reads the ADC value from a global // variable, Result.
标签: the measures external program
上传时间: 2013-12-27
上传用户:trepb001
The PWM_1 project is a simple program for the STM32F103RBT6 using Keil MCBSTM32 Evaluation Board and demonstrating the use of PWM (Pulse Width Modulation) with Timer TIM4.
标签: Evaluation project program MCBSTM
上传时间: 2013-12-25
上传用户:familiarsmile
As you have learnt that sleep( )/usleep()/nanosleep() are not good to delay a process. Timers can provide more accurate time control in applications. In this lab, you will explore POSIX timers and signal programming, experience the timer drift. The primary focus of this lab will be "time". The experiment will show you several methods to measure time in your applications.
标签: nanosleep process Timers learnt
上传时间: 2013-12-19
上传用户:huyiming139
Hello User This is nothing, but a simple program which if kept in start of windows will shut down the system by itself within five minutes of starting. It takes the time from the system & starts its timer to shut down after 5 minutes (not considering seconds). U can use shutdown.exe,once started there is only one exit that u know only. EXIT : DOUBLECLICK TIME TO ENABLE EXIT
标签: nothing program windows simple
上传时间: 2016-12-26
上传用户:ynwbosss
Hello User This is nothing, but a simple program which if kept in start of windows will shut down the system by itself within five minutes of starting. It takes the time from the system & starts its timer to shut down after 5 minutes (not considering seconds). U can use shutdown.exe,once started there is only one exit that u know only. EXIT : DOUBLECLICK TIME TO ENABLE EXIT
标签: nothing program windows simple
上传时间: 2014-12-20
上传用户:xinyuzhiqiwuwu