参数资料
型号: C8051F226-TB
厂商: Silicon Laboratories Inc
文件页数: 4/12页
文件大小: 0K
描述: BOARD PROTOTYPING W/C8051F226
标准包装: 1
类型: MCU
适用于相关产品: C8051F226
所含物品:
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描述
C8051F330-TB BOARD PROTOTYPING W/C8051F330
LGU2G101MELA CAP ALUM 100UF 400V 20% SNAP
SDR-Q SCOTCH CODE REFILL Q
0210391036 CABLE JUMPER 1MM .102M 33POS
RBM22DSXH CONN EDGECARD 44POS DIP .156 SLD
相关代理商/技术参数
参数描述
C8051F23 制造商:未知厂家 制造商全称:未知厂家 功能描述:8K Flash, 256 RAM, 48-Pin MCU
C8051F230 功能描述:8位微控制器 -MCU 8KB RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
C8051F230-GQ 功能描述:8位微控制器 -MCU 8KB 48P MCU RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
C8051F230-GQR 功能描述:8位微控制器 -MCU 8KB 48Pin MCU Tape and Reel RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
C8051F230R 功能描述:8位微控制器 -MCU T-0 48 Pin RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT