參數(shù)資料
型號: 101-0478
廠商: Rabbit Semiconductor
文件頁數(shù): 15/90頁
文件大小: 0K
描述: KIT DEV RABBIT RCM2200 INTL
標(biāo)準(zhǔn)包裝: 1
系列: RabbitCore 2000
類型: MPU 模塊
適用于相關(guān)產(chǎn)品: RCM2200
所含物品: RabbitCore 模塊,開發(fā)板,纜線和 Dynamic C? CD-Rom
16
RabbitCore RCM2200
3.1.4 Sample Program Descriptions
3.1.4.1 FLASHLED.C
This program is about as simple as a Dynamic C application can get—the equivalent of
the traditional “Hello, world!” program found in most basic programming tutorials. If you
are familiar with ANSI C, you should have no trouble reading through the source code and
understanding it.
The only new element in this sample application should be Dynamic C’s handling of the
Rabbit microprocessor’s parallel ports. The program:
4. Initializes the pins of Port A as outputs.
5. Sets all of the pins of Port A high, turning off the attached LEDs.
6. Starts an endless loop with a for(;;) expression, and within that loop:
Writes a bit to turn bit 1 off, lighting LED DS3;
Waits through a delay loop;
Writes a bit to turn bit 1 on, turning off the LED;
Waits through a second delay loop;
These steps repeat as long as the program is allowed to run.
You can change the flash rate of the LED by adjusting the loop values in the two for
expressions. The first loop controls the LED’s “off” time; the second loop controls its “on”
time.
NOTE: Since the variable j is defined as type int, the range for j must be between 0
and 32767. To permit larger values and thus longer delays, change the declaration of j
to unsigned int or long.
More Information
See the section on primitive data types, and the entries for the library functions
WrPortI( )
and BitWrPortI( ) in the Dynamic C User’s Manual.
相關(guān)PDF資料
PDF描述
RBC20DRXH CONN EDGECARD 40POS DIP .100 SLD
N001-005-BK-R CABLE PATCH CAT5E BLACK 5'
SDR-BK SCOTCH CODE REFILL BLACK
94SVPD186X0035F8 CAP ALUM 18UF 35V 20% SMD
GCC18DCMT-S288 CONN EDGECARD 36POS .100 EXTEND
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
101048 制造商:Jacob 功能描述:Bulk
10-1-048 制造商:IGUS 功能描述:SERIES 10 ENERGY CHAIN
101-0480 功能描述:開發(fā)板和工具包 - 其他處理器 RCM2300 DEV KIT RoHS:否 制造商:Freescale Semiconductor 產(chǎn)品:Development Systems 工具用于評估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
101-048-033 制造商:PANCON CONNECTORS 功能描述:Conn Shrouded Header HDR 48 POS 5.08mm Solder RA Thru-Hole 制造商:ITW Pancon 功能描述:Conn Shrouded Header HDR 48 POS 5.08mm Solder RA Thru-Hole
101-0481 功能描述:KIT DEV RABBIT RCM2300 INTL RoHS:否 類別:編程器,開發(fā)系統(tǒng) >> 通用嵌入式開發(fā)板和套件(MCU、DSP、FPGA、CPLD等) 系列:RabbitCore 2000 產(chǎn)品培訓(xùn)模塊:Blackfin® Processor Core Architecture Overview Blackfin® Device Drivers Blackfin® Optimizations for Performance and Power Consumption Blackfin® System Services 特色產(chǎn)品:Blackfin? BF50x Series Processors 標(biāo)準(zhǔn)包裝:1 系列:Blackfin® 類型:DSP 適用于相關(guān)產(chǎn)品:ADSP-BF548 所含物品:板,軟件,4x4 鍵盤,光學(xué)撥輪,QVGA 觸摸屏 LCD 和 40G 硬盤 配用:ADZS-BFBLUET-EZEXT-ND - EZ-EXTENDER DAUGHTERBOARDADZS-BFLLCD-EZEXT-ND - BOARD EXT LANDSCAP LCD INTERFACE 相關(guān)產(chǎn)品:ADSP-BF542BBCZ-4A-ND - IC DSP 16BIT 400MHZ 400CSBGAADSP-BF544MBBCZ-5M-ND - IC DSP 16BIT 533MHZ MDDR 400CBGAADSP-BF542MBBCZ-5M-ND - IC DSP 16BIT 533MHZ MDDR 400CBGAADSP-BF542KBCZ-6A-ND - IC DSP 16BIT 600MHZ 400CSBGAADSP-BF547MBBCZ-5M-ND - IC DSP 16BIT 533MHZ MDDR 400CBGAADSP-BF548BBCZ-5A-ND - IC DSP 16BIT 533MHZ 400CSBGAADSP-BF547BBCZ-5A-ND - IC DSP 16BIT 533MHZ 400CSBGAADSP-BF544BBCZ-5A-ND - IC DSP 16BIT 533MHZ 400CSBGAADSP-BF542BBCZ-5A-ND - IC DSP 16BIT 533MHZ 400CSBGA