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 #61 background imageLoading...
Page #61 background image
CHAPTER 4 PROGRAM LIST
Application Note U17209EJ1V0AN
64
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 ;
extern signed int now_speed ; /* Present speed rms */
extern signed int object_speed ; /* Target speed rms */
extern unsigned int d_speed ; /* Display speed rms */
extern unsigned char ram_end ;
#pragma section const begin
extern const unsigned short led_pat[] ;;
#pragma section const end
/****************************************************************************** /
/* Motor common definition */
/****************************************************************************** /
extern signed short iua ; /* U-phase current */
extern signed short iva ; /* V-phase current */
extern signed int o_iqai ; /* Speed integral value area */
extern signed int base_position ; /* Speed estimation value reference point */
extern unsigned int sa_time ; /* Speed measurement value */
extern unsigned short timer_count ; /* Time wait counter */
extern unsigned short accel_count ; /* Acceleration/deceleration operation */
/* time counter */
extern unsigned short init_co ; /* Initial interrupt counter */
extern unsigned char init_pat ; /* Initial pattern counter */
extern unsigned short init_upco ; /* Initial speed-up counter */
extern unsigned int int_co ; /* UVW interrupt counter */
extern signed int pwm_value ; /* PWM output value */
#pragma section const begin
extern const unsigned char cw_data[][2] ;
extern const unsigned char ccw_data[][2] ;
extern const unsigned char up_data[] ;
extern const unsigned char run_cw_data[][2] ;
extern const unsigned char run_ccw_data[][2] ;
#pragma section const end
4.1.2 Constant definition
/****************************************************************************** /
/* I/O */
/****************************************************************************** /
#define BASE_IO 0xc200000
#define LED11 3
#define LED12 2
#define LED13 1
#define LED14 0

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