參數(shù)資料
型號: C
英文描述: HIGH VOLTAGE POWER SCHOTTKY RECTIFIER
中文描述: C編譯器啟動文件的雙隨機PWM控制器
文件頁數(shù): 5/16頁
文件大小: 371K
代理商: C
M16C/62
;====================================================================
; Interrupt section start
;---------------------------------------------------------------------
.insf start,S,0 ; for stkviewer (see Tool Manager and NC30 manuals)
.glb
start
.section
interrupt
protect
.equ
0ah
cm0
.equ
06h
cm1
.equ 07h
pm1
.equ 05h
;---------------------------------------------------------------------
; after reset, execution starts here
;---------------------------------------------------------------------
;Upon reset, the processor clock (bclk) is divided by 8 (f/8). The ROM Monitor
;on the Starter Kit sets bclk to f/1. For consistent stand alone operation,
;bclk is set to f/1 here.
start:
ldc
#istack_top,isp ;set istack pointer
mov.b #03h,protect ;need to set protect register to operate on clock
mov.b #08h,cm0 ;mode and processor mode registers.
mov.b #08h,pm1 ;ROM Monitor sets this bit,set here for stand alone
;operation (allows use of all internal RAM & ROM)
mov.b #00h,protect
ldc
#0000h,
flg ;ensure using register block 0 and use ISP if no RTOS
ldc
#stack_top,sp ;set if using an RTOS, has no effect otherwise
ldc
#data_SE_top,sb ;set sb register, for sb relative addressing
ldintb #VECTOR_ADR
nop
;Delay before
fset i
;enabling interrupts.
;====================================================================
; Variable area initialization. This code uses macro's (see sect30.inc)
; for initializing C variables. Clears global variables,
; sets initialized variables, etc.
;--------------------------------------------------------------------
; bss zero clear
;--------------------------------------------------------------------
N_BZERO
bss_SE_top,bss_SE
N_BZERO
bss_SO_top,bss_SO
N_BZERO
bss_NE_top,bss_NE
N_BZERO
bss_NO_top,bss_NO
C Compiler Startup Files for the M16C/62 MCU
AN-DECE-MCU-23-A
February 2002
4
相關PDF資料
PDF描述
G1-37 GENERAL-PURPOSE PHOTOVOLTAIC CELL
G1-5 GENERAL-PURPOSE PHOTOVOLTAIC CELL
G1-8 GENERAL-PURPOSE PHOTOVOLTAIC CELL
G21-1-37 GENERAL-PURPOSE PHOTOVOLTAIC CELL
G21-2-37 GENERAL-PURPOSE PHOTOVOLTAIC CELL
相關代理商/技術參數(shù)
參數(shù)描述
-C 制造商:Middle Atlantic Products 功能描述:
C 0300-022-2500S 制造商:MISCELLANEOUS 功能描述: