List Of Macro Definition; List Of Constant Variable - Renesas M16C/Tiny User Manual

Hide thumbs Also See for M16C/Tiny:
Table of Contents

Advertisement

AD sample interval
Induced
voltage
detection
disable
time counter

2.8 List of Macro definition

Macro name
M_CTRL_TS
M_K_SPEED_AD_REF
M_Sft_SPEED_AD_RE
M_Start_Hz
M_Sft_TURNON_MODE
M_TURNON_MODE_TIM
E
M_THETA_60DEG
M_THETA_360DEG
M_CARR_CNT
M_TURNOFF
M_BOOTSTRAP
M_TURNON
M_RUN
M_INI_DUTY_120
M_MIN_DUTY_120
M_MAX_DUTY_120
M_BOOT_DUTY_120
M_Sft_DUTY_120_TIME
M_BOOTSTRAPSTEP

2.9 List of constant variable

Item
Output pattern switching
table
Zero-crossing interval
counter table
Actual rotation speed
table
PFCR output table for
bootstrap mode
RSBJEUM0001-0101 Rev. 1.01
g_swtime
UINT_16
g_ChkOnCnt
UINT_16
Macro value
Resolution
6711
2^25
6032
2^12
11
419
2^1
15
2^0
1500
2^0
2145
2^11
12868
2^11
4000
2^0
0
2^0
1
2^0
2
2^0
3
2^0
1600
2^15
328
2^15
29488
2^15
3276
2^15
15
2^0
3
Label
Data Type
PFCRTbl[ ]
Tgt_Dlt_Conv[ ]
Dlt_Act _Conv[ ]
PFCRTblBoot[ ]
interval pulse
2^0
Sample once every 16 carrier wave
interrupt
2^0
Counter used to provide a time delay
for
zero-crossing.
Control cycle 0.0002* 2^25
A-D conversion ratio (240*2*pi/1024)* 2^12
Carrier wave cycle 5k, startup rotation speed
Start up time
Pi/3* 2^11
2*Pi*2^11
Carrier wave cycle is 5k
Turnoff work mode
Bootstrap work mode
Turnon work mode
Run work mode
Initial PWM duty
Min PWM duty
Max PWM duty
Bootstrap PWM duty
Bootstrap mode step
UINT_8
Comprise 6 output pattern PWM wave
UINT_8
Convert target rotation speed to
zero-crossing interval pulse
UINT_8
Convert zero-crossing interval pulse to actual
UINT_8
Include three elements for three phase IGBT
detect
a
induced
Description
(0.08*2^15)
( 0.01*2^15 )
( 0.9*2^15 )
( 0.1*2^15 )
Description
rotation speed
circuit charging
voltage
16

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rsbj

Table of Contents