| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AN413 bảng dữ liệu(PDF) 27 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN413 bảng dữ liệu(HTML) 27 Page - STMicroelectronics |
|
27 / 45 page ![]() AN413 Examples of ST9 peripheral configurations Doc ID 1875 Rev 2 27/45 .org EXT_IT_VECT ; External interrupt vector ; ************************* WDT_IT: .word TEMPO ; Watchdog Timer interrupt vector .org ADC_IT_VECT ; ADC interrupt vector ; ******************** .word RESET_START ; Analog Watchdog interrupt vector .word ADC_EOC ; End of conv. interrupt vector .org SCI_IT ; SCI interrupt vector ; ******************** .org SCI_IT + 4 ; unused addresses .word REC_DATA ; receiver interrupt .word TRA_HOLD ; Transmitter interrupt ;********************** ;*Start of main module* ;********************** .org 100h ; start of code RESET_START: ld MODER,#11100000b ; CLOCK MODE REGISTER ; internal stack ; no prescaling ; external clock divided by 2 ld CICR,#10000111b ; CENTRAL INTERRUPT ; CONTROL REGISTER ; priority level = 7 ; concurrent mode ; disable interrupt clr FLAGR spp #WDT_PG ld WCR,#wden ; watch dog mode disabled, ; no wait states. ld EIMR,#0 ; mask all channel interrupts. ; at reset,Global Counter Enable ; bit is active. ld SSPLR,#SSTACK + 1 ; load system stack pointer ld USPLR,#USTACK + 1 ; load user stack pointer call INIT_IO ; init I/O ports MAIN: jxt MAIN ; include your Main program here ! |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |