3.2 Sample Programs
Of the many sample programs included with Dynamic C, several are specific to the
RCM3360 and the RCM3370. Sample programs illustrating the general operation of the
RCM3360/RCM3370, serial communication, and the NAND flash are provided in the
SAMPLES\RCM3360 folder. Each sample program has comments that describe the purpose
and function of the program. Follow the instructions at the beginning of the sample pro-
gram. Note that the RCM3360/RCM3370 must be installed on the Prototyping Board
when using the sample programs described in this chapter.
? CONTROLLED.c —Demonstrates use of the digital inputs by having you turn the LEDs
on the Prototyping Board on or off from the STDIO window on your PC.
Once you compile and run CONTROLLED.C , the following display will appear in the
Dynamic C STDIO window.
Press “2” or “3” or “4”or “5”on your keyboard to select LED DS3 or DS4 or DS5 or
DS6 on the Prototyping Board. Then follow the prompt in the Dynamic C STDIO win-
dow to turn the LED on or off.
? FLASHLED.c —Demonstrates assembly-language program by flashing the USR LED
on the RCM3360/RCM3370 and LEDs DS3, DS4, DS5, and DS6 on the Prototyping
Board.
? SWRELAY.c —Demonstrates the relay-switching function call using the relay installed
on the Prototyping Board through screw-terminal header J17.
? TOGGLESWITCH.c —Uses costatements to detect switches S2 and S3 using debounc-
ing. The corresponding LEDs (DS3 and DS4) will turn on or off.
Once you have loaded and executed these four programs and have an understanding of
how Dynamic C and the RCM3360/RCM3370 modules interact, you can move on and try
the other sample programs, or begin building your own.
14
RabbitCore RCM3360/RCM3370
相关PDF资料
101-1050-BE-00025 ADPT USB 2 A FEMALE-2 5PIN .25M
10112627-101LF MINI-SAS HD 1X2 EXT PCB
10112628-101LF MINI-SAS HD 1X4 EXT PCB
10136-3000PC CONN MINI-D 36POS SOLDER PLUG
10136-6000EC CONN MDR PLUG 36POS IDC GOLD
10150-4CZ3PL CONN MDR PLUG 50POS VERT T/H
10150-72E2PC CONN MINI-D 50POS R/A PLUG
10150-8000EE CONN PLUG 50 POS MINI-D
相关代理商/技术参数
101-0955 功能描述:模块化系统 - SOM RCM2260 RABBITCORE MODULE RoHS:否 制造商:Digi International 外观尺寸:ConnectCore 9P 处理器类型:ARM926EJ-S 频率:150 MHz 存储容量:8 MB, 16 MB 存储类型:NOR Flash, SDRAM 接口类型:I2C, SPI, UART 工作电源电压:3.3 V 最大工作温度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
101-0956 功能描述:开发板和工具包 - 其他处理器 Powercore Flex Kit US Version RoHS:否 制造商:Freescale Semiconductor 产品:Development Systems 工具用于评估:P3041 核心:e500mc 接口类型:I2C, SPI, USB 工作电源电压:
101-0957 功能描述:开发板和工具包 - 其他处理器 Powercore Flex Kit International Vers. RoHS:否 制造商:Freescale Semiconductor 产品:Development Systems 工具用于评估:P3041 核心:e500mc 接口类型:I2C, SPI, USB 工作电源电压:
101-0961 功能描述:模块化系统 - SOM RCM3720 CORE MOD. RoHS:否 制造商:Digi International 外观尺寸:ConnectCore 9P 处理器类型:ARM926EJ-S 频率:150 MHz 存储容量:8 MB, 16 MB 存储类型:NOR Flash, SDRAM 接口类型:I2C, SPI, UART 工作电源电压:3.3 V 最大工作温度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
10-109611-3S 制造商:Amphenol Corporation 功能描述:10-109611-03S - Bulk
10-109611-4S 制造商:Amphenol Corporation 功能描述:10-109611-04S - Bulk
10-109614-02S 制造商:Amphenol Corporation 功能描述:ER 4C 4#16S SKT PLUG
10-109614-05P 制造商:Amphenol Industrial Operations 功能描述:ER 5C 5#16S PIN PLUG