14-C8051F
c8051f 

所属分类:单片机开发
开发工具:C/C++
文件大小:4011KB
下载次数:1
上传日期:2015-07-01 17:27:20
上 传 者kuailexiaowen
说明:  非常全的8051单片机学习资料,涵盖很多芯片的模块资料
(8051 very wide learning materials)

文件列表:
14 C8051F单片机全系列范例 (0, 2011-05-30)
14 C8051F单片机全系列范例\C8051F00x_01x (0, 2011-05-30)
14 C8051F单片机全系列范例\C8051F00x_01x\ADC (0, 2011-05-30)
14 C8051F单片机全系列范例\C8051F00x_01x\ADC\F00x_ADC0_ExternalInput.c (15026, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\ADC\F00x_ADC0_ExternalInput_Mux.c (20303, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\ADC\F00x_ADC0_TempSensor.asm (9971, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\Blinky (0, 2011-05-30)
14 C8051F单片机全系列范例\C8051F00x_01x\Blinky\c8051F000.h (14646, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\Blinky\C8051F000.INC (9641, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\Blinky\F00x_Blinky.asm (2713, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\Blinky\F00x_Blinky.c (2884, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\Blinky\F00x_Blinky_Asm.wsp (32172, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\Blinky\F00x_Blinky_C.wsp (32166, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\Comparators (0, 2011-05-30)
14 C8051F单片机全系列范例\C8051F00x_01x\Comparators\F00x_Comparator0_ResetSource.c (8235, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\DAC (0, 2011-05-30)
14 C8051F单片机全系列范例\C8051F00x_01x\DAC\F0xx_DACs_SineCosine.c (12438, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\Header_Files (0, 2011-05-30)
14 C8051F单片机全系列范例\C8051F00x_01x\Header_Files\c8051F000.h (14646, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\Header_Files\C8051F000.INC (9641, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\Interrupts (0, 2011-05-30)
14 C8051F单片机全系列范例\C8051F00x_01x\Interrupts\F00x_External_Interrupts.c (6691, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\Oscillators (0, 2011-05-30)
14 C8051F单片机全系列范例\C8051F00x_01x\Oscillators\F0xx_Oscillator_Capacitor.c (11149, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\Oscillators\F0xx_Oscillator_CMOS.c (8715, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\Oscillators\F0xx_Oscillator_Crystal.c (9517, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\Oscillators\F0xx_Oscillator_RC.c (10587, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\PCA (0, 2011-05-30)
14 C8051F单片机全系列范例\C8051F00x_01x\PCA\F00x_PCA0_8Bit_PWM_Output.c (8628, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\PCA\F00x_PCA0_Capture_Input.c (11472, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\PCA\F0xx_PCA0_High_Speed_Output.c (9864, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\PCA\F0xx_PCA0_Software_Timer_Blinky.c (10558, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\PortIO (0, 2011-05-30)
14 C8051F单片机全系列范例\C8051F00x_01x\PortIO\F00x_Ports_SwitchLED.c (5313, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\SMBus (0, 2011-05-30)
14 C8051F单片机全系列范例\C8051F00x_01x\SMBus\F0xx_SMBus_EEPROM.c (32267, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\SMBus\F0xx_SMBus_Master.c (20129, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\SMBus\F0xx_SMBus_Master_Multibyte.c (22306, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\SMBus\F0xx_SMBus_Multimaster.c (27288, 2007-09-12)
14 C8051F单片机全系列范例\C8051F00x_01x\SMBus\F0xx_SMBus_Slave.c (13627, 2007-09-12)
... ...

------------------------------------------------------------------------------- Readme.txt ------------------------------------------------------------------------------- Copyright 2006 Silicon Laboratories, Inc. http://www.silabs.com Program Description: ------------------- This example program uses the static LIN API to send and receive signals that control the LED's on one or two C8051F530 Target Boards. The example network works with one master and one to three slaves. It can be modified to meet the requirements of the user application. Project Note: ------------ This project is organized such that it is can be easily modified to meet the requirements of the user's LIN application. The following changes should be made to the project files: 1. LIN.h: a. Define the system clock frequency (SYSCLK). b. Define LIN_MODE as LIN_MASTER or LIN_SLAVE. c. If MASTER_MODE is used, define the LIN bit rate (LIN_BIT_RATE) and system tick frequency (FREQUENCY_SYSTEM_TICK). 2. LIN_Frame_Management.c: a. Modify application_frame_descriptor[] to hold definitions for frames that will be transmitted in the user application. Do not modify diagnostic_frame_descriptor[]. b. If in MASTER_MODE, define all necessary schedules (data type l_schedule). Do not modify diagnostic_master_request_schedule[]. 3. LIN_Signal.c: a. Define all signals and associated flags to be transmitted across the LIN bus. b. Create functions to read and write all signals and associated flags. c. Modify l_get_tx_frame_data () to load frame_data[] with the data to send based on frame_id. d. If there are any sporadic frames in the system, modify l_get_sporadic_frame_id () to return the highest priority signal for a frame with ID frame_id. e. Modify l_tx_complete () to set flags associated with signals transmitted in frame frame_id. f. Modify l_process_rx_frame_data () to take the received data from frame_data[] and load it into the correct signals based on frame_id. 4. LIN_ISR.c: a. Modify the Wake-up Request section to perform any functions that should be performed when the device receives a wake-up signal. b. If in MASTER_MODE, modify the call to l_sch_set_std_ifc () to point to the desired schedule. 5. LIN_Main.c: a. Add application code. b. If in MASTER_MODE, modify any call(s) to l_sch_set_std_ifc () to point to the desired schedule. How To Test: ----------- 1) Open the project file LIN_API_Static.wsp. 2) In LIN.h, select MASTER_MODE and build the code. 3) Download the code to one of the C8051F530-AT devices on the C8051F530 Target Board. 4) In LIN.h, select SLAVE_MODE and build the code. 5) In LIN_Main.h, set LIN_SLAVE_ID to LIN_SLAVE_ID_0. 6) Download the code to the other C8051F530-AT device on the C8051F530 Target Board. 7) If you wish to add another target board to the system, build the project with LIN_SLAVE_ID set to LIN_SLAVE_ID_1 and LIN_SLAVE_ID_2, and download those images to the devices on the target board. 8) Disconnect so all devices in the network are running. 9) Pressing the switch connected to the master will toggle the LED connected to LIN_SLAVE_ID_0. The next time it is pressed, LIN_SLAVE_ID_1's LED toggles. The next time, LIN_SLAVE_ID_2's LED toggles. 10) Pressing the switch connected to any of the slaves will cause the master's LED to toggle. Known Issues and Limitations: ---------------------------- 1) Firmware works with the Silicon Labs IDE v2.83 or later and the Keil C51 tool chain. Project and code modifications will be necessary for use with different tool chains. 2) Place jumpers on target board to connect the LEDs and switches. Target and Tool Chain Information: --------------------------------- Target: C8051F52x / C8051F53x Tool chain: Keil C51 7.50 / Keil EVAL C51 Silicon Laboratories IDE version 2.83 Project Name: LIN_API Command Line Options: -------------------- Assembler : Default Compiler : Default Linker : Default File List: --------- LIN.h LIN_Signal.c LIN_Signal.h LIN_Defs.h LIN_Diagnostic.c LIN_Diagnostic.h LIN_Driver.c LIN_Driver.h LIN_Frame_Management.c LIN_Frame_Management.h LIN_Init.c LIN_Init.h LIN_Interface.c LIN_Interface.h LIN_ISR.c LIN_ISR.h LIN_Main.c LIN_Main.h ReadMe.txt (this file) Release Information: ------------------- Version 1.00 Initial release (JM). ?? ??? 200? ------------------------------------------------------------------------------- End Of File -------------------------------------------------------------------------------

近期下载者

相关文件


收藏者