CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - 7.14
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - 7.14 - List
[
uCOS
]
s3c2410,iar
DL : 2
s3c2410 ads下的测试程序移植到 iar ewarm v5.2;包括 Please select function : 0 : Please input 1-14 to select test 1 : Real time clock display 2 : 4 key array test 3 : Buzzer test 4 : ADC test 5 : IIC EEPROM test 6 : Touchpanel test 7 : 3.5# TFT LCD 240*320 test 8 : UDA1341 play audio test 9 : UDA1341 record audio test 10 : IRDA test 11 : SD Card write and read test 12 : COM port ( UART2 ) test-s3c2410 ads test procedure under the transplanted into iar ewarm v5.2 including Please select function: 0: Please input 1-14 to select test 1: Real time clock display 2: 4 key array test 3: Buzzer test 4: ADC test 5 : IIC EEPROM test 6: Touchpanel test 7: 3.5# TFT LCD 240* 320 test 8: UDA1341 play audio test 9: UDA1341 record audio test10: IRDA test11: SD Card write and read test12: COM port (UART2) test
Date
: 2010-10-30
Size
: 2.36mb
User
:
hzl1437
[
uCOS
]
Desktop
DL : 0
功能:读取按键,控制LED闪烁。 首先对引脚选择寄存器PINSEL赋值为0,设置引脚连接GPIO。,然后对按键进行扫描,等到有键按下时,开始LED闪烁的程序。为了使LED有各种各样的闪烁结果,对其设计了一个表LED_TBL[],并不断调用,对P0[7:0]这8个设置为输出的I/O口进行置一或清零,得到花样流水灯的效果。当接P0.14的按键按下时,LED闪烁状态会回到最初全灭至亮状态,然后继续按照其他花式闪烁。 -Function: Reads keys, control LED flashes. First register PINSEL pin assignment to 0, set the pin connections GPIO. And then scan button, wait until a key is pressed, the program began flashing LED. In order to make a wide variety of LED flashing result, its design a table LED_TBL [], and continue to call for P0 [7: 0] This 8 is set to output an I/O port for a set or cleared get water lights pattern effect. When the button is pressed pick P0.14, LED flashing light will return to the original state all off, and then continue to follow the other fancy flashing.
Date
: 2025-12-18
Size
: 71kb
User
:
范鹏
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.