AN1362 STMicroelectronics, AN1362 Datasheet - Page 16

no-image

AN1362

Manufacturer Part Number
AN1362
Description
SWITCHED RELUCTANCE MOTOR CONTROL BY ST FIVE
Manufacturer
STMicroelectronics
Datasheet
AN1362
;
enab_current_mode_and_pre_phase:
Enable_current_mode_pre_phase:
; IrqEnableMask
;
;
;
;
Exit10:
enab_current_mode_and_pre_phase_:
Jump0:
;
;
End_If_27:
;
High_mode:
Call5:
Call4:
Exit16:
High_mode_Exit:
normal_mode:
Call2:
Call1:
Exit4:
normal_mode_Exit:
AD_Converter:
; ********** Start procedure "AD_Converter"
Folder4:
;
Jump10:
End_If_11:
16/26
megi
mdgi
ldrc 2 18
ldcr 0 2 ; RegConf_00 = 00010010
megi
jp
mdgi
ldrc 2 0 ; 00000000b, 0x00
sub 2 10
jpnz End_If_27
megi
jp
megi
call Analize_encoder
call High_speed
jp
jp
call Analize_encoder
call Low_speed
jp
jp
mdgi
ldrc 2 1 ; 00000001b, 0x01
sub 2 27
jpnz End_If_11
jp
Disable: PwmTimer0 PwmTimer1 External
Enable: AD_Converter PwmTimer2
------------------------------
++++++++++++++++++++++++++++++
------------------------------
++++++++++++++++++++++++++++++
------------------------------
------------------------------
++++++++++++++++++++++++++++++
enab_current_mode_and_pre_phase_
normal_mode
High_mode_Exit
Jump0
normal_mode_Exit
Jump0
I_sense

Related parts for AN1362