参数资料
型号: C8051F226DK-E
厂商: Silicon Laboratories Inc
文件页数: 4/12页
文件大小: 0K
描述: DEV KIT F220/221/226/230/231/236
标准包装: 1
C8051F2xx-DK
5. Example Source Code
Example source code and register definition files are provided in the “ SiLabs\MCU\Examples\C8051F2xx ”
directory during IDE installation. These files may be used as a template for code development. Example
applications include a blinking LED example which configures the green LED on the target board to blink at a fixed
rate.
5.1. Register Definition Files
Register definition files C8051F200.inc and C8051F200.h define all SFR registers and bit-addressable
control/status bits. They are installed into the “ SiLabs\MCU\Examples\C8051F2xx ” directory during IDE
installation. The register and bit names are identical to those used in the C8051F2xx data sheet. Both register
definition files are also installed in the default search path used by the Keil Software 8051 tools. Therefore, when
using the Keil 8051 tools included with the development kit (A51, C51), it is not necessary to copy a register
definition file to each project’s file directory.
5.2. Blinking LED Example
The example source files blink.asm and blinky.c show examples of several basic C8051F2xx functions. These
include; disabling the watchdog timer (WDT), configuring the Port I/O crossbar, configuring a timer for an interrupt
routine, initializing the system clock, and configuring a GPIO port. When compiled/assembled and linked this
program flashes the green LED on the target board about five times a second using the interrupt handler with a
timer.
4
Rev. 0.6
相关PDF资料
PDF描述
MAX6432FGUS+T IC MONITOR BAT LP SOT143-4
C8051F206DK-E DEV KIT FOR C8051F206
C8051F124DK-E DEV KIT FOR F124/F125/F126/F127
ECM25DSEN-S243 CONN EDGECARD 50POS .156 EYELET
MAX6432CIUS+T IC MONITOR BAT LP SOT143-4
相关代理商/技术参数
参数描述
C8051F226DK-H 功能描述:DEV KIT F220/221/226/230/231/236 RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 类型:MCU 适用于相关产品:Freescale MC68HC908LJ/LK(80-QFP ZIF 插口) 所含物品:面板、缆线、软件、数据表和用户手册 其它名称:520-1035
C8051F226DK-J 功能描述:DEV KIT F220/221/226/230/231/236 RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 类型:MCU 适用于相关产品:Freescale MC68HC908LJ/LK(80-QFP ZIF 插口) 所含物品:面板、缆线、软件、数据表和用户手册 其它名称:520-1035
C8051F226DK-K 功能描述:DEV KIT F220/221/226/230/231/236 RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 类型:MCU 适用于相关产品:Freescale MC68HC908LJ/LK(80-QFP ZIF 插口) 所含物品:面板、缆线、软件、数据表和用户手册 其它名称:520-1035
C8051F226DK-T 功能描述:DEV KIT F220/221/226/230/231/236 RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 类型:MCU 适用于相关产品:Freescale MC68HC908LJ/LK(80-QFP ZIF 插口) 所含物品:面板、缆线、软件、数据表和用户手册 其它名称:520-1035
C8051F226DK-U 功能描述:DEV KIT F220/221/226/230/231/236 RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 类型:MCU 适用于相关产品:Freescale MC68HC908LJ/LK(80-QFP ZIF 插口) 所含物品:面板、缆线、软件、数据表和用户手册 其它名称:520-1035