EasyManua.ls Logo

Renesas V850 Series - Program List for V850 EMA3

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
165
4.5 Program List (V850E/MA3)
4.5.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 ;
extern signed int speed_co ;

Table of Contents