TOGGLESWITCH.C —demonstrates the use of costatements to detect swi" />
參數(shù)資料
型號: 20-101-1139
廠商: Rabbit Semiconductor
文件頁數(shù): 38/124頁
文件大?。?/td> 0K
描述: RCM4310 RABBITCORE
產(chǎn)品培訓(xùn)模塊: WiFi Authentication
標準包裝: 1
系列: RabbitCore®
模塊/板類型: MPU 核心模塊
適用于相關(guān)產(chǎn)品: RCM4310
其它名稱: 316-1142
RabbitCore RCM4300 User’s Manual
20
TOGGLESWITCH.C
—demonstrates the use of costatements to detect switch presses
using the press-and-release method of debouncing. LEDs DS2 and DS3 on the Proto-
typing Board are turned on and off when you press switches S2 and S3. S2 and S3 are
controlled by PB4 and PB5 respectively.
Once you have loaded and executed these five programs and have an understanding of
how Dynamic C and the RCM4300 modules interact, you can move on and try the other
sample programs, or begin building your own.
3.2.1 Tamper Detection
The tamper detection feature of the Rabbit 4000 microprocessor can be used to detect any
attempt to enter the bootstrap mode. When such an attempt is detected, the VBAT RAM
memory on the Rabbit 4000 chip is erased. The serial bootloader on RCM4300 Rab-
bitCore modules uses the bootstrap mode to load the SRAM, which erases the VBAT
RAM memory on any reset, and so it cannot be used for tamper detection. Therefore, no
tamper detection sample program is available for RCM4300 RabbitCore modules.
3.2.2 Use of microSD Cards
The following sample program can be found in the SAMPLES\RCM4300\SD_Flash folder.
SDFLASH_INSPECT.c
—This program is a utility for inspecting the contents of a
microSD Card. It provides examples of both reading and writing pages or sectors to
the microSD Card. When the sample program starts running, it attempts to initialize
the microSD Card on Serial Port B. The following five commands are displayed in
the Dynamic C STDIO window if a microSD Card is found:
p — print out the contents of a specified page on the microSD Card
r — print out the contents of a range of pages on the microSD Card
c — clear (set to zero) all of the bytes in a specified page
f — sets all bytes on the specified page to the given value
t — write user-specified text to a selected page
The sample program prints out a single line for a page if all bytes in the page are set to
the same value. Otherwise it prints a hex/ASCII dump of the page.
This utility works with the microSD Card at its lowest level, and writing to pages
will likely make the microSD Card unreadable by a PC. For PC compatibility, you
must use the Dynamic C FAT file system module, which allows you to work with files
on the microSD Card in a way that they will be PC-compatible.
相關(guān)PDF資料
PDF描述
20-101-1154 MODULE RCM4120 RABBITCORE
20-101-1197 MODULE RABBITCORE RCM3910 ROHS
20-101-1215 MCU RCM4050 RABBITCORE
20-101-1246 CORE MODULE RCM5400W
20-101-1260 BL5S220 SBC (RCM5400-BASED)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
20-101-1140 功能描述:WiFi/802.11模塊 RCM4400W CORE MODULE Wi-Fi/802.11 RoHS:否 制造商:Taiyo Yuden 支持協(xié)議:802.11 b/g/n 頻帶: 數(shù)據(jù)速率:150 Mbps 接口類型:SDIO 傳輸功率(最大): 天線連接器類型: 工作電源電壓:3.4 V to 5.5 V 傳輸供電電流: 接收供電電流: 最大工作溫度:+ 80 C 尺寸:35 mm x 15 mm x 2.9 mm
20-101-1153 功能描述:子卡和OEM板 RCM4300 Proto board RoHS:否 制造商:BeagleBoard by CircuitCo 產(chǎn)品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
20-101-1154 功能描述:模塊化系統(tǒng) - SOM RCM4120 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
20-101-1170 功能描述:Zigbee/802.15.4模塊 RCM4510W CORE MODULE RoHS:否 制造商:Digi International 頻帶:902 MHz to 928 MHz 視線范圍: 數(shù)據(jù)速率: 靈敏度: 工作電源電壓:2.4 V to 3.6 V 傳輸供電電流:215 mA 接收供電電流:26 mA 輸出功率:250 mW 天線連接器類型:Wire 最大工作溫度:+ 85 C 尺寸:32.94 mm x 22 mm x 2.03 mm
20-101-1179 功能描述:模塊化系統(tǒng) - SOM RCM3209 RABBITCORE 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