tmp19a61f10xbg TOSHIBA Semiconductor CORPORATION, tmp19a61f10xbg Datasheet - Page 55

no-image

tmp19a61f10xbg

Manufacturer Part Number
tmp19a61f10xbg
Description
32-bit Tx System Risc Tx19 Family
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMP19A61F10XBG
Manufacturer:
TOSHIBA
Quantity:
1 000
Part Number:
TMP19A61F10XBG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
6.9.1
6.9.1.1
(Note) The above examples assume the use of Assembler made by Toshiba. If any third party
(1) Set Status <IM [4:2]> of CP0 register to "111."
(2) Set the base address of the interrupt vector table to IVR [31:8] of INTC.
(3) Set the interrupt handler addresses for the respective interrupt factors to the addresses obtained as
Before using interrupts, it is necessary to appropriately configure them. Necessary settings that have to
be made regardless of the interrupt factors are described in Section 6.9.1.1 “ Common Initialization” and
settings specifically required for certain factors and applications are described in Section 6.9.1.2
“Initialization for Individual Interrupt Factors”.
In order to use interrupts, the following settings are necessary:
Example of the above step (1): When the interrupt exception vector address 0xBFC00400 is used
lui
addiu
mtc0
Example of the above step (2): If Vector Table is used as the label of the interrupt vector table
lui
addiu
lui
sw
Example of the above step (3): If the base address of interrupt vector is set to 0xBFC20000
_VectorTable section code isa32 abs=0xBFC20000
VectorTable:
dw
dw
dw
dw
dw
dw
dw
dw
dw
the sum of the base address of "the interrupt vector table and the IVR [7:0] values corresponding to
the respective interrupt factors."
Initialization for Interrupts
Assembler is used, it may generate syntax errors; you are advised to modify the above
statements according to the Assembler to be used.
Common Initialization
r2,0x1040
r2,r2,0x1C00
r3,hi(VectorTable)
r3,r3,lo(VectorTable)
r2,hi(IVR)
r3,lo(IVR)(r2)
_SWINT
_INT0
_INT1
_INT2
_INT3
_INT4
_INT5
_INT6
_INT7
r2,r12
TMP19A61(rev1.0)-6-54
; CU0=1 ,BEV =1 (r2 =0x1040_xxxx)
; IM4,IM3,IM2 =1 (r2 =0x1040_1C00)
; r3 =VectorTable address
; r2 =0xFFFF_xxxx(Upper 16 bits of IVR address)
; Set address of Vector Table to IVR[31:8]
; 0 --- software interrupt
; 1 --- INT0
; 2 --- INT1
; 3 --- INT2
; 4 --- INT3
; 5 --- INT4
; 6 --- INT5
; 7 --- INT6
; 8 --- INT7
TMP19A61

Related parts for tmp19a61f10xbg