| поискавой системы для электроныых деталей |
|
TDA7590 датащи(PDF) 33 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
TDA7590 датащи(HTML) 33 Page - STMicroelectronics |
|
33 / 40 page ![]() TDA7590 Appendix 1 33/40 movep b1,x:M_CRB0 ENDIF IF 1 ;------------------------------------------------------------------------ ; Enable gpios for TIMER ;------------------------------------------------------------------------ init_gpio ; movep #$000000,x:<<PCRC ; ESSI0 port as GPIO ; movep #$0000ff,x:<<PRRC ; ESSI0 port as OUT Movep #$000000,x:<<PCRD ; ESSI1 port as GPIO Movep #$000000,x:<<PRRD ; ESSI1 port as TIMER(INPUT) ;------------------------------------------------------------------------ ; Initialise Timer ;------------------------------------------------------------------------ init_timer bclr #0,x:M_TCSR0 ; Disable Timer0 bclr #0,x:M_TCSR1 ; Disable Timer1 bclr #0,x:M_TCSR2 ; Disable Timer2 movep #INIT_TCSR0,x:<<M_TCSR0 ; Timer0 enable at mode 0 + reload movep #INIT_TPLR,x:<<M_TPLR ; Initial value of the timer counter movep #INIT_TLR0,x:<<M_TLR0 ; Initial value of the timer counter movep #INIT_TCPR0,x:<<M_TCPR0 ; Number of CLK/2 cycles until a trigger is generated movep #INIT_TCSR1,x:<<M_TCSR1 ; Timer1 enable at mode 0 + reload movep #INIT_TPLR,x:<<M_TPLR ; Initial value of the timer counter movep #INIT_TLR1,x:<<M_TLR1 ; Initial value of the timer counter movep #INIT_TCPR1,x:<<M_TCPR1 ; Number of CLK/2 cycles until a trigger is generated movep #INIT_TCSR2,x:<<M_TCSR2 ; Timer2 enable at mode 0 + reload movep #INIT_TPLR,x:<<M_TPLR ; Initial value of the timer counter movep #INIT_TLR2,x:<<M_TLR2 ; Initial value of the timer counter movep #INIT_TCPR2,x:<<M_TCPR2 ; 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 |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |