EasyManuals Logo

Renesas V850 Series User Manual

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
Page #86 background imageLoading...
Page #86 background image
CHAPTER 4 PROGRAM LIST
Application Note U17209EJ1V0AN
89
4.2 Program List (V850E/IA2)
4.2.1 Symbol definition
/****************************************************************************** /
/* Common area */
/****************************************************************************** /
unsigned char ram_start ;
unsigned char error_flag ; /* Error flag */
unsigned char init_flag ; /* Initial flag */
unsigned short cont_time ; /* Interrupt control time uSEC */
unsigned short cont_time1 ; /* Vector operation time uSEC */
unsigned short disp_co ; /* Interrupt control time display timer */
unsigned short volume ; /* Volume value */
unsigned short timer_count ; /* Time wait counter */
unsigned short accel_count ; /* Acceleration/deceleration operation time */
/* counter */
unsigned char stop_flag ; /* Stop flag */
signed short before_posi[21][2] ; /* Position buffer */
signed short total_sa ; /* Position total difference */
signed int sum_speed ;
signed int speed_co ;
signed int now_speed ; /* Present speed rms */
signed int object_speed ; /* Target speed rms */
unsigned int d_speed ; /* Display speed rms */
unsigned char ram_end ;
#pragma section const begin
const unsigned short led_pat[10] = { 0xfc, 0x60, 0xda, 0xf2, 0x66, 0xb6, 0xbe, 0xe0,
0xfe, 0xe6 } ;
#pragma section const end
/****************************************************************************** /
/* Common flags */
/****************************************************************************** /
extern unsigned char ram_start ;
extern unsigned char error_flag ; /* Error flag */
extern unsigned char init_flag ; /* Initial flag */
extern unsigned short cont_time ; /* Interrupt control time uSEC */
extern unsigned short cont_time1 ; /* Vector operation time uSEC */
extern unsigned short disp_co ; /* Interrupt control time display timer */
extern unsigned short volume ; /* Volume value */
extern unsigned short timer_count ; /* Time wait counter */
extern unsigned short accel_count ; /* Acceleration/deceleration operation */
/* time counter */
extern unsigned char stop_flag ; /* Stop flag */
extern signed short before_posi[21][2] ; /* Position buffer */
extern signed short total_sa ; /* Position total difference */
extern signed int sum_speed ;

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas V850 Series and is the answer not in the manual?

Renesas V850 Series Specifications

General IconGeneral
BrandRenesas
ModelV850 Series
CategoryInverter
LanguageEnglish