文件名称:stm32--PS2mouse-experiment
- 所属分类:
- 微处理器(ARM/PowerPC等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 113kb
- 下载次数:
- 0次
- 提 供 者:
- huan*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本实验将实现如下功能:开机的时候先检测是否有鼠标接入,如果没有/检测错误,则提示错误代码。只有在检测到PS/2鼠标之后才开始后续操作,当检测到鼠标之后,就在LCD上显示鼠标位移数据包的内容,并转换为坐标值,在LCD上显示,如果有按键按下,则会提示按下的是哪个按键。同样我们也是用LED0来指示程序正在运行。-in this example you will learn how to use ps2 in stm32 moudle
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ALIENTEK MINISTM32 实验23 PS2鼠标实验\README.TXT
.....................................\keilkilll.bat
.....................................\HARDWARE\24CXX\24cxx.c
.....................................\........\.....\24cxx.h
.....................................\........\.....\myiic.c
.....................................\........\.....\myiic.h
.....................................\........\ADC\adc.c
.....................................\........\...\adc.h
.....................................\........\DMA\dma.c
.....................................\........\...\dma.h
.....................................\........\.S18B20\ds18b20.c
.....................................\........\.......\ds18b20.h
.....................................\........\EXTI\exti.c
.....................................\........\....\exti.h
.....................................\........\FLASH\flash.c
.....................................\........\.....\flash.h
.....................................\........\KEY\key.c
.....................................\........\...\key.h
.....................................\........\LCD\FONT.H
.....................................\........\...\ILI93xx.c
.....................................\........\...\LCD.h
.....................................\........\.ED\led.c
.....................................\........\...\led.h
.....................................\........\NRF24L01\24l01.c
.....................................\........\........\24l01.h
.....................................\........\OLED\FONT.H
.....................................\........\....\oled.c
.....................................\........\....\oled.h
.....................................\........\PS2\mouse.c
.....................................\........\...\mouse.h
.....................................\........\...\ps2.c
.....................................\........\...\ps2.h
.....................................\........\REMOTE\remote.c
.....................................\........\......\remote.h
.....................................\........\.TC\rtc.c
.....................................\........\...\rtc.h
.....................................\........\SD\MMC_SD.C
.....................................\........\..\MMC_SD.H
.....................................\........\.PI\spi.c
.....................................\........\...\spi.h
.....................................\........\TIMER\timer.c
.....................................\........\.....\timer.h
.....................................\........\.OUCH\touch.c
.....................................\........\.....\touch.h
.....................................\........\WDG\wdg.c
.....................................\........\...\wdg.h
.....................................\........\.KUP\wkup.c
.....................................\........\....\wkup.h
.....................................\SYSTEM\delay\delay.c
.....................................\......\.....\delay.h
.....................................\......\sys\sys.c
.....................................\......\...\sys.h
.....................................\......\usart\usart.c
.....................................\......\.....\usart.h
.....................................\USER\STM32F10x.s
.....................................\....\TEST.Opt
.....................................\....\TEST.Uv2
.....................................\....\TEST.hex
.....................................\....\test.c
.....................................\HARDWARE\24CXX
.....................................\........\ADC
.....................................\........\DMA
.....................................\........\DS18B20
.....................................\........\EXTI
.....................................\........\FLASH
.....................................\........\KEY
.....................................\........\LCD
.....................................\........\LED
.....................................\........\NRF24L01
.....................................\........\OLED
.....................................\........\PS2
..............................
.....................................\keilkilll.bat
.....................................\HARDWARE\24CXX\24cxx.c
.....................................\........\.....\24cxx.h
.....................................\........\.....\myiic.c
.....................................\........\.....\myiic.h
.....................................\........\ADC\adc.c
.....................................\........\...\adc.h
.....................................\........\DMA\dma.c
.....................................\........\...\dma.h
.....................................\........\.S18B20\ds18b20.c
.....................................\........\.......\ds18b20.h
.....................................\........\EXTI\exti.c
.....................................\........\....\exti.h
.....................................\........\FLASH\flash.c
.....................................\........\.....\flash.h
.....................................\........\KEY\key.c
.....................................\........\...\key.h
.....................................\........\LCD\FONT.H
.....................................\........\...\ILI93xx.c
.....................................\........\...\LCD.h
.....................................\........\.ED\led.c
.....................................\........\...\led.h
.....................................\........\NRF24L01\24l01.c
.....................................\........\........\24l01.h
.....................................\........\OLED\FONT.H
.....................................\........\....\oled.c
.....................................\........\....\oled.h
.....................................\........\PS2\mouse.c
.....................................\........\...\mouse.h
.....................................\........\...\ps2.c
.....................................\........\...\ps2.h
.....................................\........\REMOTE\remote.c
.....................................\........\......\remote.h
.....................................\........\.TC\rtc.c
.....................................\........\...\rtc.h
.....................................\........\SD\MMC_SD.C
.....................................\........\..\MMC_SD.H
.....................................\........\.PI\spi.c
.....................................\........\...\spi.h
.....................................\........\TIMER\timer.c
.....................................\........\.....\timer.h
.....................................\........\.OUCH\touch.c
.....................................\........\.....\touch.h
.....................................\........\WDG\wdg.c
.....................................\........\...\wdg.h
.....................................\........\.KUP\wkup.c
.....................................\........\....\wkup.h
.....................................\SYSTEM\delay\delay.c
.....................................\......\.....\delay.h
.....................................\......\sys\sys.c
.....................................\......\...\sys.h
.....................................\......\usart\usart.c
.....................................\......\.....\usart.h
.....................................\USER\STM32F10x.s
.....................................\....\TEST.Opt
.....................................\....\TEST.Uv2
.....................................\....\TEST.hex
.....................................\....\test.c
.....................................\HARDWARE\24CXX
.....................................\........\ADC
.....................................\........\DMA
.....................................\........\DS18B20
.....................................\........\EXTI
.....................................\........\FLASH
.....................................\........\KEY
.....................................\........\LCD
.....................................\........\LED
.....................................\........\NRF24L01
.....................................\........\OLED
.....................................\........\PS2
..............................