EasyManua.ls Logo

Renesas V850 Series - Page 117

Renesas V850 Series
186 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CHAPTER 4 PROGRAM LIST
Application Note U17209EJ1V0AN
120
ld.w [sp],r1
add 4,sp
jr _int_MOTOR -- Speed control timer
V_AD0:
ld.w [sp],r1
add 4,sp
jr _int_AD0 -- A/D converter CH0
V_AD1:
ld.w [sp],r1
add 4,sp
jr _int_AD1 -- A/D converter CH1
.extern V_RESET
.extern V_U
.extern V_V
.extern V_W
.extern V_ETC
.extern V_MOTOR
.extern V_AD0
.extern V_AD1
/****************************************************************************** /
/* Interrupt jump table */
/****************************************************************************** /
.section ".vect_RESET",text
mov #V_RESET,r1
jmp [r1]
.section ".id_NO",text
.byte 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff
.section ".vect_U",text
add -4,sp
st.w r1,[sp]
mov #V_U,r1
jmp [r1]
.section ".vect_V",text
add -4,sp
st.w r1,[sp]
mov #V_V,r1
jmp [r1]
.section ".vect_W",text
add -4,sp
st.w r1,[sp]
mov #V_W,r1
jmp [r1]

Table of Contents