datasheetbank_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

E-TDA7590TR View Datasheet(PDF) - STMicroelectronics

Part Name
Description
View to exact match
E-TDA7590TR Datasheet PDF : 40 Pages
First Prev 31 32 33 34 35 36 37 38 39 40
TDA7590
Appendix 1
movep b1,x:M_CRB0
ENDIF
IF 1
;------------------------------------------------------------------------
; Enable gpios for TIMER
;------------------------------------------------------------------------
init_gpio
; movep
; movep
Movep
Movep
#$000000,x:<<PCRC
#$0000ff,x:<<PRRC
#$000000,x:<<PCRD
#$000000,x:<<PRRD
; ESSI0 port as GPIO
; ESSI0 port as OUT
; ESSI1 port as GPIO
; ESSI1 port as TIMER(INPUT)
;------------------------------------------------------------------------
; Initialise Timer
;------------------------------------------------------------------------
init_timer
bclr #0,x:M_TCSR0
bclr #0,x:M_TCSR1
bclr #0,x:M_TCSR2
; Disable Timer0
; Disable Timer1
; Disable Timer2
movep #INIT_TCSR0,x:<<M_TCSR0
movep #INIT_TPLR,x:<<M_TPLR
movep #INIT_TLR0,x:<<M_TLR0
movep #INIT_TCPR0,x:<<M_TCPR0
; Timer0 enable at mode 0 + reload
; Initial value of the timer counter
; Initial value of the timer counter
; Number of CLK/2 cycles until a trigger is generated
movep #INIT_TCSR1,x:<<M_TCSR1
movep #INIT_TPLR,x:<<M_TPLR
movep #INIT_TLR1,x:<<M_TLR1
movep #INIT_TCPR1,x:<<M_TCPR1
; Timer1 enable at mode 0 + reload
; Initial value of the timer counter
; Initial value of the timer counter
; Number of CLK/2 cycles until a trigger is generated
movep #INIT_TCSR2,x:<<M_TCSR2
movep #INIT_TPLR,x:<<M_TPLR
movep #INIT_TLR2,x:<<M_TLR2
movep #INIT_TCPR2,x:<<M_TCPR2
; Timer2 enable at mode 0 + reload
; Initial value of the timer counter
; Initial value of the timer counter
; Number of CLK/2 cycles until a trigger is generated
;------------------------------------------------------------------------
; Initialise Expansion Port and Flex Memory
;------------------------------------------------------------------------
init_expport
movep #INIT_AAR0,x:EXP_AAR0
; initialise AAR0 control/status reg
movep #INIT_BCR,x:EXP_BCR
; initialise BCR reg
ENDIF
;------------------------------------------------------------------------
; Initialise SCI
;------------------------------------------------------------------------
IF 1
init_sci
movep #$E,x:SCCR_ADR
movep #$7,x:PCRE_ADR
movep #$11b02,x:SCR_ADR
33/40
 

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]