參數(shù)資料
型號: XE8807AMI026TLF
廠商: Semtech
文件頁數(shù): 96/143頁
文件大?。?/td> 0K
描述: IC MCU LOW PWR MTP FLASH 32-TQFP
標準包裝: 1
系列: XE880x
應(yīng)用: 感測機
核心處理器: Coolrisc816?
程序存儲器類型: 閃存(11 kB)
控制器系列: XE8000
RAM 容量: 512 x 8
接口: UART,USRT
輸入/輸出數(shù): 24
電源電壓: 2.4 V ~ 5.5 V
工作溫度: -40°C ~ 85°C
安裝類型: 表面貼裝
封裝/外殼: 32-TQFP
包裝: 標準包裝
供應(yīng)商設(shè)備封裝: 32-TQFP(7x7)
產(chǎn)品目錄頁面: 585 (CN2011-ZH PDF)
配用: XE8000MP-ND - PROG BOARD AND PROSTART2 CARD
其它名稱: XE8807AMI026DKR
Semtech 2006
www.semtech.com
8-6
XE8806A/XE8807A
First of all, the jump addresses are defined at the beginning of the crt0.s file. In our case, all three interrupt levels
jump to the same place (defined by the _interrupt label), but this can be changed if required.
########################################################################
## Reset & interrupt vectors
########################################################################
_start:
jump
main_init
; reset
jump
_interrupt
; IN1
jump
_interrupt
; IN2
jump
_interrupt
; IN0
The first thing to do when an interrupt is activated is to save the context. You have to start with saving the contents
of the accumulator, then the flags and finally the internal CPU registers. You will find this part of the code in the
IRQComon_xx.s file.
_interrupt:
########################################################################
## Save all registers and flags
########################################################################
move
-(i3), a
move
a, r0
sflag
move
-(i3), a
move
-(i3), ipl
move
-(i3), iph
move
-(i3), i0l
move
-(i3), i0h
move
-(i3), i1l
move
-(i3), i1h
move
-(i3), i2l
move
-(i3), i2h
move
-(i3), r0
move
-(i3), r1
move
-(i3), r2
move
-(i3), r3
Next step is to determine which interrupt is activated. In this case, we use the value in the RegIrqPriority register
to determine the highest priority interrupt that was activated. Other ways can be used, especially when the priority
order fixed in the hardware needs to be changed. You will find this part of the code in the IRQComon_xx.s file. In
this example, the labels are used as defined for the XE8802.
########################################################################
## The following lines enables the adress calculation of the interrupt
## table. Where RegIrqPriority is the addres offset for the table.
## The RegIrqPriority valid values are between 0x00 until 0x017. The
## 0xFF value should never exist.
########################################################################
move
r0,RegIrqPriority
calls _interrupttab
; save pc+1 in ip
_interrupttab:
add
ipl,#0x05
; add the offset, nb instr. before table
addc
iph,#0x00
; propagate carry
add
ipl,r0
; add the offset of the regirqpriority
addc
iph,#0x00
; propagate carry
rets
; put ip in pc
; interrupt table
jump
ret_int
;
RegIrqPriority = 0x00
jump
ret_int
;
RegIrqPriority = 0x01
jump
Irq_Pa2
;
RegIrqPriority = 0x02
jump
Irq_Pa3
;
RegIrqPriority = 0x03
jump
Irq_CntD
;
RegIrqPriority = 0x04
jump
Irq_CntB
;
RegIrqPriority = 0x05
相關(guān)PDF資料
PDF描述
XIO2200AGGW IC PCI-EXPRESS/BUS BRIDGE 176BGA
XIO2200AZGW IC PCI-EXPRESS/BUS BRIDGE 176BGA
XPC823ZT81B2T IC MPU POWERQUICC 81MHZ 256-PBGA
XPC8240RZU250E MCU HOST PROCESSOR 352-TBGA
XQ6SLX150T-3CSG484I IC FPGA SPARTAN-6Q 484-CSBGA
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
XE88LC01 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Sensing Machine 16 + 10 bit Data Acquisition Ultra Low-Power Microcontroller
XE88LC01MI000 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Sensing Machine 16 + 10 bit Data Acquisition Ultra Low-Power Microcontroller
XE88LC01MI027 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Sensing Machine 16 + 10 bit Data Acquisition Ultra Low-Power Microcontroller
XE88LC01MI032 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Sensing Machine 16 + 10 bit Data Acquisition Ultra Low-Power Microcontroller
XE88LC01RI000 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Sensing Machine 16 + 10 bit Data Acquisition Ultra Low-Power Microcontroller