Welcome![Sign In][Sign Up]
Location:
Search - mb95200

Search list

[SCMIO_LED

Description: 富士通单片机mb95200系列流水灯程序-Fujitsu MCU mb95200 series water lamp process
Platform: | Size: 111616 | Author: coolbig | Hits:

[SCMLinMaster

Description: 此程序为LIN总线主节点的完整程序,适用于富士通MB95200系列芯片,用户下载即可适用-This program is a complete LIN bus master node procedure for Fujitsu MB95200 series chip, users can download application
Platform: | Size: 58368 | Author: chenhnu | Hits:

[SCMMB95200

Description: 此压缩包包含有五个工程文件,分别为AD,UART,IO,BUZZER,EXTEL_KEY,均为完整的代码,用户下载即可适用,用于富士通单片机MB95200系列-This bag contains five project file compression, respectively, AD, UART, IO, BUZZER, EXTEL_KEY, are full of code, users can download application
Platform: | Size: 324608 | Author: chenhnu | Hits:

[SCMscheandslavelin

Description: 压缩包包含有工程文件对应的电路图,以及电路图对应的LINslave节点的完整工程文件适用于MB95200系列单片机-Compression bags containing the corresponding circuit engineering documents, and the circuit node corresponding LINslave complete project file for the MB95200 Series MCU
Platform: | Size: 606208 | Author: chenhnu | Hits:

[SCMpwm-by-ad

Description: 关于富士通单片机的入门实例程序,些程序是基于富士通MB95F263的编程实例,可以直接调入便用,已将编译器的相关设置配置OK。-About Fujitsu MCU entry sample program, some program is based on Fujitsu MB95F263 the programming examples, can be directly transferred to it by, the relevant compiler settings have been configured OK.
Platform: | Size: 101376 | Author: 无形剑客 | Hits:

[SCMProject

Description: 富士通MB95200演示程序,旨在通过一个简短的DEMO,引导刚开始使用这块高性能单片机的同学学习使用- F2MC-8L Family SOFTUNE C Compiler sample program routine, ALL RIGHTS RESERVED, COPYRIGHT (C) FUJITSU LIMITED 1986 LICENSED MATERIAL- PROGRAM PROPERTY OF FUJITSU LIMITED
Platform: | Size: 4096 | Author: 刘夏 | Hits:

[SCM500025_E_10_ADC

Description: 概要 本文档介绍了A/D 转换的API。 我们应该设置三个函数控制 A/D 转换: 初始化 A/D 转换,设置 A/D 转换状态,以及读取A/D 转换结果。-***************************************************************************** MB95200 Series I/O register declaration file V01L02 ALL RIGHTS RESERVED, COPYRIGHT (C) FUJITSU MICROELECTRONICS LIMITED 2008 LICENSED MATERIAL- PROGRAM PROPERTY OF FUJITSU MICROELECTRONICS LIMITED ******************************************************************************/ /****************************************************************************** Name: MAIN.C Function: By setting start-bit and Check with the conversion flag bit ******************************************************************************/ #include "..\MB95200_IO\mb95200.h" #include "AD.h" int AD_SAMPLE_VLAUE=0 /*************************** vDelay routine*********************************/ void vDelay(unsigned int uiCount) { int i while(uiCount--) { for(i=0 i<1000 i++) asm("\tNOP") } } /****************************************************************************** Name: AD_Sample Function: U
Platform: | Size: 90112 | Author: Shijie | Hits:

[SCM500022-E-10_Basic

Description: 本文档介绍了时钟、 CSV、待机模式、wild寄存器、中断和外部中断的 API。-***************************************************************************** MB95200 Series I/O register declaration file V01L02 ALL RIGHTS RESERVED, COPYRIGHT (C) FUJITSU MICROELECTRONICS LIMITED 2008 LICENSED MATERIAL- PROGRAM PROPERTY OF FUJITSU MICROELECTRONICS LIMITED *****************************************************************************/ /*NAME: MAIN.C FUNCTION: Change the system clock and lighten three LED LED flicker frequency different in different clock *****************************************************************************/ #include "..\MB95200_IO\mb95200.h" #include "Clock_Controller.h" #define LED3 PDR6_P64 #define LED4 PDR6_P63 #define Light 0 /*LED light*/ #define Unlight 1 /*LED unlight*/ unsigned char Clock_Status,Clock_Divide_Status /*************************** vDelay routine*********************************/ void vDelay(unsigned int uiCount) { int i while(uiCount--) { for(i=0 i<100 i++) asm("\tNOP")
Platform: | Size: 567296 | Author: Shijie | Hits:

[SCMBasic_FW_Setup-500002

Description: 概要 本文档介绍了如何对FUJITSU F2MC-8FX家族MB95200H/210H系列进行固件设置。 本文档同时介绍了初始化程序,堆栈指针(SP),直接存储区指针(DP),时钟控制以及待机控制。 MCU--/* THIS SAMPLE CODE IS PROVIDED AS IS AND IS SUBJECT TO ALTERATIONS. FUJITSU*/ /* MICROELECTRONICS ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR*/ /* ELIGIBILITY FOR ANY PURPOSES. */ /* (C) Fujitsu Microelectronics (Shanghai) Co., LTD. */ /* Date:20080320 Version:1V0 Author:Lori */ /*--------------------------------------------------------------------------- NAME: MAIN.C FUNCTION: Change the system clock and lighten three LED LED flicker frequency different in different clock ******************************************************************************/ #include "mb95200.h" #define MAIN 0x00 #define SUB 0x01 #define MAIN_CR 0x02 #define SUB_CR 0x03 unsigned char switchclock = MAIN //select the start clock unsigned char toggle_status //LED change bit unsigned char i /****************************************************************************** NAME: MCU initializat
Platform: | Size: 262144 | Author: Shijie | Hits:

[SCM500029_Sub_clock_Clock

Description: 概要 本文档介绍了如何使用 MB95200H/210H 系列 MCU的副时钟设计时钟,并举例说明了其开发过程。-#include "../MB95200_IO/mb95200.h" unsigned char C_Second unsigned char C_Minute unsigned char C_Hour void Clock_minute_process(void) void Clock_hour_process(void) void Second_output(void) void Minute_output(void) void Hour_output(void) /*----------------------------------------------------------------------------- /*NAME : __interrupt void Watch_Prescaler (void) /*FUNCTION : Processing the watch prescaler /*INPUT : NO /*OUTPUT : NO -----------------------------------------------------------------------------*/ void System_SubC_init(void) // Clock Controller initial { SYSC_PGSEL = 0 // Enable sub-clock input SYSC_PFSEL = 0 // Enable main-clock input WATR = 0xC0 STBC = 0x00 SYCC2 = 0xFC // Enable sub-clock and main-clock SYCC = 0x00 while(SYCC_SRDY) } void Watch_prescalar_initial(void) { WPCR = 0x46 // Enable interrupt, interval time = 1.s WPCR_WCLR = 1 // Clears watch prescaler couter } __interrupt void Watch_P
Platform: | Size: 95232 | Author: Shijie | Hits:

[SCM500023-E-10_Counter_and_timer

Description: 概要 本文档介绍了时基定时器,看门狗定时器、计时和多功能定时器的 API。-****************************************************************************** MB95200 Series I/O register declaration file V01L02 ALL RIGHTS RESERVED, COPYRIGHT (C) FUJITSU MICROELECTRONICS LIMITED 2008 LICENSED MATERIAL- PROGRAM PROPERTY OF FUJITSU MICROELECTRONICS LIMITED ******************************************************************************/ #include "..\MB95200_IO\mb95200.h" #include "Composite_Timer.h" unsigned int zz /****************************************************************************** NAME: main() FUNCTION: loop main ******************************************************************************/ void main(void) { long i=10000 CRTH &= 0x9f CRTH |= 0x00 CRTH_CRSEL0 = 0 CRTH_CRSEL1 = 1 //CRTH_CRSEL = 2 //SYSC = 0x03 SYSC_EC0SL = 1 SYCC2 = 0x21 DDR0_P04 = 0 DDR6_P63 = 1 PDR6_P63 = 1 //DDR0_P04 = 0 /*P04 input*/ AIDRL |= 0x10 /* disable AN04 input*/ //PDR0_P05 = 1 /* enable main clock and main CR
Platform: | Size: 359424 | Author: Shijie | Hits:

[SCMCSV-500012

Description: 时钟监视器计数器的概要和配置 时钟监视器计数器的寄存器的设置方法 时钟监视器计数器的操作 时钟监视器计数器的使用。-/* THIS SAMPLE CODE IS PROVIDED AS IS AND IS SUBJECT TO ALTERATIONS. FUJITSU*/ /* MICROELECTRONICS ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR*/ /* ELIGIBILITY FOR ANY PURPOSES. */ /* (C) Fujitsu Microelectronics (Shanghai) Co., LTD. */ /* Date:20080320 Version:1V0 Author:Ivan.Xiao */ /*-------------------------------------------------------------------------*/ /****************************************************************************** NAME: main.c FUNCTION: check external clock ******************************************************************************/ //#include "mb95200.h" #include "_f2mc8fx.h" unsigned char ii /****************************************************************************** NAME: vSysInit() FUNCTION: initial ******************************************************************************/ void vSysInit(void) { SYSC = 0x03 SYCC2 = 0x25 //enab
Platform: | Size: 87040 | Author: Shijie | Hits:

[SCMEx_Int-500007

Description: 1 概要 本文档介绍了如何设置并使用外部中断。 本文档同时描述了外部中断的功能,并给出了具体实例。 MCU-AN--/* THIS SAMPLE CODE IS PROVIDED AS IS AND IS SUBJECT TO ALTERATIONS. FUJITSU*/ /* MICROELECTRONICS ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR*/ /* ELIGIBILITY FOR ANY PURPOSES. */ /* (C) Fujitsu Microelectronics (Shanghai) Co., LTD. */ /* Date:20080320 Version:1V0 Author:Levi */ /*-------------------------------------------------------------------------*/ /****************************************************************************** NAME: main.c FUNCTION: Give a exmaple for mode switch with external interrupt ******************************************************************************/ #include "mb95200.h" #define RUNMODE 1 #define STOPREQUEST 0 unsigned char status /***************************************************************************** NAME: InitExtInt0206 () FUNCTION: initial external interrupt *************************************************************
Platform: | Size: 182272 | Author: Shijie | Hits:

[SCMDBG_test-500009

Description: 本应用介绍了DBG引脚的使用方法。调试模式下,DBG引脚可用作单线UART通信端口;自由运行模式下,DBG引脚可用作P12/EC0。-/****************************************************************************** F2MC-8FX Family SOFTUNE C Compiler sample startup routine, ALL RIGHTS RESERVED, COPYRIGHT (C) FUJITSU LIMITED 2008 LICENSED MATERIAL- PROGRAM PROPERTY OF FUJITSU LIMITED ******************************************************************************/ /****************************************************************************** Name: MAIN.C Function: By setting start-bit and Check with the conversion flag bit ******************************************************************************/ #include "MB95200.h" //===================================================================== //following code created for DBG pin usage test #define DEBUGMODE //set DBG pin as P12 output void gpio_setting(void) { DDR1_P12 = 1 /* set P12 as output pin*/ PDR1_P12 = 0 /* pull P12 to low.*/ } //set DBG pin as EC0 pin void p12_as_ec0(void) { SYSC = 0xE3 // set P12 as EC0 pi
Platform: | Size: 108544 | Author: Shijie | Hits:

[SCMWDT-500013

Description: 本应用介绍了如何使用监视定时器。 本应用描述了监视定时器的功能并举例说明。-* THIS SAMPLE CODE IS PROVIDED AS IS AND IS SUBJECT TO ALTERATIONS. FUJITSU*/ /* MICROELECTRONICS ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR*/ /* ELIGIBILITY FOR ANY PURPOSES. */ /* (C) Fujitsu Microelectronics (Shanghai) Co., LTD. */ /* Date:20080320 Version:1V0 Author:Levi */ /*-------------------------------------------------------------------------*/ /****************************************************************************** NAME: main.c FUNCTION: Give a example for HWWDT Hardware watchdog timer starts automatically after a reset and cannot be stopped. The internal time is fixed to 216/FCRL ******************************************************************************/ #include "mb95200.h" /****************************************************************************** NAME: Delay() FUNCTION: delay function ****************************************************
Platform: | Size: 169984 | Author: Shijie | Hits:

[SCMLin-Uart-500006

Description: 本应用介绍了如何在各种模式下使用LIN-UART。 介绍了LIN-UART的各种功能和工作模式并给出了样本代码。LIN-UART具有4个工作模式。工作模式0是异步模式(正常模式) 工作模式1是异步(多处理器模式) 工作模式2是同步模式(正常模式) 工作模式3是异步模式(LIN模式)。-/* THIS SAMPLE CODE IS PROVIDED AS IS AND IS SUBJECT TO ALTERATIONS. FUJITSU*/ /* MICROELECTRONICS ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR*/ /* ELIGIBILITY FOR ANY PURPOSES. */ /* (C) Fujitsu Microelectronics (Shanghai) Co., LTD. */ /* Date:20080320 Version:1V0 Author:Glede */ /*-------------------------------------------------------------------------*/ /****************************************************************************** NAME : Main.c FUNCTION: transmit a byte or receive a byte when the LIN-UART operates in asynchronous mode (mode 0). ******************************************************************************/ #include "mb95200.h" /****************************************************************************** NAME : UART_init () FUNCTION: Initialize the LIN-UART in operation mode 0(asynchronous mode) *********************************************************
Platform: | Size: 356352 | Author: Shijie | Hits:

[SCM500039_Wake_up_on_key

Description: 本文档描述了如何通过按键从待机模式中唤醒设备,并给出了代码示例。-/****************************************************************************** F2MC-8FX Family SOFTUNE C Compiler sample startup routine, ALL RIGHTS RESERVED, COPYRIGHT (C) FUJITSU LIMITED 2008 LICENSED MATERIAL- PROGRAM PROPERTY OF FUJITSU LIMITED NAME: MAIN.C FUNCTION: Change the system clock and lighten three LED LED flicker frequency different in different clock ******************************************************************************/ #include "mb95200.h" #define LED2 PDR0_P05 #define LED3 PDR6_P64 #define LED4 PDR6_P63 #define Light 0 /*LED light*/ #define Unlight 1 /*LED unlight*/ /**************** vDelay routine ***********************/ unsigned char vDelay(unsigned int uiCount) { int i while(uiCount--) { for(i=0 i<100 i++) asm("\tNOP") } } /****************************************************************************** NAME: __interrupt void external_int06(void) FUNCTION: ***********************************************
Platform: | Size: 44032 | Author: Shijie | Hits:

CodeBus www.codebus.net